Files
codex/codex-rs/feedback/src
Tamir Duberstein 77e452a15e Bound feedback attachment memory
Feedback uploads collect rollouts for the requested thread and its
complete agent subtree. A long-running thread on macOS had 1,224
rollout files totaling 107.2 GiB, so collecting attachments exhausted
memory before the upload could complete. The Sentry transport then
serializes the envelope into another contiguous buffer, doubling the
pressure.

Limit subtree collection to the requested thread plus three
descendants. Read at most 2 MiB from the tail of each file-backed
attachment and 8 MiB total. Record the original subtree size in
feedback tags so truncated reports remain diagnosable.
2026-06-15 10:47:08 -04:00
..
2026-06-15 10:47:08 -04:00