Skip to content

fix(app): keep crash details behind a Technical details toggle - #4698

Merged
yomgui merged 1 commit into
devfrom
fix/app-error-boundary-disclosure
Sep 9, 2026
Merged

yomgui merged 1 commit into
devfrom
fix/app-error-boundary-disclosure

Conversation

@yomgui

@yomgui yomgui commented Sep 9, 2026

Copy link
Copy Markdown
Member

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 in shell/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), checkout 6bda7271443e, 1 passed / 0 failed / 0 skipped, verdict passed, 5/5 steps.
pnpm --filter @openwork/app typecheck exit 0; bun test --isolate tests/app-error-boundary.test.tsx 6 pass / 0 fail. Boundary and channel ratchets report nothing for the spec.

Rollback

Revert the commit.

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.
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 9, 2026 8:52pm UTC
openwork-den Ready Ready Preview Sep 9, 2026 8:52pm UTC
openwork-diagnostics Ready Ready Preview Sep 9, 2026 8:52pm UTC
openwork-landing Ready Ready Preview, v0 Sep 9, 2026 8:52pm UTC

@yomgui

yomgui commented Sep 9, 2026 •

Copy link
Copy Markdown
Member Author

Passed · 3/3 tests · 4/4 assertions · 2 images

Commit 6bda7271443e84246845390807fbdbeac72631cb · selected evidence

Open review report

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native 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

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 1
  • Distinct heads in retained window: 1
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 1/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@yomgui
yomgui merged commit d69ce11 into dev Sep 9, 2026
27 checks passed

This branch was successfully deployed

4 active deployments
Preview – openwork-landing — 6bda7271 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-app — 6bda7271 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-den — 6bda7271 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-diagnostics — 6bda7271 Deployed Sep 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant