Skip to content

fix: recover from interrupted session restores - #260

Merged
alecdotdev merged 4 commits into
alecdotdev:masterfrom
PathGao:codex/recover-interrupted-session-restore
Jul 29, 2026
Merged

fix: recover from interrupted session restores#260
alecdotdev merged 4 commits into
alecdotdev:masterfrom
PathGao:codex/recover-interrupted-session-restore

Conversation

@PathGao

@PathGao PathGao commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #259.

Summary

  • Mark automatic session restoration as in progress before restored tabs are read and rendered.
  • Clear the marker after normal completion or a handled restore failure.
  • On the next startup after an interruption, discard only the saved-tab snapshot and start normally; user documents are untouched.

Validation

  • node --test --import tsx scripts/interruptedSessionRestore.test.ts
  • npm run check

@PathGao
PathGao force-pushed the codex/recover-interrupted-session-restore branch 2 times, most recently from 69ebe22 to 5e44133 Compare July 28, 2026 05:46
@PathGao
PathGao force-pushed the codex/recover-interrupted-session-restore branch from 4fd6f46 to dcfdeb9 Compare July 29, 2026 07:06
@PathGao

PathGao commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

@alecdotdev This branch has been rebased onto the latest #258 branch and force-pushed; the merge conflict is resolved. Validation passed: node --test --import tsx scripts/interruptedSessionRestore.test.ts scripts/windowStateRestore.test.ts and npm run check. Please merge in this order: #254#258#260#266.

@alecdotdev
alecdotdev merged commit c70a3f2 into alecdotdev:master Jul 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: recover from an interrupted restored session

2 participants