next.js
05e4966c - Remove Request Insights logfile (#102267)

Commit
1 day ago
Remove Request Insights logfile (#102267) ### What? Keep up to 500 Request Insights in memory, retaining the latest RSC and page request. Remove the logfile and history UI. ### Why? The bounded request window covers the dev overlay and CLI use cases without maintaining a disk journal. ### How? Remove journal initialization, the history endpoint, and disk fallbacks for request details and the MCP tool. The panel now reverses the in-memory list itself, because the removed history hook was what showed the newest requests first. ### Verification - 56 focused Request Insights unit tests passed. - Type checking, Prettier, ESLint, and `git diff --check` passed. - `pnpm test-dev-turbo test/development/app-dir/request-insights/request-insights.test.ts` (26/26)
Author
Parents
Loading