Repository navigation
fix(storage): gate the lock-identity probe to unix so windows builds again - #725
Merged
Merged
Conversation
…again #718 keyed the in-process hold registry by (dev, ino) through std::os::unix::fs::MetadataExt without a cfg gate; tole-core stopped compiling on x86_64-pc-windows-msvc (E0433 os::unix, E0599 dev/ino), which failed the v0.11.0 release train's windows job while every other target stayed green. Windows has no fork, so the transient duplicate of a closed descriptor (#552, #712) cannot occur there: the probe returns None, a self-pid hold stays a real hold, and the retry never fires — the pre-#718 behavior. Unix behavior is unchanged.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Nov 14, 2026
ajianaz
added a commit
that referenced
this pull request
Nov 14, 2026
## What Release sync for v0.11.0 as ONE squash commit on a main-based branch: main + the develop delta (release prep #723/#724 and the storage fix #725). The commit's tree is identical to develop's tree (verified: git diff of the two trees is empty), so the tagged tree equals the fully validated tree. ## Why The first v0.11.0 run (tag on e833469) failed x86_64-pc-windows-msvc: #718's std::os::unix::fs::MetadataExt use had no cfg gate, so tole-core did not compile on Windows (run 43574225374). #725 gates the probe (Windows returns None; no fork there, so the transient-duplicate retry never applies) and is on develop with 15/15 checks green. A merge-commit sync (#727, closed) trips the message-standard check on 17 pre-ban Co-authored-by trailers still in develop's v0.9/v0.10 history; a direct develop->main PR (#726, closed) conflicts after the #724 squash merge. The one-commit squash on a main-based branch carries the same content with none of those problems. ## Testing - [x] PR #725 (the fix): 15/15 checks green on develop - [x] Local cargo check + storage tests 4/4; cross-check vs x86_64-pc-windows-msvc shows no tole-core errors - [x] This branch's tree == develop tree (content parity proven) - [ ] This PR's CI green, then re-tag v0.11.0 to the new main HEAD Co-authored-by: ajianaz <[email protected]>
This was referenced Nov 14, 2026
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.
What
Gate the #718 lock-identity probe (
std::os::unix::fs::MetadataExt, dev/ino) behind#[cfg(unix)]; on non-unix it returnsNone.Why
tole-corestopped compiling onx86_64-pc-windows-msvc(E0433os::unix, E0599dev/inoatstorage.rs:1169), which failed the v0.11.0 release train's Windows build job (run 43574225374) while Linux×2 and macOS stayed green. Windows has no fork, so the transient duplicate-of-closed-descriptor retry (#552, #712) cannot occur there —Nonerestores the pre-#718 behavior where a self-pid hold is a real hold. Unix behavior unchanged.Testing
cargo check -p tole-corecleancargo test -p tole-core --lib storage4/4 passed