Skip to content

feat(cli): default to recent issues with occurrence tie-break#19

Merged
kevinsheth merged 2 commits intomainfrom
feat/default-recent-ordering
Feb 19, 2026
Merged

feat(cli): default to recent issues with occurrence tie-break#19
kevinsheth merged 2 commits intomainfrom
feat/default-recent-ordering

Conversation

@kevinsheth
Copy link
Copy Markdown
Owner

Why

Running rollbaz with no args should match the Rollbar triage feel (latest-first) while remaining useful without extra typing.

What changed

  • switched bare rollbaz default from active to recent
  • updated recent sorting to break equal timestamps by total occurrences (with fallback to occurrences when total is missing)
  • deduplicated occurrence selection logic in app service helpers
  • updated README default command description and related CLI/app tests

Validation

  • go test ./internal/app/... ./internal/cli/...
  • go test ./...
  • go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8 run

@kevinsheth kevinsheth merged commit 90abcfa into main Feb 19, 2026
1 check passed
@kevinsheth kevinsheth deleted the feat/default-recent-ordering branch February 19, 2026 21:44
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