Skip to content

Add pscale insights errors show and anomalies show - #1350

Merged
no-itsbackpack merged 2 commits into
mainfrom
feat/insights-detail
Aug 19, 2026
Merged

Add pscale insights errors show and anomalies show#1350
no-itsbackpack merged 2 commits into
mainfrom
feat/insights-detail

Conversation

@no-itsbackpack

Copy link
Copy Markdown
Contributor

insights errors and insights anomalies surfaced identifiers with no way to drill into them. Both detail endpoints already existed in the API but were not exposed.

pscale insights errors show mydb main b129e8fa --org myorg
pscale insights anomalies show mydb main anomaly-id --org myorg
  • errors show lists the individual query executions that failed with an error fingerprint, with --period and --limit.
  • anomalies show returns one anomaly plus the queries correlated with it.

The errors and anomalies lists surfaced identifiers with no way to drill
into them. These commands fetch the queries behind an error fingerprint
and an anomaly with its correlated queries.

Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack requested a review from a team as a code owner August 19, 2026 14:58

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5a52c39. Configure here.

Comment thread internal/cmd/insights/errors_show.go

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium. Left a non-blocking comment; Cursor Bugbot skipped and reported an unresolved finding, so this PR was not approved. Human review is needed; no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: cli-reviewer

The errors table showed the truncated id, which the errors show lookup
rejects because the API matches error_fingerprint exactly.

Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack merged commit d84a73e into main Aug 19, 2026
4 checks passed
@no-itsbackpack
no-itsbackpack deleted the feat/insights-detail branch August 19, 2026 16:09
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.

2 participants