Skip to content

Address review feedback for enqueue quiet mode#12

Merged
wesm merged 2 commits intomainfrom
enqueue-feedback
Jan 9, 2026
Merged

Address review feedback for enqueue quiet mode#12
wesm merged 2 commits intomainfrom
enqueue-feedback

Conversation

@wesm
Copy link
Collaborator

@wesm wesm commented Jan 9, 2026

  • Print "Skipping: rebase in progress" when not in quiet mode
  • Swallow HTTP errors in quiet mode (truly silent for hooks)
  • Add tests for IsRebaseInProgress covering rebase-merge, rebase-apply, and non-repo cases

wesm and others added 2 commits January 8, 2026 19:08
- Print "Skipping: rebase in progress" when not in quiet mode
- Swallow HTTP errors in quiet mode (truly silent for hooks)
- Add tests for IsRebaseInProgress covering rebase-merge, rebase-apply,
  and non-repo cases

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- --quiet now uses SilenceErrors/SilenceUsage to suppress output but
  preserves non-zero exit codes for actual failures (daemon/HTTP errors)
- Only "not a repo" and "rebase in progress" exit 0 in quiet mode since
  those are expected conditions for hooks
- Add worktree test for IsRebaseInProgress to ensure rebase detection
  works when .git is a file pointing to the real gitdir

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wesm wesm merged commit 2015e36 into main Jan 9, 2026
2 checks passed
@wesm wesm deleted the enqueue-feedback branch January 9, 2026 01:23
andyxhadji pushed a commit to andyxhadji/roborev that referenced this pull request Jan 9, 2026
- Print "Skipping: rebase in progress" when not in quiet mode
- Swallow HTTP errors in quiet mode (truly silent for hooks)
- Add tests for IsRebaseInProgress covering rebase-merge, rebase-apply,
and non-repo cases

---------

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.

1 participant