Repository navigation
Retry Windows persona file publication on a sharing violation - #161
Merged
joelteply merged 6 commits intoNov 24, 2026
Merged
Conversation
Author
|
Independent review of 71d7926 asked whether this retry can block active decode. The sole production block-file writer in the tested Continuum tree is driver.rs:547. Its caller chain is Submission::Suspend → suspend → preserve → write_file. Ordinary persona switches never enter it. The two-second deadline is a ceiling. The transient-lock replay released its reader after 160 ms. The persistent-lock replay returned in 2,015 ms with the previous file intact. The entire real 65-module shutdown took 560 ms. That run did not measure the lifetime or identity of the individual handle. Codex owns follow-up AIRC card 86f4b354-ae45-454c-8a1a-d756ce11d5ce. |
joelteply
marked this pull request as ready for review
November 23, 2026 23:29
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.
Windows resident shutdown could finish writing a native block file and then lose the new generation when another reader briefly prevented renaming the temporary file. Retry the atomic move for up to two seconds on a Windows sharing violation. All other failures return immediately.
On the 5090 the prior executable reported native save failures on repeated shutdowns. The candidate saved both resident files in the same generation and all 65 modules acknowledged durable shutdown. The core restarted on the same candidate digest D5A3FD6F. A scratch replay reproduced the old sharing failure, published the original bytes after releasing the reader, and retained the previous file when a reader held the lock beyond the deadline.