test(rate): pin the half of the cut-run fix that stops the work #338
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!338
Loading…
Reference in a new issue
No description provided.
Delete branch "qa/cut-run-stops-calling"
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?
Verifying #327 by mutation rather than by reading it. The fix is correct; one of its two halves is untested.
e2249dcdoes two things: the dataset survives a cut run, and the loop stops calling the model once the context is cancelled.TestRateEmitsWhatItMeasuredWhenTheRunIsCutcovers the first.It passes with the loop break removed
instantCompletionsnever blocks, so a run that ignores the cancellation finishes every case instantly, still ends with a non-nilctx.Err(), and still writes a dataset with provenance. Every assertion in the existing test holds.Measured with a counting client:
Why this half is the one that matters operationally
The commit exists because a wedged route cost ten minutes. Without the break, a cancelled run pays that wait once more per remaining case — the interrupt stops being an escape and becomes a delayed exit. The dataset would still be written, so the visible symptom the existing test guards would look fine while the operator waits.
The test
A
countingCompletionsclient and one assertion: a cancelled run makes zero model calls. Verified by removing the break, which now fails witha cancelled run made 2 model calls, want 0.Tests only. No production code changes.