Preserve command failure context #647

Merged
barrettruth merged 1 commit from refactor/635-command-failure-context into main 2026-05-06 21:03:13 +00:00
Owner

Summary

  • add a structured shared command failure shape and formatter
  • include context, nonzero exit status, signal, command identity, stderr, stdout, and bounded excerpts
  • update existing shared-formatter caller expectations

Verification

  • reproduced with system nvim v0.12.2 using vim.pack + lz.n before the fix: mixed streams collapsed to stderr only
  • verified with system nvim v0.12.2 using vim.pack + lz.n after the fix: output includes exit status, command, stderr, and stdout
  • just test
  • just lint
  • nix develop .#ci --command just ci

Closes #635

## Summary - add a structured shared command failure shape and formatter - include context, nonzero exit status, signal, command identity, stderr, stdout, and bounded excerpts - update existing shared-formatter caller expectations ## Verification - reproduced with system nvim v0.12.2 using vim.pack + lz.n before the fix: mixed streams collapsed to stderr only - verified with system nvim v0.12.2 using vim.pack + lz.n after the fix: output includes exit status, command, stderr, and stdout - just test - just lint - nix develop .#ci --command just ci Closes #635
Preserve command failure context
All checks were successful
quality / Test (pull_request) Successful in 18s
quality / Format (pull_request) Successful in 19s
quality / Lint (pull_request) Successful in 20s
e98332e7f9
barrettruth force-pushed refactor/635-command-failure-context from e98332e7f9
All checks were successful
quality / Test (pull_request) Successful in 18s
quality / Format (pull_request) Successful in 19s
quality / Lint (pull_request) Successful in 20s
to 80b7258579
All checks were successful
quality / Format (pull_request) Successful in 22s
quality / Test (pull_request) Successful in 23s
quality / Lint (pull_request) Successful in 24s
2026-05-06 21:01:36 +00:00
Compare
barrettruth deleted branch refactor/635-command-failure-context 2026-05-06 21:03:13 +00:00
Sign in to join this conversation.
No description provided.