Skip to content

feat: Sentry integration Phase 1 — Replay, Transactions, Cron#19

Merged
simsteward merged 3 commits intomainfrom
feature/sentry-phase1
Mar 25, 2026
Merged

feat: Sentry integration Phase 1 — Replay, Transactions, Cron#19
simsteward merged 3 commits intomainfrom
feature/sentry-phase1

Conversation

@simsteward
Copy link
Copy Markdown
Owner

Body:

  • Session Replay added to all 3 dashboards (10% session / 100% error sampling)
  • Performance Transactions + Spans for data capture suite, WS message lifecycle, and DispatchAction
  • Cron Monitoring for post-deploy tests via Sentry Monitors API
  • Release Health verified (already configured)
  • Custom Metrics dropped (deprecated API)

Verification after deploy:

  1. Sentry > Replays — session recordings appear
  2. Sentry > Performance — data-capture-suite and ws.message transactions
  3. Sentry > Crons — post-deploy-tests monitor
  4. Sentry > Releases — crash-free session %

wgutmann and others added 3 commits March 25, 2026 00:56
- Replace bundle.min.js with bundle.tracing.replay.min.js (includes replay + tracing)
- Add replayIntegration() to index.html and data-capture-suite.html
- Add full Sentry init + Replay to replay-incident-index.html (had no Sentry setup)
- 10% normal session sampling, 100% error session sampling

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- DataCaptureSuite: transaction wrapping full test run, child spans per SuiteInternalStep
- DashboardBridge: transaction wrapping WS message lifecycle
- DispatchAction: child spans per action branch (replay_session/speed/seek/jump)
- All paths handle success (Ok) and error (InternalError/Cancelled) statuses
- Null-safe: gracefully handles missing parent transactions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add Push-SentryCheckIn helper using Sentry Monitors API
- Auto-creates monitor on first check-in via monitor_config
- Wraps post-deploy test block with in_progress/ok/error check-ins
- Non-fatal: deploy continues if Sentry API is unreachable
- Both check-in events logged to Loki (deploy_sentry_checkin)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@simsteward simsteward merged commit 96d9454 into main Mar 25, 2026
8 checks passed
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.

2 participants