A failed check's retained build log keeps its start and drops the failure
State
free to start
Created
2026-11-02 by contributor
Body
`valley telemetry read --logs` serves a check's build output up to 256 KiB, and for a longer log it keeps the first 256 KiB (capped=true, to=262144). On 2026-11-02 the host's worker-e2e log was cut about 111 s into a 568 s run, so the failure at the end was lost and the cause could not be read from a session.
Outcome: when a build log exceeds the cap, the collector keeps its tail, or its head and tail, so the lines that explain a failure survive. A reader can tell which part was dropped.
Comments
contributor2026-11-10 07:28 UTC
Seen again: three system builds failed in a check run, with logs of 24 MB, 1.2 MB and 107 KB, and a retry of the same tree passed. `valley telemetry read --logs` returned none of the failure output, so the cause of the first failure cannot be read from a session. A build that fails once and passes on retry is the case where the log matters most, since the tree alone does not explain it.