Repository navigation
fix(app): keep crash details behind a Technical details toggle - #4698
Conversation
Match the disclosure shape used by session error cards and the boot-failure screen: headline, plain guidance and Reload first; the raw message, stack, Copy details and Open logs folder open on demand.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Passed · 3/3 tests · 4/4 assertions · 2 images Commit |
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (12193 ms), confidentiality-review (10385 ms), spec-provenance-review (37146 ms), desktop-den-sync-review (14059 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (6bda7271443e84246845390807fbdbeac72631cb). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Summary
Follow-up to #4697. The recovery screen now follows the progressive-disclosure shape the rest of the app uses for errors (session error cards in
components/chat/message-list.tsx, the boot-failure screen inshell/loading-overlay.tsx, and recent #4623 / #4666 / #4678): headline, plain guidance and Reload first; the raw message, stack, Copy details and Open logs folder open on demand behind a Technical details toggle (aria-expanded).Not gated on Developer mode on purpose: this screen exists so an unsigned-in user can report a crash, so the details stay one click away rather than behind a setting.
What changed
apps/app/src/react-app/shell/app-error-boundary.tsx— collapsed disclosure; no other behavior change (copy payload, logs bridge, reload unchanged).apps/app/tests/app-error-boundary.test.tsx— initial markup has the toggle collapsed and does not contain the message, stack, or Copy/Logs actions.evals/specs/app-render-crash-recovery.e2e.test.ts— negative half before the toggle (message, stack and Copy details not visible), then a new step that opens Technical details and asserts them; copy and reload steps unchanged.Proof
pnpm evals:e2e app-render-crash-recovery—placement: daytona (daytona CLI authenticated), checkout6bda7271443e, 1 passed / 0 failed / 0 skipped, verdictpassed, 5/5 steps.pnpm --filter @openwork/app typecheckexit 0;bun test --isolate tests/app-error-boundary.test.tsx6 pass / 0 fail. Boundary and channel ratchets report nothing for the spec.Rollback
Revert the commit.