feat(frontend): add route-level error boundaries with telemetry hooks#323
Open
vaishnavijha12 wants to merge 2 commits into
Open
feat(frontend): add route-level error boundaries with telemetry hooks#323vaishnavijha12 wants to merge 2 commits into
vaishnavijha12 wants to merge 2 commits into
Conversation
utksh1
requested changes
May 26, 2026
Owner
utksh1
left a comment
There was a problem hiding this comment.
Requesting changes. Route-level error boundaries are useful, but checks have not completed yet and the implementation needs polish: sanitizeError redacts stack but not the error message shown in dev, telemetry is only a console stub, and the fallback styling does not match the existing SecuScan design system. Please wait for CI and add coverage for retry/navigation behavior.
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 #237
Summary
Implemented production-grade frontend resilience improvements with route-level Error Boundaries, recovery actions, telemetry hooks, and redacted diagnostic capture.
Changes
Added reusable ErrorBoundary component
Added Retry and Go Home recovery actions
Added telemetry hook integration
Implemented sensitive data redaction before logging
Added tests for:
Verification
Test Results
npm run build✅npm run test✅