mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1688] [MERGED] Add global client error boundary #5214
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1688
Author: @cha1latte
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @cha1latte
Base:
refactor← Head:feature/refactor-global-error-boundary📝 Commits (2)
7c24ddcAdd refactor global error boundary80480a2Address global boundary review feedback📊 Changes
5 files changed (+431 additions, -115 deletions)
View changed files
➖
src/app/AppErrorBoundary.test.tsx(+0 -39)➖
src/app/AppErrorBoundary.tsx(+0 -72)➕
src/app/GlobalErrorBoundary.test.tsx(+159 -0)➕
src/app/GlobalErrorBoundary.tsx(+262 -0)📝
src/app/main.tsx(+10 -4)📄 Description
Linked issue
None.
Why this change
stagingby mistake and has been returned to draft; this branch targetsrefactor.What changed
AppErrorBoundarywithGlobalErrorBoundary.createRooterror callbacks for caught, uncaught, and recoverable root errors.window.errorandunhandledrejectionlisteners.Refactor impact
Primary owner:
app shell
Impact areas reviewed:
src/approot bootstrapEncounterErrorBoundaryremains unchangedBoundary notes:
Pressure points touched:
src/app/main.tsxsrc/app/GlobalErrorBoundary.tsxValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Codex-run validation:
pnpm test -- src/app/GlobalErrorBoundary.test.tsxpassed: 5 tests.pnpm typecheckpassed.pnpm buildpassed.pnpm checkpassed, including line endings, architecture, frontend, Rust check, and docs check.Not manually verified in a browser/Tauri runtime. The crash fallback behavior is covered by the jsdom render harness.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes needed.
UI evidence
No screenshot evidence added. UI behavior is covered by the focused Vitest harness.
Summary by CodeRabbit
New Features
Refactor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.