Repository navigation
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:
|
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.