Skip to content

Handle unmatched mutation requests as 404s#58

Closed
kentcdodds wants to merge 2 commits into
mainfrom
cleanup-sentry-internal-router-error-noise
Closed

Handle unmatched mutation requests as 404s#58
kentcdodds wants to merge 2 commits into
mainfrom
cleanup-sentry-internal-router-error-noise

Conversation

@kentcdodds
Copy link
Copy Markdown
Member

@kentcdodds kentcdodds commented May 17, 2026

Summary

  • Add action handlers to all root splat routes so scanner POST/PUT/PATCH/DELETE requests to unmatched paths return normal 404 responses instead of Remix missing-action errors.
  • Add smoke coverage for POST requests to an unmatched scanner-style path.
  • Refresh the existing exercise smoke-test home-page assertion from stale Hello World text to the rendered Epic Notes heading.

Sentry

  • Addresses noisy getInternalRouterError events for Sentry project epicshop, issue EPICSHOP-F0 / 7447885629.
  • Example paths: /connectors/resource/index.php, /connectors/system/phpthumb.php, /RSC/...txt, /_next, /__rsc, /.action.

Validation

  • npm run typecheck
  • npm run lint
  • npm test in exercises/01.form-validation/01.problem.form-validation
Open in Web Open in Cursor 

@kody-bot kody-bot closed this May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants