Skip to content

fix: don't exit process on stderr output#133

Merged
kitplummer merged 1 commit intodevelopfrom
fix/radicle-exit-on-stderr
Jan 10, 2026
Merged

fix: don't exit process on stderr output#133
kitplummer merged 1 commit intodevelopfrom
fix/radicle-exit-on-stderr

Conversation

@kitplummer
Copy link
Copy Markdown
Owner

Summary

Fixes #132

The execute_command function was calling process::exit() whenever a command wrote anything to stderr, even on successful execution. Many tools (cargo, npm, git, etc.) write progress info to stderr, causing goa to exit prematurely.

Changes

  • Print stderr output but continue execution
  • Only return error if exit code is non-zero
  • Applies to both timeout and non-timeout code paths

Impact

This bug affected both spy and radicle subcommands, but was more visible with Radicle since CI commands typically produce stderr output.

Test plan

  • All 32 tests pass
  • Clippy clean
  • Manual testing with command that writes to stderr

🤖 Generated with Claude Code

Fixes #132

The execute_command function was calling process::exit() whenever
a command wrote anything to stderr, even on successful execution.
Many tools (cargo, npm, etc.) write progress info to stderr.

Changed behavior:
- Print stderr output but continue execution
- Only return error if exit code is non-zero
- Applies to both timeout and non-timeout code paths

This allows goa to continue watching after CI commands complete.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kitplummer kitplummer merged commit e81cbe3 into develop Jan 10, 2026
5 checks passed
kitplummer added a commit that referenced this pull request Jan 10, 2026
Includes fixes since 0.1.0:
- fix: don't exit process on stderr output (#133)
- docs: add release process documentation (#134)
- fix: update release workflow to use GITHUB_TOKEN (#135)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kitplummer kitplummer mentioned this pull request Jan 10, 2026
4 tasks
kitplummer added a commit that referenced this pull request Feb 8, 2026
Includes fixes since 0.1.0:
- fix: don't exit process on stderr output (#133)
- docs: add release process documentation (#134)
- fix: update release workflow to use GITHUB_TOKEN (#135)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
kitplummer added a commit that referenced this pull request Feb 8, 2026
Includes fixes since 0.1.0:
- fix: don't exit process on stderr output (#133)
- docs: add release process documentation (#134)
- fix: update release workflow to use GITHUB_TOKEN (#135)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
kitplummer added a commit that referenced this pull request Feb 8, 2026
Includes fixes since 0.1.0:
- fix: don't exit process on stderr output (#133)
- docs: add release process documentation (#134)
- fix: update release workflow to use GITHUB_TOKEN (#135)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Radicle watcher exits after running CI command

1 participant