fix(server): drain queued native child continuations

Use consumed pending-work snapshots to retain owned child ingestion through native continuations, then release it when work drains. Keep the thread-scoped fallback for adapters without snapshots.

Source: https://github.com/pingdotgg/t3code/pull/19388

Co-authored-by: Exotic209093 <134711311+Exotic209093@users.noreply.github.com>
5c93a777faJulius Marminge committed on 10/19/2026, 3:16:14 AMparentb2d5051

Checks

All checks passed
2 files changedLine totals unavailable