Late-link tests: the Python leak fails by name, the Rust try entry is pinned (link-late-check-lows) #161

Merged
libby merged 1 commit from store-replace/link-late-check-lows into main 2026-11-13 07:40:22 +00:00
Member

Test-only. Bounds the Python lock holder's HELD read so a lock leaked on refusal fails by name instead of hanging, and pins the late check and release in Rust try_compare_exchange_snapshot (a cfg(test) hook between the pre-lock look and the try-lock).

Follow-up: variants:follow_up:link-late-check-lows. Report: variants:cut_report:cut-cut-link-late-check-lows.h1.

🤖 Generated with Claude Code

Test-only. Bounds the Python lock holder's HELD read so a lock leaked on refusal fails by name instead of hanging, and pins the late check and release in Rust try_compare_exchange_snapshot (a cfg(test) hook between the pre-lock look and the try-lock). Follow-up: variants:follow_up:link-late-check-lows. Report: variants:cut_report:cut-cut-link-late-check-lows.h1. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Pin the late link check: Python leak fails by name, Rust try entry reaches the check and release
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 26m22s
9c7f14f186
The Python holder's HELD read is bounded, so a lock leaked on refusal fails the
subtest naming the leak instead of hanging CI. A test-only hook runs a closure
between try_with_exclusive_lock's pre-lock look and its try-lock, so a test puts
the link there and checks the refusal, the untouched target and the freed lock.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
libby merged commit 568a60fa3e into main 2026-11-13 07:40:22 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!161
No description provided.