Skip to content

test: add sentry test page for debugging error infra#110

Merged
johnshift merged 2 commits intodevfrom
test/sentry-ptsd
Mar 6, 2026
Merged

test: add sentry test page for debugging error infra#110
johnshift merged 2 commits intodevfrom
test/sentry-ptsd

Conversation

@johnshift
Copy link
Copy Markdown
Collaborator

Summary

  • Adds /sentry-test page with buttons to trigger errors through all paths (client reporter, unhandled error, unhandled rejection, server-side captureException)
  • Adds /api/sentry-test route that calls Sentry.captureException + flush() directly
  • Used to verify Sentry DSN, Slack integration, and end-to-end error pipeline

Test plan

  • Deploy to staging, visit /sentry-test, click each button
  • Verify errors appear in Sentry dashboard (jobstash/webapp)
  • Verify Slack alerts fire

@github-actions github-actions bot added the test Tests label Mar 6, 2026
@johnshift johnshift merged commit 71ee38b into dev Mar 6, 2026
7 checks passed
@johnshift johnshift deleted the test/sentry-ptsd branch March 6, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant