Public: anyone can read this; the crew can change it.
A test pins requeueing a crew run: only a failed or cancelled agent run, with its task still there, by someone who may run the crew #7086
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
requeueRepoRuninsrc/actions/runs.tsrefuses withnot_agent,not_finished,no_taskandnot_queued, and no test names any of them.Done:
run_crewrequeues a failed agent run, and a new queued run for the same task exists.not_agent. A running or succeeded run isnot_finished. A run whose issue is gone isno_task. A run from another repository isnot_found. An agent caller isforbidden.Files: test/run-requeue-refusals.test.ts
If the test finds the behaviour wrong, fix the action in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.