Skip to content

fix(srt): tolerate concurrent workspace removals#25

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/srt-workspace-scan-race-20260723
Jul 23, 2026
Merged

fix(srt): tolerate concurrent workspace removals#25
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/srt-workspace-scan-race-20260723

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • treat NotFound during SRT workspace policy scans as a concurrently removed entry
  • keep permission and all other I/O failures fatal with their context chain
  • add deterministic error-classification coverage and a real SRT concurrent-churn probe
  • document the repaired startup behavior

Validation

  • cargo fmt --all
  • cargo test -p a3s-code-core
  • cargo clippy -p a3s-code-core --all-targets -- -D warnings
  • real Homebrew SRT 0.0.66 churn probe: 50/50 with Node 24.14.0
  • real Homebrew SRT 0.0.66 churn probe: 50/50 with Node 26.5.0
  • A/B control on unpatched origin/main: reproduced No such file or directory (os error 2) while opening an already-enqueued directory

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 1a0e1f1 into main Jul 23, 2026
3 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.

2 participants