feat: add Sentry error capture to API routes and sidebar components (#81)#86
Merged
zacharias-ona merged 1 commit intomainfrom Apr 16, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
Summary: 9 new |
Collaborator
Author
|
✅ Post-merge verification passed. Ad-hoc smoke tests — all passed:
Skipped:
E2E suite note: 14 of 27 E2E tests failed, but all failures are pre-existing and unrelated to this PR:
These are test selector/timing issues that predate PR #86. The live application is functioning correctly. |
This was referenced Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #81
What
Adds
captureSupabaseError/Sentry.captureExceptioncalls to all silent error paths in API routes, sidebar components, and related client components. Addstoast.error()notifications for user-facing failures.Changes
API route (
src/app/api/search/route.ts):supabase.rpcerror path now callscaptureSupabaseErrorSentry.captureExceptionSidebar (
page-tree.tsx):.then()checks for errorcaptureSupabaseErrorand showtoast.error()on failurePromise.allresults checked individually for.errorSidebar (
page-search.tsx):.then()checks for errorSentry.captureExceptionWorkspace home (
workspace-home.tsx):Editor (
image-plugin.tsx):console.errorwithcaptureSupabaseErrorfor upload failuresPage menu (
page-menu.tsx):console.errorwithSentry.captureException/captureSupabaseErrorfor export and import errorsStatic analysis (
sentry.test.ts):BARE_CATCH_PENDING_ALLOWLISTandCONSOLE_ERROR_PENDING_ALLOWLISTTesting
pnpm lint— cleanpnpm typecheck— cleanpnpm test— 50/50 tests pass (including static analysis regression tests)