Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/cli/tests/repl-agent-interface.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,12 @@ describe("U1 — one chronology, filtered, undisturbed by the background", () =>
"both started turns reporting their conversation",
() => started(session) === 2,
);
// And the queued one being observed, which is a different fact: a turn is a
// row as soon as its Prompt is observed, and a turn held before it produces
// anything never reports a conversation — so waiting for the two that do
// says nothing about whether the third is there yet. This row ends by
// counting all three under All.
yield* until(session, "all three Prompts being observed", () => observed(session) === 3);
// In the order the provider was reached, among the turns it has answered:
// which spawn gets there first is the scheduler's business, and a queued turn
// has no conversation to be ordered by at all.
Expand Down
Loading