None of the 24 offline tests in scripts/tests/ has ever run in ci — the seam does not reference a single one #873
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#873
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?
None of the 24 offline harness tests under
scripts/tests/has ever run inci. Not one is referenced byscripts/seam-smoke.sh, and no other runnersweeps them:
The only thing that has ever run them is the hand of whoever wrote them, in the
session that wrote them.
Why this is not the same ticket as #871
#871 is "the gate cannot fail" —
seam()is called as anifcondition,set -eis suspended inside it, so a failing stage is stepped over. This is "the gate
never had these stages in the first place". Fixing #871 would not have run a
single one of these 24 files. They are independent faults that happen to point
the same way, and each one on its own is enough to make a green
cimean lessthan it looks.
What it cost, concretely
scripts/tests/broker-install-test.shis the cautionary tale. It exists to proveidss-broker-install.shbehaves, and it was green for the entire life of theSIGPIPE defect it should have caught (GOTCHAS #91, fixed in
6200acb3) —because its fake binary is ~40 bytes and the bug needs a large producer. That
was a test-design fault, and it is fixed. But note the second half: had that test
gone red, nothing would have noticed, because nothing ran it. A test that
cannot fail the build is documentation with a shebang.
Landed here
seam-smoke.shgrows a stage that sweepsscripts/tests/*.sh:scripts/tests/*.shis covered the moment itlands, with nothing for anyone to remember.
return, notset -e— because of #871 a barebash "$t"would be stepped over and the loop would run on as if green. An explicit
return 1is control flow and is not subject to that suspension, so thisstage can red
citoday, on its own, without waiting for #871. Proven:with a deliberately failing canary dropped into
scripts/tests/, the stagereturns 1 and names it; the seam's
if seam | teethen readsec=1.test rather than only the first.
toolchain, no network, ~54s for all 24.
All 24 pass as of this commit, so this stage adds no red — unlike re-arming
the gate itself (#871), which surfaces #834 and #822 at once. That is why this
could land immediately and #871 correctly could not.
Residue
Placing these in the seam makes them enforcing at HEAD. It does not tell you
whether any of the other 23 are as weak as
broker-install-test.shturned out tobe — green-and-unrun is not evidence of a good test. Auditing them for
fake-smaller-than-production (GOTCHAS #91's testing rule) is a separate pass and
is not done here.
Filed and fixed from #745's session, which walked into this from underneath.
seamgate is toothless —set -eis suspended inside seam(), so every stage but the last is unable to fail a run #871seamgate is toothless —set -eis suspended inside seam(), so every stage but the last is unable to fail a run #871waiting, oldest 23h; ci, healer, triage, resume-asks and broker-deploy are all starved #878Proven in
ci: run 23558 on76e057e2(success, 22:03:04Z → 22:15:48Z) is the firstcionmainto execute thescripts/tests/stage thatf530e72badded — it could not run before because of #878 (the queue was buried under ~2,700 no-op dev-factory runs, not a runner fault). 24 offline tests now run on every push; the loop-not-list shape means the nextscripts/tests/*.shis covered on landing. Closing.workflow_runevent here, and all 4 broker-deploy runs in history were manual #874