Skip to content

Retry the separate-writer lock test until the lease is really released - #14

Merged
mohsen1 merged 3 commits into
mainfrom
fix/writer-lock-retry
Oct 24, 2026
Merged

mohsen1 merged 3 commits into
mainfrom
fix/writer-lock-retry

Conversation

@mohsen1

@mohsen1 mohsen1 commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Retry the separate-writer lock test until the lease is really released.

Another test in the same process can spawn git while the worker holds the
lease, and the child keeps an inherited copy of the lock descriptor until its
exec. The first retry then still sees the lock taken. The Proofline monorepo's
main CI failed on this at 202a60ac and 9c4dacb0.
The test is synchronous, so there is no runtime to block; park_timeout only
waits between retries, and a spurious wake costs one extra retry.
cargo deny's advisories check fails every pull request on the AsyncFd I/O
safety advisory against tokio 1.53.1.
@mohsen1

mohsen1 commented Oct 24, 2026 •

Copy link
Copy Markdown
Member Author

The check also failed cargo deny on the new advisory RUSTSEC-2026-0386 (tokio AsyncFd I/O safety). That would fail any PR in this repo. ec0299a updates tokio from 1.53.1 to 1.54.1 in Cargo.lock. The lock-retry test passed in the previous run.

@mohsen1
mohsen1 merged commit 835c3cb into main Oct 24, 2026
5 checks passed
@mohsen1
mohsen1 deleted the fix/writer-lock-retry branch November 3, 2026 06:55
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