Gate failure output drops the failing lines #1381

Closed
opened 2026-10-27 13:40:10 +00:00 by sam · 0 comments
Owner

When task check fails, the gate keeps only the tail of its output, so the stored error and the task log show passing packages and 'lint: exit status 1' but not the failing test or lint finding. Diagnosing a red baseline meant reproducing it outside archie. Done when a gate failure's recorded output includes the failing test names and linter findings (e.g. keep lines that match failures, or head and tail).

Close reason

clipTail keeps failure lines (failing tests, panics, errors, file:line findings) ahead of the tail; test built from task 17's output


Imported from beads archie-core-in10w · GitHub #1843 · type bug · priority P2 · created 2026-10-24 · closed 2026-10-24

When task check fails, the gate keeps only the tail of its output, so the stored error and the task log show passing packages and 'lint: exit status 1' but not the failing test or lint finding. Diagnosing a red baseline meant reproducing it outside archie. Done when a gate failure's recorded output includes the failing test names and linter findings (e.g. keep lines that match failures, or head and tail). ### Close reason clipTail keeps failure lines (failing tests, panics, errors, file:line findings) ahead of the tail; test built from task 17's output --- _Imported from beads `archie-core-in10w` · GitHub #1843 · type bug · priority P2 · created 2026-10-24 · closed 2026-10-24_
sam added the mediumbug labels 2026-10-27 13:40:10 +00:00
sam self-assigned this 2026-10-27 13:40:10 +00:00
sam closed this issue 2026-10-27 13:40:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1381