Skip to content

fix(local): Show SDK exception messages and stacks - #1503

Merged
MathurAditya724 merged 1 commit into
mainfrom
codex/local-exception-details
Oct 15, 2026
Merged

MathurAditya724 merged 1 commit into
mainfrom
codex/local-exception-details

Conversation

@MathurAditya724

Copy link
Copy Markdown
Member

SDK exception events with request contexts currently appear under the request route and have an empty Overview. Local now uses the current exception type/message as the title and shows exception causes, stack frames, source locations and captured source lines. Message-only errors show their message in both the title and Overview; raw JSON is preserved. Explicit SDK causes are distinguished from aggregate or unrelated exceptions.

Regressions exercise a scrubbed SDK payload through the real receiver/SSE path, plus partial/malformed data, stack ordering and source-text escaping. Browser QA with two running Node SDK applications verified exception rendering, JSON fidelity, manual session switching and runtime retention changes from the CLI and locally served UI. The guide clarifies that hosted viewers are read-only and session switching currently uses stream URLs.

All 128 viewer tests and the production build pass, as do workspace typecheck/lint and the Local process E2E suite. The full workspace gate still encounters the two previously deferred macOS installer and DerivedData test-isolation failures; those files are unchanged.

Refs #1492.

Render exception causes and stack locations in Overview, preserve raw JSON, and keep error messages ahead of request names.

Refs #1492

Co-Authored-By: GPT-6 Codex <noreply@openai.com>
@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
sentry-local Ready Ready Preview Oct 15, 2026 12:46pm UTC

Request Review

Comment thread apps/local/src/App.integration.test.tsx
@MathurAditya724
MathurAditya724 marked this pull request as ready for review October 15, 2026 21:49
@MathurAditya724
MathurAditya724 merged commit 9677b1c into main Oct 15, 2026
27 of 28 checks passed
@MathurAditya724
MathurAditya724 deleted the codex/local-exception-details branch October 15, 2026 21:49
MathurAditya724 added a commit that referenced this pull request Oct 15, 2026
Merge main after PR #1503, reuse the CLI brand asset, simplify receiver copy, and make event and trace inspection usable on narrow screens.

Use the shared Settings dialog from mobile receiver actions and cover focus handoff, retention bounds, and live system-theme changes.

Co-Authored-By: GPT-6 Codex <noreply@openai.com>

This branch was successfully deployed

1 active deployment
Preview — 3c3cb46a Deployed Oct 15, 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