Skip to content

Add list-occurrences tool#70

Open
scsmith wants to merge 4 commits into
rollbar:mainfrom
scsmith:main
Open

Add list-occurrences tool#70
scsmith wants to merge 4 commits into
rollbar:mainfrom
scsmith:main

Conversation

@scsmith
Copy link
Copy Markdown

@scsmith scsmith commented Jan 16, 2026

  • New tool to list occurrences for a Rollbar item by counter
  • Supports limit (default 3), page, and lastId parameters
  • lastId enables reliable cursor-based pagination

This limits the number of occurrences to 3 by default because we quickly filled up the max tokens without but the tool can adjust itself.

A lot of this was generated but it looks pretty similar to what I would have expected and works well.

- New tool to list occurrences for a Rollbar item by counter
- Supports limit (default 3), page, and lastId parameters
- lastId enables reliable cursor-based pagination

This limits the number of occurrences to 3 by default because we
quickly filled up the max tokens without but the tool can adjust itself.
@zdavis-rollbar
Copy link
Copy Markdown
Contributor

Thanks for the submissions we will be reviewing this shortly.

zdavis-rollbar and others added 3 commits April 16, 2026 17:18
…-occurrences and get-replay

- list-occurrences: adds multi-project support via resolveProject, renames lastId → last_id (backward-compat alias kept), raises max limit to 100, adds stricter input validation, and improves API response guards
- get-replay: adds optional cleanup/cleanup_ttl_seconds params for auto-deletion of temp files; writes files with mode 0o600
- config: replaces process.exit with thrown errors for testability; uses assert syntax for JSON imports
- index: reads version from package.json instead of hardcoded string
- types: loosens RollbarOccurrenceResponse.version to optional string|number

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@zdavis-rollbar zdavis-rollbar requested a review from brianr April 17, 2026 21:22
@dbutts29
Copy link
Copy Markdown

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@dbutts29
Copy link
Copy Markdown

@claude review

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.

3 participants