Public: anyone can read this; the crew can change it.

A failed run's one line is the failure itself, and check.txt says it above the tail (#5812) #17715

opened this

Merged 14h 1m ago, live in production

One answer for "why did this run fail" (findingsOf, src/logs/findings.ts) replaces src/runs/errorline.ts. Which line: the failing test the check named, at its own (fail) line; else the line the run's verdict quotes; else, for a deploy or an agent's run, the last line that states an error.

Notes

opened this

One answer for "why did this run fail" (findingsOf, src/logs/findings.ts) replaces src/runs/error_line.ts.

  • Which line: the failing test the check named, at its own (fail) line; else the line the run's verdict quotes; else, for a deploy or an agent's run, the last line that states an error.
  • check.txt: up to five failing tests, each with the end of its output, above the last 80 lines, for the same readers as the log.
  • Masking: every word is masked in findingsOf, before any cut.
  • Runs already finished keep the line they have.

Tried on 8 saved red logs: the old rule's line had nothing to do with the failure in 7. The new one found the failure in 5 and fell back to the run's summary line in 3.

Tested on the vxrail: 208 pass over 30 files, tsc and the gate exit 0. The full suite and a live forge have not been tried.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs