Files
oh-my-pi/packages/coding-agent/test
can1357 f44cf57f9b test(coding-agent): stop auto-compaction queue test from OOM-looping
The continue() mock used mockResolvedValue(), which never consumed the
queued follow-up. After threshold compaction, #endInFlight ->
#drainStrandedQueuedMessages -> #scheduleQueuedMessageDrain reschedules a
zero-delay continue whenever messages remain queued, so the no-op mock spun
the drain into an unbounded microtask loop that allocated until the test
worker OOM'd (~101GB) and segfaulted, taking sibling tests down with it.

Mirror real continue() semantics (it polls and consumes the queue) by
clearing the queues in the mock, matching the sibling steer-idle-drain
tests. The drain now settles after one resume.
2026-06-14 02:34:24 +02:00
..
2026-06-13 00:03:27 +02:00
2026-06-13 00:03:27 +02:00
2026-06-13 15:07:00 +00:00
2026-06-13 16:48:41 +02:00
2026-06-11 21:03:49 +02:00
2026-05-30 18:08:51 +02:00
2026-05-30 18:08:51 +02:00
2026-06-12 11:24:26 +02:00
2026-06-13 00:03:27 +02:00
2026-06-13 00:03:27 +02:00
2026-06-13 00:03:27 +02:00
2026-06-12 16:43:31 +00:00
2026-05-30 18:08:51 +02:00
2026-06-02 08:27:04 +02:00