Skip to content

Fall back safely when workspace recovery is damaged - #2

Merged
Awetspoon merged 2 commits into
mainfrom
fix/recovery-null-manifest-entry
Dec 3, 2026
Merged

Awetspoon merged 2 commits into
mainfrom
fix/recovery-null-manifest-entry

Conversation

@Awetspoon

@Awetspoon Awetspoon commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

The draft covers two reproduced cases: null entries in the newest recovery manifest and a non-empty recovery layout that cannot open in the editor. Startup now selects a copy only after every workspace in it can load, and tries an older copy if the newest one fails. If none can load, it keeps them on disk, avoids deleting or overwriting them in that session, and asks the user to save new work manually.

Windows verification: 51 domain checks and 562 app smoke checks passed locally, including the fallback and retained-files cases. This remains a draft; no merge or release is part of this update.

Reject a missing workspace entry before dereferencing it so the previous complete recovery snapshot remains available. Cover the fallback in the recovery smoke tests.
@Awetspoon Awetspoon changed the title Fall back from incomplete workspace recovery manifests Fall back safely when workspace recovery is damaged Dec 3, 2026
@Awetspoon
Awetspoon marked this pull request as ready for review December 3, 2026 10:37
@Awetspoon
Awetspoon merged commit abcef67 into main Dec 3, 2026
1 check 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.

1 participant