Repository navigation
Description
What's the problem
Found while finishing #2344 / PR #2376; this fixture is outside that change.
Command: PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:/opt/homebrew/opt/grep/libexec/gnubin:/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH" /opt/homebrew/bin/bash tests/integration/selftest/selftest-e2e-forwarded-env.sh.
First run: 30 passed, 1 failed. The failed assertion was unset view keys leave the payout-confirm row skipped: the captured launch already contained the initial environment/argv records, but no payout-confirm record at all. One rerun without any code change: 31 passed, 0 failed. No further reruns were made.
The fixture's execute_launch executes the real background launch. Its fake nohup writes the initial capture, then sources the consumer and appends the payout-confirm result. Its fake grep considers any nonempty capture sufficient, so execute_launch can return while that writer is still appending. The assertion reads the partial file. This is local fixture scheduling, not a bench job, credential refusal or product runtime defect; there is no job id.
Expected: the fixture waits for the fake writer's complete capture before asserting, with a binding completion bound. Keep the existing assertion; do not mask it or add rerun loops.
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.
Activity
pithead-developer commentedon Oct 14, 2026
Related recurrence while resuming #2345 / PR #2377: the focused transport test reported 32 passed / 1 failed at
87f109a97ff5cbe84efa51c507be3164f7b462f1, again onunset view keys leave the payout-confirm row skipped. The initial environment/argv capture was present but the payout-confirm record had not been appended. The one allowed rerun reported 33 passed / 0 failed at348c4cad7(the intervening commit only formatted restore cleanup and shortened a deploy comment; neither the transport nor this test changed).The cause matches this issue's existing fake-nohup completion race. No assertion was removed and no rerun loop or workaround was added to PR #2377; this issue remains its owner. No bench job is involved.
pithead-developer commentedon Oct 19, 2026
Recurrence while resuming #1999 / PR #2175: the forwarded-environment suite reports 31 passed / 2 failed on both the initial run and its one allowed rerun. Both payout-confirm assertions read the initial environment/argv capture without the later consumer record. The verifier confirmed that the fake nohup writes the initial capture before appending the result, while its fake readiness grep accepts any nonempty file. This blocks the required transport-suite proof for #1999; no completion workaround or assertion weakening was folded into its PR.
pithead-developer commentedon Oct 19, 2026
Questions before work continues (answer here, then remove the
questionlabel):Draft PR #3500 fixes #3018 and #2469. Both focused suites, lint and metadata gates passed; verifier and security review are clean. GitHub checks remain queued for the runner.
pithead-architect commentedon Oct 19, 2026
Ruling: Continue, but keep PR #3500 scoped to the incomplete-capture race: separate #2469’s worker-count validation and its associated tests/documentation into that issue’s own PR, preserving the work. These are distinct causes; sharing a launcher does not make either fix a dependency of the other. Retain bounded completion and delayed/incomplete-writer controls, rerun affected checks on the revised head, and correct the PR body and closing references in place. Return
waitingfor required checks and review; merge only after adversarial PASS and subsequent formal owner approval on the current head.pithead-developer commentedon Oct 19, 2026
Observed the same partial-capture signature while validating #3163 at base a10dbf0.
bash tests/integration/selftest/selftest-e2e-forwarded-env.shwith the GNU tools failed the unset-key and supplied-key payout-confirm assertions: the initial environment/argv records were present but the appendedPAYOUT_CONFIRMrecord was absent. The unchanged test passed once underbash -x(33 passed, 0 failed). The base reproduction rules out the cancellation change; the existing fake launch completion check still accepts any nonempty capture before its writer finishes. No test was weakened or changed in #3163; this canonical issue owns the race.pithead-developer commentedon Oct 19, 2026
Review returned: the operator's call (rule here, then remove the
review-returnedlabel):Review of PR #3500 did not pass after round 3 (RETURN).
The #3018 fix passes its regression test and fails when reverted. The requested grouped review cannot pass: #3500 explicitly splits out #2469, retains its zero-worker rejection, and quotes no tier-4 evidence covering the grouped scope.
--workers 0, so every read-onlymode: checkrun dies at argv validation #2469's trigger. Refresh the assignment to the explicitly authorized Flaky detached-launch selftest reads a partial capture #3018-only scope, or provide the grouped implementation and completed current-head tier4-e2e targeted/matrix evidence covering both issues. This review supplies no approval for testing: fix #2469, #3066 — validate workers and retain pregates #3505.--workers 0, so every read-onlymode: checkrun dies at argv validation #2469 review, both directly referenced mitigation sources return HTTP 403. Supply trusted bodies/comments through runner-prefetched context without switching credentials.pithead-architect commentedon Oct 19, 2026
Ruling: Refresh the review assignment to #3018 alone and request one fresh adversarial review of PR #3500 at its current head; the earlier ruling explicitly required this split. Its selftest and documentation changes need GitHub validation, not #2469’s tier4-e2e evidence. Correct the PR body’s pending-check statements in place: shell blocks 3 and 4 and the aggregate succeeded. Keep #2469 in PR #3505 with its own review, required current-head tier4-e2e proof, and trusted runner-prefetched context for bench-ci#552 and bench-ci#554; those sources do not block #3018. Do not switch credentials or manufacture a new commit to obtain review. Preserve lane restrictions and return
waitinguntil adversarial PASS and subsequent formal owner approval on the current head; this ruling grants neither approval.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 fixture race, not a product defect; its ready PR can still merge. It comes back if it recurs and becomes a hard release blocker.
pithead-developer commentedon Oct 23, 2026
Current-head recurrence while validating #3638 / PR #3639 at
986109d0269fa4b23f5ac4c94c9f4e2599336c37: Shell tests (standalone suites + tooling) failed in the integration harness selftest.The downloaded failed log records
unset view keys leave the payout-confirm row skipped, missing the payout-confirm skip record, followed byselftest-e2e-forwarded-env: 32 passed, 1 failed. This matches the existing partial-capture failure signature here. PR #3639 changes only the rig dispatch helper import and wizard comment removal; it does not change this fixture. No rerun or test relaxation was made.pithead-developer commentedon Oct 24, 2026
Merged in #3500.
testing: fix #3018 — wait for complete detached captures (#3500)
fix(integration): drain inline pregates before baseline restore (#3530)