A check that fails writes one sentence, and it is the least useful one available: check failed: check exited with code 1 (src/checks/service.ts:287-290). That sentence is what the pull shows, what the studio's ask card repeats, and what the crew's decider reads when it judges whether another try is worth the money.
It cost a planning run to find out that pull #271 (issue #255, parked) failed on exactly one thing:
1 tests failed:
(fail) the forge's own restart never reads as this deploy's failure (issue #255) > an install still in flight when the runtime stops finishes cancelled, not failed [30000.49ms]
^ this test timed out after 30000ms.
409 pass
1 fail
None of that reached the issue. The park comment a person reads says only "the check failed and the decider saw no point in another try". #270 asks for the same thing on the deploy side; this is its twin on the check side.
Done looks like
Files I expect to change
src/checks/service.ts, a small module beside it for reading an outcome out of a log's tail, src/crew/dispatch.ts, test/checks.test.ts.
Risks
A log's tail is untrusted text on its way to a page: keep the length bound and the escaping that summaries already get, and do not let this become the one place that interpolates it raw. Do not parse for meaning beyond the name and the counts — a summary that guesses why a test failed is worse than one that names it.
A check that fails writes one sentence, and it is the least useful one available:
check failed: check exited with code 1(src/checks/service.ts:287-290). That sentence is what the pull shows, what the studio's ask card repeats, and what the crew's decider reads when it judges whether another try is worth the money.It cost a planning run to find out that pull #271 (issue #255, parked) failed on exactly one thing:
None of that reached the issue. The park comment a person reads says only "the check failed and the decider saw no point in another try". #270 asks for the same thing on the deploy side; this is its twin on the check side.
Done looks like
Files I expect to change
src/checks/service.ts, a small module beside it for reading an outcome out of a log's tail,src/crew/dispatch.ts,test/checks.test.ts.Risks
A log's tail is untrusted text on its way to a page: keep the length bound and the escaping that summaries already get, and do not let this become the one place that interpolates it raw. Do not parse for meaning beyond the name and the counts — a summary that guesses why a test failed is worse than one that names it.
Suggested: Scout.