Issue #11: implement gateway workerclient #64

Merged
dohertj2 merged 1 commits from agent-3/issue-11-implement-gateway-workerclient into main 2026-04-26 17:14:05 -04:00
Owner

Implements the gateway-side WorkerClient for issue #11.

Summary:

  • Adds IWorkerClient, state/error/options/connection types, and WorkerClient read/write/heartbeat loops.
  • Implements GatewayHello/WorkerHello/WorkerReady handshake, command correlation, event channel dispatch, late reply handling, pipe faulting, heartbeat expiration, shutdown, and kill handling.
  • Adds named-pipe fake-worker tests for ready handshake, command replies, late replies, ordered events, pipe disconnect, and heartbeat expiration.
  • Updates gateway process design docs for the implemented WorkerClient surface.

Verification:

  • dotnet build src\MxGateway.sln
  • dotnet test src\MxGateway.Tests\MxGateway.Tests.csproj --no-build --filter FullyQualifiedName~WorkerClientTests
  • dotnet test src\MxGateway.sln --no-build
Implements the gateway-side WorkerClient for issue #11. Summary: - Adds IWorkerClient, state/error/options/connection types, and WorkerClient read/write/heartbeat loops. - Implements GatewayHello/WorkerHello/WorkerReady handshake, command correlation, event channel dispatch, late reply handling, pipe faulting, heartbeat expiration, shutdown, and kill handling. - Adds named-pipe fake-worker tests for ready handshake, command replies, late replies, ordered events, pipe disconnect, and heartbeat expiration. - Updates gateway process design docs for the implemented WorkerClient surface. Verification: - dotnet build src\MxGateway.sln - dotnet test src\MxGateway.Tests\MxGateway.Tests.csproj --no-build --filter FullyQualifiedName~WorkerClientTests - dotnet test src\MxGateway.sln --no-build
dohertj2 added 1 commit 2026-04-26 17:13:14 -04:00
dohertj2 merged commit 0b0be7098e into main 2026-04-26 17:14:05 -04:00
Sign in to join this conversation.