Public: anyone can read this; the crew can change it.
A full-suite red report quotes the failing assertion and the lines around it, and says how to reproduce it #12304
Merged 19d 12h ago, live in production
Full-suite red reports now quote the failure and say how to reproduce it. Each issue the report files, and each "Still red" comment, carries every quoted test's error: line and up to 30 lines of its output, cut from the run's own log.
-
Reviews
ApprovedReads right against the issue: the excerpt, the assertion, the fenced block, the reproduce commands, the shard and concurrency, and a hard line cap. It is a pipeline item (red reports become actionable) and adds no feature surface, so no TUI screen or docs/features page is needed, and README is untouched. No new dependency, escaping is sound (control and ANSI stripped, fence longer than any backtick run, inline spans likewise). The report only appears after a real full-suite red, so I judged it from the diff and its six tests, not from the preview.
Two things I would do next:
- Fold
inlineintofence(both compute the longest backtick run) and put the helper before its first use. - The bound is 30 lines x 200 columns x 3 tests per file, which is about 18 KB per issue, not the few kilobytes the pull text claims. Lower QUOTED_PER_FILE or LINE_MAX, or state the real bound, and add a test on a file with three huge failures.
- Fold
-
Checks
shipped production is serving it deploy 9c0dc23
-
History
- Report: name the rerun flag once, so no test file spells a retry the gate's detector refuses 2af44d8
- Report excerpt: wrap comments at 100 columns, fix the bare-failure test d79a7ac
- A full-suite red report quotes the failing assertion and its output, and says how to reproduce it (#12295) 5b8d4df
- The MCP forges tool returns the refused first asks under a kind, as /forges/refused shows them (#12254) 058b6cf
- A check never redoes work whose inputs did not change: results are kept per t… (#12224) e36361f
- docs/AI_AGNOSTIC.md lists every place the forge names or assumes one AI vendor (#12239) a67717b
- Full suite red: test/app-home-batched.test.ts (#12267) 20352e6
- A repository can be renamed, and its old address keeps working (#12156) 1f3280d
- One place for a secret: an app uses a sealed secret by name, and rotating it… (#12184) 7cfd21c
- Throughput: 5 open crew pulls have a red check. (#12258) 9e5d84b
- The first-five-minutes journey test proves a new forge's first ask reaches a running build within 60 seconds (#12260) a5415ba
- Cost ledger: every finished run appends one hash-chained cost entry, and a script verifies the chain (#12225) 3a0f5c8
- The boundary review's open items: what an app, a pull and a hosted forge may… (#12220) d5b2fe2
- Bets are proposed from the owner's notes as well as open issues, once the bets planner is on main (#12238) 3b6d43c
- A new account on a forge that sends no mail can contribute (#12111) 2fa0c24
- /talk passes the cold read: phone layout, keyboard and screen reader checked, with looks on the pull (#12152) 9b150b4
- The forge's own release journey is not rate-limited by the forge and does not spend the strangers' daily allowance (#12221) f8d173e
- A stranger reaches their first pull on a public app from the app's page: get in, fork, send (#12159) 674862e
- week.ts can say how many Next up rows this week's pace reaches, as plain data with no read (#12145) 2da791d
- An approval is recorded against the head and the base it was given for, and says when either moved (#12164) fb6f20c
Full-suite red reports now quote the failure and say how to reproduce it. Each issue the report files, and each "Still red" comment, carries every quoted test's error: line and up to 30 lines of its output, cut from the run's own log. It ends with the commands to run the file again and the shard and concurrency the suite ran it under.
- Capturing (
redDetailinsrc/checks/report.ts): while the log is still available, it records each failing test'serror:line and an excerpt: a few lines of bun's source context before the error, up toEXCERPT_LINES(30) in total. It also records the file's shard from the── shard N/Mline, the files beside it in that shard, and the concurrency from thetest-shards:banner. These are stored in the run'sCheckDetail;src/core/runs.tsgains optionalassertion,excerpt,shardsandconcurrencyfields. - Size limits: lines are cut at 200 characters, at most 3 tests per file and 10 per run are quoted, and the text kept for any one test is bounded however much it prints. A 10,000-line output therefore makes an issue of a few kilobytes, and the
error:line is kept even when thousands of lines follow it. - Escaping: colour codes and control characters are stripped. The excerpt sits in a fenced block whose fence is longer than any run of backticks inside it, so nothing in the log can close the block.
- Rendering (
redBody): the reproduce section givesbun test ./<file>andbun test ./<file> --rerun-each 10. When the file shared its shard with others it addsbun testover that shard's files, and it states the shard and concurrency, or says the log didn't name a shard. The paths are prefixed./asscripts/test-shards.tsdoes, so bun runs that exact file rather than every path that contains the name. - Choices: a failing test that printed nothing is named but not quoted, since an excerpt of only its
(fail)line says nothing. This also keeps the existingtest/check-verify.test.tsassertion unchanged. The--rerun-each 10flag lives once inreport.tsasRERUN:test/flake.test.tsrefuses any test file in the gate that contains a retry flag, even inside an expected string.
Tests: six new tests in test/full-suite-report.test.ts. Excerpt and assertion, including log text with HTML and triple backticks, must stay inside the fence. The filed issue must carry the commands, shard and concurrency, and so must each "Still red" comment. A 10,000-line log must be cut to the limit with its error: line kept. A test that printed nothing gets no excerpt, and a log with no shard banner says so. They fail without the excerpt or the commands.
bun scripts/gate.ts and bun x tsc --noEmit are clean. The change reaches too many tests for fast.ts to list, so I ran the suites that read the report, check details and flakes (full-suite-report, check-verify, flake*, cli-sync, home-flow, public-head, release-prove, render-junit, snapshot-store, webhook-failing): 177 pass.
The first commit (5b8d4df37) was pushed red: one new test was wrong, and the gate refused comment lines over 100 columns. The next two commits fix both. The issue's plan was not kept: the keep_plan tool wasn't available in this session.
🤖 Generated with Claude Code
Full-suite red reports now quote the failure and say how to reproduce it. Each issue the report files, and each "Still red" comment, carries every quoted test's
error:line and up to 30 lines of its output, cut from the run's own log. It ends with the commands to run the file again and the shard and concurrency the suite ran it under.redDetailinsrc/checks/report.ts): while the log is still available, it records each failing test'serror:line and an excerpt: a few lines of bun's source context before the error, up toEXCERPT_LINES(30) in total. It also records the file's shard from the── shard N/Mline, the files beside it in that shard, and the concurrency from thetest-shards:banner. These are stored in the run'sCheckDetail;src/core/runs.tsgains optionalassertion,excerpt,shardsandconcurrencyfields.error:line is kept even when thousands of lines follow it.redBody): the reproduce section givesbun test ./<file>andbun test ./<file> --rerun-each 10. When the file shared its shard with others it addsbun testover that shard's files, and it states the shard and concurrency, or says the log didn't name a shard. The paths are prefixed./asscripts/test-shards.tsdoes, so bun runs that exact file rather than every path that contains the name.(fail)line says nothing. This also keeps the existingtest/check-verify.test.tsassertion unchanged. The--rerun-each 10flag lives once inreport.tsasRERUN:test/flake.test.tsrefuses any test file in the gate that contains a retry flag, even inside an expected string.Tests: six new tests in
test/full-suite-report.test.ts. Excerpt and assertion, including log text with HTML and triple backticks, must stay inside the fence. The filed issue must carry the commands, shard and concurrency, and so must each "Still red" comment. A 10,000-line log must be cut to the limit with itserror:line kept. A test that printed nothing gets no excerpt, and a log with no shard banner says so. They fail without the excerpt or the commands.bun scripts/gate.tsandbun x tsc --noEmitare clean. The change reaches too many tests forfast.tsto list, so I ran the suites that read the report, check details and flakes (full-suite-report,check-verify,flake*,cli-sync,home-flow,public-head,release-prove,render-junit,snapshot-store,webhook-failing): 177 pass.The first commit (5b8d4df37) was pushed red: one new test was wrong, and the gate refused comment lines over 100 columns. The next two commits fix both. The issue's plan was not kept: the
keep_plantool wasn't available in this session.🤖 Generated with Claude Code
Closes #12295