Add list-occurrences tool#70
Open
scsmith wants to merge 4 commits into
Open
Conversation
- 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.
Contributor
|
Thanks for the submissions we will be reviewing this shortly. |
…-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>
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@claude review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.