inspector
inspector copied to clipboard
fix: log dropped fetch body updates
Summary
- add an optional logger to
FetchRequestLogState, defaulting to the existing silent logger - emit a debug log when
fetchRequestBodyUpdatearrives after its request entry has already left the bounded log - pass the web app remote logger into
FetchRequestLogStateso the diagnostic reaches the existing logging pipeline
Fixes #1390.
Validation
cd clients/web && npm test -- src/test/core/mcp/state/fetchRequestLogState.test.ts./clients/web/node_modules/.bin/prettier --check core/mcp/state/fetchRequestLogState.ts clients/web/src/App.tsx clients/web/src/test/core/mcp/state/fetchRequestLogState.test.ts./clients/web/node_modules/.bin/eslint --config clients/web/eslint.config.js core/mcp/state/fetchRequestLogState.ts clients/web/src/App.tsx clients/web/src/test/core/mcp/state/fetchRequestLogState.test.tsgit diff --check