Skip to content

fix: retry Windows lock scans during owner handoff - #180

Merged
smiggleworth merged 2 commits into
developfrom
release/050-cli-lock-handoff
Oct 10, 2026
Merged

smiggleworth merged 2 commits into
developfrom
release/050-cli-lock-handoff

Conversation

@smiggleworth

@smiggleworth smiggleworth commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

On Windows, a contender scanning a lock while its previous owner removes it can receive EPERM from scandir and fail before generating output. The repeated four-writer generator probe reproduced the native error on the merged unique-owner lock protocol. Retry that specific scan failure within the existing ten-second acquisition deadline; persistent denial retains its native cause and owner record. Other filesystem errors propagate.

Validation: four deterministic file/directory transient and permanent-denial cases fail against immutable pre-fix source; 406 unit cases and all main release checks now pass locally. The repeated probe verifies 200 serialized publications, complete final bytes, all successful writers and no abandoned lock or stage after each batch. Packed TypeScript 6.0.3/7.0.2 checks retain two names, reject nine removed imports and 15 private paths. Templates, peer floor, production audit and all 22 unchanged performance gates are checked separately. The original PR/merge failure and diagnostic-head failure remain archived; no same-head retry or budget change.

Refs #159. No versions, dependencies, public surface, ownership protocol or publication-record changes. HTTPS response cleanup, the frozen candidate graph/site and maintainer review still gate release.

@smiggleworth smiggleworth changed the title test: diagnose contended publication rejection on Windows fix: retry Windows lock scans during owner handoff Oct 10, 2026
@smiggleworth
smiggleworth marked this pull request as ready for review October 10, 2026 04:08
@smiggleworth
smiggleworth merged commit 751ed86 into develop Oct 10, 2026
10 checks passed
@smiggleworth
smiggleworth deleted the release/050-cli-lock-handoff branch October 10, 2026 04:08
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