feat(tectonic): summarize the first real error #100
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/preview.nvim!100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/tectonic-failure-summary"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The built-in
tectonicpreset still falls back to a generic failure notification or can surface the trailinghalted on potentially-recoverable error as specifiedtrailer instead of the first actionable stderr line. Its fixture coverage also did not reflect real captured tectonic output.Solution
Add a tectonic-specific
failure_summarythat scans real stderr-shapederror:lines, strips leading!, filters the halted trailer and***echoes, and returns the first meaningful message. Replace the hand-written fixture with captured tectonic stderr, add fixture-backed coverage for the audited failure shapes, and add a compiler test that routes the real tectonic summary through the notification path.