Skip to content

test(client): cover v1 client openings and subagents over the wire and across transports - #185

Open
EugeneTheDev wants to merge 1 commit into
eugenethedev/subagents-stack/09-clientfrom
eugenethedev/subagents-stack/10-client-tests
Open

EugeneTheDev wants to merge 1 commit into
eugenethedev/subagents-stack/09-clientfrom
eugenethedev/subagents-stack/10-client-tests

Conversation

@EugeneTheDev

@EugeneTheDev EugeneTheDev commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Part 10 of 11 of the stacked split of #158 (v1 subagents).

Contents

  • ClientSessionOpenedTest: when and how Opened reaches the operations, for every opening overload.
  • ClientEarlySessionRequestsTest and ClientPromptTurnTest: requests and turns around the opening answer.
  • ClientSubagentCloseTest and ClientSubagentSessionsTest: the subagent tree, cancel grants, closing and
    failure cascades.
  • Helpers RootOpening and SubagentTreeOperations, on 08's ScriptedAgentTransport.
  • Cross-transport SubagentsTest with SubagentTestSupport, run over STDIO and WebSocket.

Caveats

  • No production code.

Stack

  1. chore: add the multi-agent orchestration tooling #176 — chore: add the multi-agent orchestration tooling
  2. build: move buildSrc to build-logic and check that internal packages hold no public API #177 — build: move buildSrc to build-logic and check that internal packages hold no public API
  3. docs(samples): give each sample its own package, run task and README #178 — docs(samples): give each sample its own package, run task and README
  4. refactor: move MaybeUndefined to the model package and runtime internals to internal packages #179 — refactor: move MaybeUndefined to the model package and runtime internals to internal packages
  5. feat(protocol)!: order handler starts by arrival and add response hooks #180 — feat(protocol)!: order handler starts by arrival and add response hooks
  6. feat(model): add the v1 subagent models and promote session/close to stable #181 — feat(model): add the v1 subagent models and promote session/close to stable
  7. fix(client): make v2 close and delete idempotent and add PendingPermissions #182 — fix(client): make v2 close and delete idempotent and add PendingPermissions
  8. feat!: add v1 subagents to the agent runtime and deliver session events through ClientSessionOperations.notify #183 — feat!: add v1 subagents to the agent runtime and deliver session events through ClientSessionOperations.notify
  9. feat(client)!: add v1 subagent sessions and the Opened marker to the client runtime #184 — feat(client)!: add v1 subagent sessions and the Opened marker to the client runtime
  10. test(client): cover v1 client openings and subagents over the wire and across transports #185 — test(client): cover v1 client openings and subagents over the wire and across transports ← this PR
  11. docs(samples): add a subagents sample #186 — docs(samples): add a subagents sample

Next steps

…d across transports

- Wire-level tests on `ScriptedAgentTransport`: `ClientSessionOpenedTest`,
  `ClientEarlySessionRequestsTest`, `ClientPromptTurnTest`,
  `ClientSubagentCloseTest` and `ClientSubagentSessionsTest`, with the
  `RootOpening` and `SubagentTreeOperations` helpers.
- Cross-transport `SubagentsTest`, run over STDIO and WebSocket, with
  `SubagentTestSupport`.
@EugeneTheDev
EugeneTheDev force-pushed the eugenethedev/subagents-stack/10-client-tests branch from b32a300 to 868dee1 Compare December 4, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant