Skip to content

fix: make --all-branches imply --unaddressed#345

Merged
wesm merged 2 commits intomainfrom
fix-all-branches
Feb 25, 2026
Merged

fix: make --all-branches imply --unaddressed#345
wesm merged 2 commits intomainfrom
fix-all-branches

Conversation

@wesm
Copy link
Collaborator

@wesm wesm commented Feb 25, 2026

Summary

  • roborev fix --all-branches now implies --unaddressed instead of erroring, removing an unnecessary sharp edge
  • Validation order fixed so --all-branches --branch main correctly returns the mutual-exclusion error
  • Added positive test for --all-branches alone and updated existing flag-validation tests

Closes #344

Test plan

  • TestFixCmdFlagValidation passes (all error cases)
  • TestFixAllBranchesImpliesUnaddressed passes (positive case with mock daemon)
  • Full TestFix* suite passes

🤖 Generated with Claude Code

wesm and others added 2 commits February 24, 2026 18:22
Instead of erroring when --all-branches is used without --unaddressed,
automatically set --unaddressed=true. Closes #344.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move the allBranches implication block before the --branch validation
so that `fix --all-branches --branch main` hits the mutual-exclusion
error instead of a confusing "--branch requires --unaddressed" message.

Also add a positive test for `fix --all-branches` alone and update the
--all-branches+--branch test to drop the explicit --unaddressed flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@roborev-ci
Copy link

roborev-ci bot commented Feb 25, 2026

roborev: Combined Review (b605fb6)

Verdict: All agents agree the code is
clean; no issues were found.


Synthesized from 4 reviews (agents: codex, gemini | types: default, security)

@wesm wesm merged commit 91e938a into main Feb 25, 2026
8 checks passed
@wesm wesm deleted the fix-all-branches branch February 25, 2026 00:53
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.

roborev fix --all-branches should assume --unaddressed rather than requiring it

1 participant