request insights: add agent diagnosis access (4/5)#93977
Merged
Conversation
Contributor
Tests PassedCommit: 50e5170 |
e53de89 to
1dccd5b
Compare
7659478 to
78cf1c5
Compare
1dccd5b to
2a5628a
Compare
78cf1c5 to
a7fd9eb
Compare
2a5628a to
8f12af2
Compare
a7fd9eb to
353bd2d
Compare
Contributor
Stats from current PR🔴 1 regression, 3 improvements
📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles
Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
📝 Changed Files (2 files)Files with changes:
View diffspages-api.ru..time.prod.jsDiff too large to display pages.runtime.prod.jsDiff too large to display 📎 Tarball URLCommit: 50e5170 |
8f12af2 to
6cc46d4
Compare
353bd2d to
80707b5
Compare
6cc46d4 to
9979bc8
Compare
80707b5 to
0a61e40
Compare
9979bc8 to
a0c338a
Compare
3ebe685 to
adac147
Compare
timneutkens
reviewed
Jun 22, 2026
timneutkens
reviewed
Jun 22, 2026
timneutkens
reviewed
Jun 22, 2026
timneutkens
reviewed
Jun 22, 2026
timneutkens
reviewed
Jun 22, 2026
timneutkens
reviewed
Jun 22, 2026
73b47a4 to
84d76d3
Compare
c742bf2 to
b11eb2b
Compare
mischnic
reviewed
Jul 8, 2026
b11eb2b to
04b1063
Compare
52ccf77 to
fe7521f
Compare
04b1063 to
7ff7088
Compare
7ff7088 to
d0ae033
Compare
fe7521f to
747748a
Compare
d0ae033 to
3acf8c6
Compare
573ce9b to
9cd978f
Compare
3acf8c6 to
081b44b
Compare
9cd978f to
1c2463d
Compare
081b44b to
4444cc7
Compare
1c2463d to
790a8b4
Compare
4444cc7 to
71fbc1a
Compare
790a8b4 to
e8e4c37
Compare
Adds next experimental-diagnose for the private Request Insights endpoint, registers an MCP get_request_insights tool, and updates MCP telemetry for the new tool name. Verification: - pnpm jest packages/next/src/telemetry/events/mcp-telemetry.test.ts --runInBand - pnpm --filter=next types Deferred coverage: real CLI JSON against a running dev server is verified at the stack tip with the Cache Components smoke fixture.
4e18228 to
1d0187e
Compare
timneutkens
approved these changes
Jul 13, 2026
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.
What
Adds
next experimental-diagnoseand an MCPget_request_insightstool so agents and local users can inspect Request Insights without opening the DevTools overlay.Stack:
Review Focus
Proof In This PR
pnpm jest packages/next/src/telemetry/events/mcp-telemetry.test.ts --runInBandpnpm --filter=next typesnext experimental-diagnose --url http://localhost:3003 --jsonagainst a real dev server.Deferred Coverage