You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Session lost after battery shutdown + update — no rollout persisted for resumable session #19037
A resumable session should have an append-only checkpoint before it reaches any long-lived terminal state.
When usage limit is hit, write and flush a stable record with session id, cwd, model, last completed turn id, limit/error state, and source file path. Then shutdown/update recovery can list the session even if no later assistant turn is accepted.
The missing rollout is the hard part to diagnose after the fact.
Activity
github-actions commentedon Apr 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ildeb commentedon Apr 22, 2026
Regarding the potential duplicate suggested above (#18690):
This does not appear to be the same issue.
The linked issue describes rollout files not being written until the first API turn completes (i.e. very early in the session lifecycle).
In my case:
Given that rollout files are written after the first API turn, a rollout file should already have existed long before shutdown.
The absence of any rollout file suggests a failure in persistence after an established session, not a delay in initial rollout creation.
This appears to be a different and more severe failure mode, as it results in complete loss of a progressed session.
ildeb commentedon Apr 23, 2026
Not sure if this is directly related, but this issue was automatically linked to #19081 (macOS app crash on long tasks).
In my case:
However both cases seem to involve long-running sessions and possible state persistence problems.
Necmttn commentedon Jun 21, 2026
A resumable session should have an append-only checkpoint before it reaches any long-lived terminal state.
When usage limit is hit, write and flush a stable record with session id, cwd, model, last completed turn id, limit/error state, and source file path. Then shutdown/update recovery can list the session even if no later assistant turn is accepted.
The missing rollout is the hard part to diagnose after the fact.
Generated with ax.