Skip to content

feat(resource): add resource invocations with slow filter - #164

Open
rishikesh-major wants to merge 5 commits into
mainfrom
rishikesh/app-slow-queries
Open

rishikesh-major wants to merge 5 commits into
mainfrom
rishikesh/app-slow-queries

Conversation

@rishikesh-major

@rishikesh-major rishikesh-major commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Adds major resource invocations [--slow] [--environment deployment|coding-session|local-dev|all] [--days 1..30] for the app in the current workspace. It returns JSON aggregates by resource operation, ranked by total time: calls, p50/p95, error rate, last seen, and call site when available. By default it includes all operations; --slow limits results to operations over 500 ms p95.

Backed by GET /cli/applications/:applicationId/slow-operations from major-technology/mono-builder#2378, which must land first. The CLI sends minP95Ms=0 for the unfiltered view.

Updates app-builder and debug-issue skill guidance to use the new command for slowness investigations.

Tests: command registration and flags; go test ./... passes.

@rishikesh-major rishikesh-major changed the title feat(app): add 'major app slow-queries list' feat(app): add 'major app performance list' Sep 23, 2026
Lists an app's resource operations ranked by total time spent, with p50/p95,
error rate, and the extractor-matched call site, over a 7- or 30-day window
and an execution-environment filter. Backed by
GET /cli/applications/:applicationId/slow-operations.

Skills: mention the command in the major table, app-builder, and debug-issue
so the agent reaches for it when the complaint is slowness.
…-all

Matches the Performance tab in the product. The server now floors results
at 500 ms p95; --all sends minP95Ms=0 to include everything.
@rishikesh-major
rishikesh-major force-pushed the rishikesh/app-slow-queries branch from f79df21 to 51fa64a Compare September 23, 2026 20:42
@rishikesh-major rishikesh-major changed the title feat(app): add 'major app performance list' feat(resource): add resource invocations with slow filter Sep 24, 2026
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