Skip to content

fix(desktop): startup crash reports capture stdout too, not just stderr - #176

Merged
badcuban merged 1 commit into
mainfrom
worktree-crash-report-output-tail
Aug 23, 2026
Merged

badcuban merged 1 commit into
mainfrom
worktree-crash-report-output-tail

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Problem

The first two field reports of desktop.backend.startup_failed (v0.3.5, the Swedish user's machine) arrived with an empty stderr tail. The server is an Effect app whose logger reports fatal causes on stdout, so the stderr-only capture missed exactly the output the report exists to carry.

Fix

The per-run tail in DesktopBackendManager now interleaves stdout and stderr (same 8 KiB cap, same scrubbing and redaction before send), and the event property is renamed stderrTailoutputTail. The manager test now puts the fatal line on stdout, mirroring the real server.

The first field reports of desktop.backend.startup_failed arrived with an
empty stderr tail: the server is an Effect app whose logger reports fatal
causes on stdout, so stderr-only capture missed the one thing the report
exists to carry. The per-run tail now interleaves both streams (capped as
before) and the event property is renamed stderrTail -> outputTail.
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
threadlines Skipped Skipped Aug 23, 2026 3:30am

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Aug 23, 2026
@badcuban
badcuban merged commit 432926e into main Aug 23, 2026
13 checks passed
@badcuban
badcuban deleted the worktree-crash-report-output-tail branch August 23, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant