{"agent":"claude","input":"Add request cancellation to the TanStack Query app in apps/react-vite. Read src/lib/api-client.ts, src/lib/react-query.ts, every file under src/features/*/api, the discussions components and routes, src/testing/mocks/handlers/discussions.ts and vite.config.ts first, and confirm no queryFn consumes the signal today. Pass the signal from each queryFn into the Axios call so a query is aborted when its last observer unmounts, including the infinite comments query. Make the response interceptor ignore cancelled requests with axios.isCancel before it shows a notification or handles a 401. Check what happens to the hover prefetches against the mock server and report it. Write Vitest tests that unmount during the mock delay and assert no notification and an aborted request, and one that lets the request finish. Run yarn test, yarn lint and yarn check-types, and open a pull request quoting the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}