Files
orca/src/main/observability
OrcaWinandm4air 00d1545a65 fix(diagnostics): crash bundles always keep the terminal daemon's newest log lines (#30690)
* fix(diagnostics): reserve a share of the crash bundle for the daemon log

Trace spans (git.exec, renderer_memory) fill the 4 MiB bundle cap on busy
hosts, and the daemon log was read only after them, so 11 of 13 recent
Windows renderer-OOM bundles carried no daemon lines at all: no session
counts, no daemon deaths, no process-growth level.

Collect the daemon log first with a 1 MiB budget; whatever it leaves
unused still goes to trace spans.

* fix(diagnostics): return unused bundle space to the daemon log

The 1 MiB share is now a floor, not a cap: after spans are collected the daemon
log takes whatever they left, so a chatty daemon beside quiet traces keeps up to
the whole bundle as before.

---------

Co-authored-by: m4air <m4air@Mac.localdomain>
2026-10-19 02:47:39 -07:00
..