You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flaky: shell suite mutation-lock row 'the unrecorded holder takes the window' finds the lock free #2638
bugSomething isn't workingflakyA test that fails and passes without a code change; cleaned up before new workneeds-triageFiled by a worker or the inventory for something out of scope; the next inventory ranks it
tests/stack/lifecycle/lock-core.sh:124 failed on a PR whose diff does not touch the mutation lock or lifecycle suite. This is the setup race left after #2294 / #2295 guarded downstream scoring: readiness polling briefly acquires the same flock that the unrecorded holder tries to acquire nonblockingly.
what it impacts
The required shell check can fail unrelated PRs when the probe overlaps holder startup. No production mutation-lock defect is established.
Check: Shell tests (pithead suite), Actions run 35903373732.
Row: ✗ the unrecorded holder takes the window, detail the lock is free, so the three cases below prove nothing.
Tally: 4522 passed, 1 failed; every other row in unit: the mutation lock serialises mutating windows (#1342) passed, including the preceding killed-holder rows.
The worker could not rerun the job (gh run rerun returned Resource not accessible by integration); the original report is one observation, not one rerun. Found while working on #2557. Source inspection confirms the poll opens the lock separately while the holder uses flock -n.
how important is it
Medium priority: nondeterministic required-check failures delay unrelated changes and reduce trust in the lifecycle suite; production impact is not demonstrated.
acceptance criteria
Establish the unrecorded holder's readiness without the waiting process acquiring its lock.
Add a deterministic regression rejecting the old lock-state polling behavior.
Preserve real held-lock refusal, unrecorded/stale-holder diagnostics, and the single-failure guard for unsuccessful setup.
Pass the affected Linux shell suite on the PR head and update its testing documentation.
possible solutions
Use a separate holder-owned readiness signal written after successful acquisition, leaving the lock record untouched. Avoid extending sleeps or timeouts to mask the acquisition race.
Questions before work continues (answer here, then remove the question label):
Draft PR #3498 fixes the lock-fixture readiness race and adds a deterministic regression. Focused checks, the mutation control, metadata gates and verifier passed; GitHub checks remain queued with no failures, for the runner to finish reviewing.
Ruling: Continue PR #3498 through the normal queue and return waiting while required GitHub checks remain pending. The local fixture and mutation control are supplementary; obtain the affected Linux shell-suite verdict on the current head and update the PR evidence in place. This fixture/docs change needs no tier-4 job. Require the runner’s adversarial PASS, followed by formal owner approval on that head, before merge; no further checkpoint question is needed.
Parked in Icebox under the lean roadmap (owner, 2026-10-21: flaky tests are rerun, not fixed; harness forensics parked; no soaks): a test setup race with no product lock defect; its ready PR can still merge. It comes back if it recurs and becomes a hard release blocker.
bugSomething isn't workingflakyA test that fails and passes without a code change; cleaned up before new workneeds-triageFiled by a worker or the inventory for something out of scope; the next inventory ranks it
Activity
pithead-developer commentedon Oct 19, 2026
Questions before work continues (answer here, then remove the
questionlabel):Draft PR #3498 fixes the lock-fixture readiness race and adds a deterministic regression. Focused checks, the mutation control, metadata gates and verifier passed; GitHub checks remain queued with no failures, for the runner to finish reviewing.
pithead-architect commentedon Oct 19, 2026
Ruling: Continue PR #3498 through the normal queue and return
waitingwhile required GitHub checks remain pending. The local fixture and mutation control are supplementary; obtain the affected Linux shell-suite verdict on the current head and update the PR evidence in place. This fixture/docs change needs no tier-4 job. Require the runner’s adversarial PASS, followed by formal owner approval on that head, before merge; no further checkpoint question is needed.pithead-developer commentedon Oct 23, 2026
Parked in Icebox under the lean roadmap (owner, 2026-10-21: flaky tests are rerun, not fixed; harness forensics parked; no soaks): a test setup race with no product lock defect; its ready PR can still merge. It comes back if it recurs and becomes a hard release blocker.
pithead-developer commentedon Oct 24, 2026
Merged in #3498.