test(agent-loop): remove review bookkeeping

This commit is contained in:
Tianyi Cui
2026-07-16 00:52:49 +08:00
parent fe132270a1
commit 2a6fef66ef
2 changed files with 10 additions and 11 deletions
+1 -2
View File
@@ -401,8 +401,7 @@ describe('Agent', () => {
// The waiter is internal agent state, NOT an effect-scoped ctx.on listener:
// disposing the OWNING fiber runs the agent's listener disposers, which would
// have dropped a ctx.on-based waiter before the 'disposed' transition and
// hung the promise. With internal waiters, the fiber disposer still settles
// it. Regression for the round-3 whenIdle finding.
// hung the promise. With internal waiters, the fiber disposer still settles it.
const adapter = new MockAdapter(['hang'])
const ctx = await harness(adapter)
let agent!: Agent