Skip to content

test(sweep): the detached-sweep harness passes; correct its header - #766

Merged
scttfrdmn merged 1 commit into
mainfrom
docs/725-harness-header
Oct 9, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
docs/725-harness-header

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

Comments only, no behaviour change.

scripts/hardware-test-detached-sweep.sh opened with "AS OF 2026-10-08 THIS
TEST FAILS, correctly, on #749"
. It no longer fails — it passes 8/8 against
spawn v0.126.0 and the orchestrator Lambda deployed the same day, which is the
first run in which #725's assertions were observable at all (full output on
#725, now closed).

A stale "this fails" banner is worse than no banner: the next person to run it
has no way to tell an expected failure from a new one.

The replacement records the thing that is actually non-obvious — two
conditions must hold at once and only one of them lives in the repo
:

requirement where
CLI seeds ami into the params the Lambda reads #751, shipped in v0.126.0
deployed orchestrator carries the tag fix #726, deployed separately

A Lambda does not upgrade with the CLI — that is #654 — so a regression here is
as likely to be a stale deploy as a code bug. The header now says to check the
deployed function's LastModified against git log -- lambda/sweep-orchestrator/
before hunting for a bug. I had to do exactly that check by hand before
trusting this run.

bash -n clean.

The script's header still said THIS TEST FAILS on #749. It no longer does:
8/8 against spawn v0.126.0 and the orchestrator Lambda deployed 2026-10-08,
the first run in which #725's assertions were observable at all.

Replaces the stale claim with what a future reader actually needs: that two
things must be true at once and only one of them is in the repo. The CLI
must seed the params (#751, in v0.126.0) AND the deployed orchestrator must
carry the tag fix (#726). A Lambda does not upgrade with the CLI (#654), so
a regression here is as likely to be a stale deploy as a code bug — the
header now says to check the deployed LastModified against
'git log -- lambda/sweep-orchestrator/' first.

No behaviour change; comments only. bash -n clean.
@scttfrdmn
scttfrdmn force-pushed the docs/725-harness-header branch from 610bd6e to 8f3a491 Compare October 9, 2026 01:14
@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit 5ddf794 into main Oct 9, 2026
7 checks passed
@scttfrdmn
scttfrdmn deleted the docs/725-harness-header branch October 9, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant