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
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.
-
Reviews
ApprovedClean. I found no high findings.
- Masking: every word is masked before any cut, both in the kept line and in check.txt. The test covers three cut positions for a held value and for a forge token shape.
- Access: a reader the log door hides still gets only
redand the head.tailReadreturns an empty list before findings are computed. - Kept line: the feed handles a line number of 0, so a finding the log does not hold produces no link and no broken anchor.
- One way: the old
firstErrorLinemodule and its test are removed.logLevelmoves tosrc/logs/level.tsand every caller is updated. - Docs: the how-to is in
docs/features/run-logs.md, not the README. Commit lines carryNo door:with reasons. - Nit, not blocking: the edited line in
docs/CONTRACT.mdis longer than the lines around it, so rewrap it if the gate asks.
-
Checks
shipped production is serving it deploy 9c0dc23
-
History
- Merge remote-tracking branch 'origin/main' into sold/leaf-logs-1 3e146b9
- What failed is masked where it is read, before it is cut 4008bae
- Merge pull request #17692 from sold/boot-refusal 59b3a22
- Full suite red: test/snapshot.test.ts (#17703) e174c35
- Merge pull request #17646 from sold/nav-areas 4c6a89c
- A failed run's one line is the failure itself, and check.txt says it above the tail (#5812) cd931d8
- Merge remote-tracking branch 'origin/main' into sold/boot-fetch 3e71baa
- The boot size check: no guessed limit, the row as it would boot, and a limit that can be given (#17532) 3543275
- The kept-log flush timer runs in background(), as #17634's timer rule asks (#17697) 22820dc
- Merge commit '2119f0d722d9647765fdc04933a1960133432690' into HEAD 4fb0b50
- The signed-out home sends no source indentation df35521
- The infra tool names every cloud resource, what each is part of and attached to (#17695) 516a968
- test/pulls-merge-budget.test.ts once answered a conflict where there is none (#17700) 82c923d
- Merge remote-tracking branch 'origin/main' into sold/boot-fetch 8d13531
- Home: the lanes, their graphs, then one row of figures, each number said once (#17678) 2119f0d
- The forge keeps its stall and minute memory lines in its data dir, so its performance history survives a release (#17681) d3e188b
- The agent says back which /forge answers it has, and never writes one twice (#17696) 6164cd2
- A background job's error is logged and counted, never thrown into the process (#17634) c8ebb1e
- Merge commit 'ffc21dc6032849c8cd627a676ace00fa63c4f0bc' into sold/boot-fetch 0c40480
- Merge commit '9a352ce8122c5a9e4b3ea934d0cc043d973fe57b' into sold/boot-fetch 1050e3c
Sign in to join this conversation.
new above
offline
One answer for "why did this run fail" (
findingsOf,src/logs/findings.ts) replacessrc/runs/error_line.ts.(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.findingsOf, before any cut.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,
tscand the gate exit 0. The full suite and a live forge have not been tried.🤖 Generated with Claude Code