Show structured command failures in CI log and summary buffers #639

Closed
opened 2026-05-06 19:55:43 +00:00 by barrettruth · 0 comments
Owner

Parent: #634

Problem

CI log and summary buffers currently write trimmed stderr/stdout or generic no log output / no output lines. They drop command identity and exit code, and they hide stdout when stderr exists. This makes failed log fetches hard to diagnose, especially across Forgejo/Gitea action APIs.

Scope

  • Improve failure rendering in forge.log.open and forge.log.open_summary.
  • Include bounded command failure context in the buffer.
  • Reuse shared formatting from #635 where possible.
  • Add tests for failed log command output.

Non-goals

  • Do not rewrite CI log parsers.
  • Do not change successful log rendering/folding.
Parent: #634 ## Problem CI log and summary buffers currently write trimmed stderr/stdout or generic `no log output` / `no output` lines. They drop command identity and exit code, and they hide stdout when stderr exists. This makes failed log fetches hard to diagnose, especially across Forgejo/Gitea action APIs. ## Scope - Improve failure rendering in `forge.log.open` and `forge.log.open_summary`. - Include bounded command failure context in the buffer. - Reuse shared formatting from #635 where possible. - Add tests for failed log command output. ## Non-goals - Do not rewrite CI log parsers. - Do not change successful log rendering/folding.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/forge.nvim#639
No description provided.