Skip to content

Retry Windows daemon release publication on transient file locks - #50782

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4fbd50934ec8937d3b440d38203a2cb7356a316d
Oct 4, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4fbd50934ec8937d3b440d38203a2cb7356a316d

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Retry Windows daemon release publication on transient file locks

Why

Executable scanners can briefly hold newly staged files without delete sharing, causing the rename that publishes a managed daemon release to fail on Windows.

What changed

Retry publication on permission-denied or sharing-violation errors at 50 ms intervals, up to 100 retries. Report the staging and release paths if publication fails.

Testing

Add a Windows test that holds the staging directory open without delete sharing, releases the handle after a delay, and verifies that publication succeeds with the payload intact.

)

## Why

Executable scanners can briefly hold newly staged files without delete sharing, causing the rename that publishes a managed daemon release to fail on Windows.

## What changed

Retry publication on permission-denied or sharing-violation errors at 50 ms intervals, up to 100 retries. Report the staging and release paths if publication fails.

## Testing

Add a Windows test that holds the staging directory open without delete sharing, releases the handle after a delay, and verifies that publication succeeds with the payload intact.

GitOrigin-RevId: 4fbd50934ec8937d3b440d38203a2cb7356a316d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/4fbd50934ec8937d3b440d38203a2cb7356a316d branch from be97c93 to d075963 Compare October 4, 2026 04:01
@copyberry
copyberry Bot merged commit d075963 into main Oct 4, 2026
2 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/4fbd50934ec8937d3b440d38203a2cb7356a316d branch October 4, 2026 04:01
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 4, 2026
@IssacSchulz
IssacSchulz deployed to issue-triage October 4, 2026 04:06 — with GitHub Actions Active
@IssacSchulz
IssacSchulz deployed to issue-triage October 4, 2026 04:06 — with GitHub Actions Active
@IssacSchulz
IssacSchulz deployed to issue-triage October 4, 2026 04:06 — with GitHub Actions Active
@jwhodges8
jwhodges8 deployed to issue-triage October 4, 2026 04:23 — with GitHub Actions Active
@jwhodges8
jwhodges8 deployed to issue-triage October 4, 2026 04:23 — with GitHub Actions Active
@jwhodges8
jwhodges8 deployed to issue-triage October 4, 2026 04:23 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — d0759639 Deployed Oct 4, 2026 by jwhodges8 via Identify potential duplicates (all issues) #51584
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants