Summary
Qwen Code PR #6018 replaces full-history cloning with compact diagnostics in OOM-prone paths. The change targets memory failures caused by large session histories and forked-agent snapshots.
What changed
Qwen Code optimized error-reporting and forked-agent snapshot paths to avoid cloning full conversation history.
Why it matters
As coding agents run longer and spawn subagents, transcript size becomes infrastructure risk. Reducing history cloning helps make multi-agent coding workflows more reliable under real project workloads.
Evidence excerpt
PR #6018 is described as avoiding full-history clones in OOM-prone paths by using compact diagnostics in error reporting and forked-agent snapshots.