Repository navigation
test-lints.test.py stalls just check on a busy host - #8529
Conversation
Quest-Claim: 9b7ec6a404033f05
test_fail_fast_environment_reaches_nextest ran its 20 nested `just rs test` and `sh/rs/nextest.sh` invocations without LOCAL_SUPERVISED=1, so each one waited on `quest gate` for host room. On a busy host the script stalled for minutes. Set it as the clippy probe already does. Caused by #7844. Also deletes the finished quest quest/m0/test-lints-hang.md. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. WalkthroughThe TestLints fixture now sets Merge Risk:
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Fail-fast fixture skips host admission:
test_fail_fast_environment_reaches_nextestnow setsLOCAL_SUPERVISED="1", so its nestedjust rs testandsh/rs/nextest.shruns exec directly instead of waiting onquest gate, matchingtest_clippy_warning_fails_test_build. - Finished quest removed:
quest/m0/test-lints-hang.mdis deleted, with no remaining inbound links anywhere in the tree.
I verified the bypass does not move what the test asserts: sh/local.sh execs directly on LOCAL_SUPERVISED == 1 and still exports NEXTEST_TEST_THREADS before that branch, sh/local.ts only injects LOCAL_SUPERVISED into the child env without touching arguments or exit codes, and sh/rs/nextest.sh's NEXTEST_NO_FAIL_FAST handling is untouched. The stall only ever affected local runs, since sh/local.sh already bypasses admission when GITHUB_ACTIONS=true.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

Problem
sh/rs/test-lints.test.pyhas a fail-fast test that runsjust rs testandsh/rs/nextest.shagainst a probe crate across 18 subtests. Its env did not setLOCAL_SUPERVISED, so each nested run went throughsh/local.shand waited onquest gatefor host room. On a busy host the test stalled, which stalledjust check. Before the fix, the test timed out at 240 s.Approach
Set
LOCAL_SUPERVISED="1"in the test's env, the same waytest_clippy_warning_fails_test_buildalready does. The nested runs execute directly, and the fail-fast behavior under test is unchanged.This PR also deletes the finished quest file
quest/m0/test-lints-hang.md.Impact
None: no public API or wire change.
Alternatives
quest gateskip inside tests. That changes gating for every caller, when only this test's nested runs need to skip it.Follow-ups
None.
Validation
python3 sh/rs/test-lints.test.pytimed out at 240 s (EXIT=124).just check: EXIT=0, run before the quest file was deleted.just cion the committed head: EXIT=0 in 378 s, includingpython3 sh/rs/test-lints.test.py(Ran 2 tests, OK).Caused by
LOCAL_SUPERVISED, so its nested runs waited onquest gateModels
Size: XS
Implementer: Claude, claude-haiku-5-5, xhigh effort
🤖 Generated with Claude Code
(Written by Claude Haiku 5.5 with xhigh effort)
Review
Rewritten by
quest reviewafter each round.01a1cd6a-dadc-7161-8892-0481f2153ebd, round 1The environment override directly addresses the documented stall with minimal scope, preserves the nextest assertions, and matches the existing Clippy fixture; builds and tests were not run, as instructed.