Repository navigation
Conversation
6 of 9 tasks
Member
Author
|
Consolidated into #5917. All commits and tests are retained there; this duplicate review thread is closed without merging into develop. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #732, #3500, #645. Part 3 of the startup recovery series.
Summary
Keep window metadata separate from the latest unsaved document contents. Add typed metadata/recovery codecs and isolated storage under the actual user-data directory, with serial atomic replacement, corruption/unknown-version read-only protection, and per-window recovery lookup. Invalid individual windows do not prevent valid windows from loading. Unknown editor fields are not copied into metadata.
Each document overwrites one recovery record. Saved/discarded markers survive an interrupted metadata commit; deletion is serialized with subsequent writes and rejects dirty records. The storage does not infer windows from historical snapshots or decide when a document has been saved/discarded. Runtime checkpoint ordering and document lifecycle are implemented in part 4.
Type of change
Test plan
Notes for reviewers
Depends on #5913. This branch includes its prerequisite commits so it builds independently while all PRs target develop. Review this part alone at feat/startup-01-contracts...feat/startup-03-storage .
The new stores are not yet wired into default application startup. Original user files and legacy snapshots are not migrated or deleted. Design and issue-coverage documents remain in the agreed desktop folder, outside the repository. Related issues are regression references, not closing claims at this stage.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.