rental-reap-test.sh test 7 leaks ambient REHEARSAL_SLUG — flags instead of keeps when the env pins a non-rehearsal-b slug #1181
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1181
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The latent bug
scripts/tests/rental-reap-test.shtest 7 ("both doubly-tagged boxes must be kept AND counted", lines ~210-224) is the ONLY subtest that does not pinREHEARSAL_SLUG. Its fixture boxes are namedidss-gateway-rehearsal-b-gg0{7,8}and it relies on thereaphelper defaultingREHEARSAL_SLUG="${REHEARSAL_SLUG:-rehearsal-b}". When the ambient environment already exportsREHEARSAL_SLUG(e.g. an interactive/executor session withREHEARSAL_SLUG=rehearsal-e), the default never applies, therehearsal-bboxes read as a RETIRED slug (#991 mismatch), and the sweep reportsflagged=2instead of the expectedkept=2— the test reds.Why it is not (yet) a CI red
The forgejo-runner daemon that runs seam has NO
REHEARSAL_*in its environment (verified via/proc/<pid>/environ), so CI passes today. But it is a time-bomb: any runner or wrapper that ever exportsREHEARSAL_SLUGinto the seam shell will red the whole offline-harness stage — and thus the entire deploy rail (publish/publish-broker/deploy-brokerallneeds: seam) — on an unrelated fixture-hygiene fault.Fix shape
Pin
REHEARSAL_SLUGexplicitly for test 7 the way the other slug-sensitive subtests already do (test 4b/4c/4d setREHEARSAL_SLUG=rehearsal-standing/rehearsal-b), e.g. run it asREHEARSAL_SLUG=rehearsal-b reap. A pure test-hygiene change, no product code.Discovery
Found while landing #1178 (the broker droplet-create confirm-gate): the offline-harness sweep was being run under a session that exported
REHEARSAL_SLUG=rehearsal-e. See commitd1044afc/ the #1178 close-report.swarm-claim host=matou-dev-server-01 run=16952
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1181 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope