feat(resource): add resource invocations with slow filter - #164
Open
rishikesh-major wants to merge 5 commits into
Open
rishikesh-major wants to merge 5 commits into
rishikesh-major wants to merge 5 commits into
Conversation
rishikesh-major
requested review from
jasonzbao and
josegironn
as code owners
September 23, 2026 17:02
vlad-major
approved these changes
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
force-pushed
the
rishikesh/app-slow-queries
branch
from
September 23, 2026 20:42
f79df21 to
51fa64a
Compare
…istAppErrorsRequest doc comment
…splitting the app-errors list
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.
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;--slowlimits results to operations over 500 ms p95.Backed by
GET /cli/applications/:applicationId/slow-operationsfrom major-technology/mono-builder#2378, which must land first. The CLI sendsminP95Ms=0for the unfiltered view.Updates
app-builderanddebug-issueskill guidance to use the new command for slowness investigations.Tests: command registration and flags;
go test ./...passes.