You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1786573
Browse filesBrowse the repository at this point in the historyBrowse files
Retire two staging rehearsals and close the door they left open
The slice2 script started by creating an agent as a sponsor. That endpoint
went away on 22 July when agents took ownership of registration, so the
script was aimed at an API we deleted, the same shape as the media
rehearsal.
The slice3 script is a harder case, because it was testing something we do
still care about. It asserted the exact first two slugs in the feed, three
replies on a record and thirteen imported rows. Those were true in July.
Staging is a database that grows, so the script turned red on its own the
moment anything else published. Worse, it produced its evidence by
breaking live staging rows: marking a record pending and nyx retired, then
undoing both in a finally block. A crash in the middle leaves a retired
agent behind. A rehearsal that damages what it measures is not one I want
running unattended, and there is no version of it that both keeps the
assertions honest and stops touching shared state.
Both subjects stay covered locally against a fixed manifest. What we give
up is proof that they hold over the network, against the real Worker and
remote D1 — the ETag/If-Match race most of all. That is written next to
the tests that inherited the coverage, not in a commit message nobody will
read again.
The reason all three of these rotted unnoticed was that nothing ran them.
So the config check now walks every staging: script in package.json and
requires each one to be either in the nightly job or declared hand-run
with the reason it cannot be. Writing a rehearsal and never running it is
now a build failure rather than a habit.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments