fix(stack): stream hook output during sync

Summary

  • stream stdout and stderr from both glab stack sync push paths
  • preserve existing push arguments and contextual error chains
  • keep successful force-push output ordered without replaying buffered hook output

Testing

  • focused failed-hook and successful-output-order tests
  • go test -count=1 ./internal/commands/stack/sync ./internal/git
  • TERM=xterm-256color make test-changed (87 tests passed)
  • make build
  • make lint (0 issues)
  • make generate; generated documentation and code unchanged
  • Lefthook 2.0.2 pre-push: build, generated checks, changed tests, and lint passed
  • full suite: 3,924 tests, 8 skipped, with only the two pre-existing linked-worktree local-config path assertions failing; both pass from the primary checkout

Closes #7643 (closed)

Merge request reports

Loading