fix(website): suppress Sentry hydration and pushState noise (#434 #437)#461
fix(website): suppress Sentry hydration and pushState noise (#434 #437)#461ajitpratap0 merged 6 commits intomainfrom
Conversation
Full-project audit using 5 parallel analytical personas (Performance, SQL Compatibility, API/DX, Competitive, Community). Synthesizes into prioritized P0–P3 roadmap covering: HN launch, query fingerprinting, linter expansion to 30 rules, DML transforms, C binding hardening, live DB schema introspection, SQL transpilation, CONNECT BY, OTel, GORM integration, and advisor expansion. Corresponding GitHub issues: #442–#460 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 implementation plans covering all prioritized GitHub issues: P0 (Critical): - 2026-03-29-sentry-fixes.md (#434, #437) — fix Sentry noise filters - 2026-03-29-openssf-scorecard.md (#443) — security scorecard badge P1 (High Priority): - 2026-03-29-query-fingerprinting.md (#444) — SQL normalization + SHA-256 fingerprints - 2026-03-29-linter-expansion.md (#445) — L011-L030 safety/performance/naming rules - 2026-03-29-dml-transforms.md (#446) — SET clause and RETURNING transforms - 2026-03-29-cbinding-hardening.md (#447) — C binding coverage + stress tests - 2026-03-29-advisor-expansion.md (#453) — OPT-009 through OPT-020 advisor rules P2 (Medium Priority): - 2026-03-29-sql-parser-additions.md (#450, #454, #455, #456) — DDL formatter, CONNECT BY, SAMPLE, PIVOT/UNPIVOT - 2026-03-29-schema-introspection.md (#448) — live DB schema introspection (Postgres, MySQL, SQLite) - 2026-03-29-integrations.md (#451, #452) — OpenTelemetry + GORM sub-modules - 2026-03-29-sql-transpilation.md (#449) — SQL dialect transpilation API P3 (Low Priority): - 2026-03-29-p3-items.md (#458, #459, #460) — CLI watch registration, pool stats, JSON functions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ushState noise - Add ignoreErrors array covering React hydration errors (#418, #423, #425), pushState read-only variants, and Chrome DevTools Protocol messages - Broaden beforeSend pushState filter from exact string to case-insensitive toLowerCase().includes("pushstate") to catch all TypeError variants (#434) - Add belt-and-suspenders beforeSend hydration check for events that bypass ignoreErrors (e.g. unhandledrejection without exception value) (#437) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @ajitpratap0's task —— View job PR Review: Sentry Noise FilteringTodo List:
🔍 Review SummaryThis PR implements a comprehensive approach to filtering Sentry error noise, addressing React hydration errors and browser extension interference. The implementation is well-structured with both ✅ Strengths1. Defense in Depth Approach
2. Well-Documented Error Patterns
3. Performance Considerations
|
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Extract PUSHSTATE_REGEX as a shared constant used by both ignoreErrors
and beforeSend, eliminating duplication. Replace overly broad
msg.toLowerCase().includes("pushstate") with PUSHSTATE_REGEX.test(msg)
to avoid suppressing legitimate errors that happen to mention pushState.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude finished @ajitpratap0's task —— View job PR Review: Sentry Noise FilteringTodo List:
🔍 Review SummaryThis PR implements a comprehensive approach to filtering Sentry error noise, addressing React hydration errors and browser extension interference. The implementation uses a defense-in-depth strategy with both ✅ Strengths1. Well-Architected Defense StrategyThe dual-layer approach is excellent:
2. Excellent Documentation & Context
3. Performance Optimizations
|
|
Claude finished @ajitpratap0's task —— View job PR Review: Sentry Noise FilteringTodo List:
🔍 Review SummaryThis PR implements a comprehensive approach to filtering Sentry error noise, addressing React hydration errors and browser extension interference. The implementation uses a defense-in-depth strategy with both ✅ Strengths1. Well-Architected Defense StrategyThe dual-layer approach is excellent:
2. Excellent Documentation & Context
3. Performance Optimizations
|
Summary
ignoreErrorsarray to Sentry client config to filter React hydration errors (feat(dialect): add ClickHouse SQL dialect support #418, fix(wasm): commit gosqlx.wasm to git — fixes production playground 404 #423, feat(website): Phase 1 marketing — star button, social share, playground CTA, WCAG, RSS #425) and browser extension noisebeforeSendpushState filter from exact string match to case-insensitivetoLowerCase().includes("pushstate")covering all TypeError variantsbeforeSendhydration check for events that bypassignoreErrors(e.g. unhandledrejection with no exception value)instrumentation.tsconfig (no changes needed — hydration errors are client-side only)suppressHydrationWarningalready present on<html>inlayout.tsxFixes
Closes #434
Closes #437
Test plan
🤖 Generated with Claude Code