Skip to content

fix(core): device root survives Windows' rename refusal (#1053) - #7

Merged
leonardoxr merged 3 commits into
mainfrom
fix/windows-android
Oct 30, 2026
Merged

leonardoxr merged 3 commits into
mainfrom
fix/windows-android

Conversation

@leonardoxr

Copy link
Copy Markdown
Owner

Device-root race fix found while joining the Windows worker, plus the core manual budget; also on callstackincubator#1053.

leonardoxr and others added 3 commits October 29, 2026 22:11
…ows' rename refusal

Two daemons starting at once both stage a device root and rename it into
place. On POSIX the loser's rename fails EEXIST or ENOTEMPTY, and it
validates the winner's root. Windows refuses with EPERM (or EACCES), so
the loser refused its own root as `unreadable` and ran without that
platform. Seen live: a `simlock status` auto-launch raced a scheduled
`daemon start`, and the surviving daemon had no Android driver.

An EPERM or EACCES from that rename is now a lost race when the root is
there afterwards, and the root is validated as usual; with nothing there
it is still refused.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@leonardoxr
leonardoxr merged commit eaaeb42 into main Oct 30, 2026
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