fix: filter Sentry noise, fix bugs, and add error debugging#391
fix: filter Sentry noise, fix bugs, and add error debugging#391williamluke4 wants to merge 6 commits intomainfrom
Conversation
Filter expected errors from Sentry (FORBIDDEN TRPCErrors, browser extension DOM errors, camera/WalletConnect noise), fix optional chaining bugs in voucher stats and address validation in pool pages, add error boundaries for voucher/pool detail pages, improve file upload error messages with timeouts and status codes, add webcam error handling, and add Sentry breadcrumbs to writer lock failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixes React hooks rules violation by calling all hooks unconditionally before the address validation early return. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 Changed routes:
Commit 6abadda (https://sarafu-network-jidnqgt6j-atto-byte.vercel.app). |
The CI review bot was hitting the 10-turn limit on larger PRs, causing the action to fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Updated to use actions/checkout@v6, enabled track_progress, and revised the review prompt with structured focus areas. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merged isAddress validation guard with new editable banner feature from main, keeping all hooks before the early return. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @williamluke4's task in 2m 27s —— View job Code Review: fix: filter Sentry noise, fix bugs, and add error debuggingTasks:
Overall this is a solid, well-scoped PR. The Critical Bug Fix
Issues1. Error boundaries don't report to SentryBoth // src/app/(main)/pools/[address]/error.tsx:16-19
useEffect(() => {
console.error("Pool error:", error); // lost in production
}, [error]);Add 2.
|
![Screenshot of /pools/[address]](https://images.weserv.nl?url=https://sjc.microlink.io/aMOS6nPSl4SRv317fs64OEoaltm-DsupxVfXZv8clelucpWvDJEcVb-cfSrYLwi3bCfBGzauUYqLMqsTOOZqNA.png&w=600)
![Screenshot of /pools/[address]/pool-client-](https://images.weserv.nl?url=https://sjc.microlink.io/-Gkwd1p_Rp3kmmF4fHmTdafQBx3qzWvgZgqRTnMawSEEylxt4hNhH8s5x1fSa0gjAWo_HoWfIIqMl466lqHa0Q.png&w=600)
Summary
ignoreErrorson client (DOM manipulation, camera, WalletConnect, router state) andbeforeSendon server/edge to drop expected FORBIDDEN TRPCErrors. WrappedonRequestErrorto skip permission errors. ReducedtracesSampleRatefrom 1.0 to 0.2.stats?.transactions?.deltain voucher statistics grid to prevent TypeError. AddedisAddress()validation in pool pages to preventInvalidAddressErroron malformed URLs.error.tsxfor/vouchers/[address]and/pools/[address]routes with retry and navigation.publicClientvsclientbug in token model.Test plan
pnpm check-typespassespnpm testpasses (355/355)pnpm lintpasses (0 errors)🤖 Generated with Claude Code