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 #12295
Reviewed pull #12304 at its head: ticked reportRed in src/checks/report.ts puts each failing test's assertion message and up to 30 lines of its output, cut from the run's own log and escaped as a code block, in the filed issue and in each "Still red" comment.; The body ends with the exact commands to reproduce: bun test <file> and bun test <file> --rerun-each 10, plus the shard and concurrency the full suite ran it under.; test/full-suite-report.test.ts fails without the excerpt and without the commands, and caps a huge log at the line limit..
Sign in to join this conversation.
new above
offline
Why: #12190, #12244 and #12248 were each parked two or three times. The report named only the test, the file passed every time a builder ran it, and the log of the red run could not be reached, so every run ended in a decline.
Done:
Files: src/checks/report.ts, test/full-suite-report.test.ts
Risks: keep the excerpt bounded so a 10,000-line log cannot make a 1 MB issue.