Define Protobuf Contracts #2

Closed
opened 2026-04-26 15:22:27 -04:00 by dohertj2 · 2 comments
Owner

Source: $file
Milestone: $currentMilestone

Labels: area:contracts, type:feature, priority:p0

Deliverables:

  • src/MxGateway.Contracts/Protos/mxaccess_gateway.proto,
  • src/MxGateway.Contracts/Protos/mxaccess_worker.proto,
  • MxAccessGateway service with OpenSession, CloseSession, Invoke, and
    StreamEvents,
  • WorkerEnvelope and worker IPC messages,
  • MxValue, MxArray, MxStatusProxy, MxEvent, and first-slice command
    payloads,
  • generated C# code.

Acceptance criteria:

  • generated code builds,
  • worker envelopes include protocol version, session id, sequence, and
    correlation id,
  • command replies preserve protocol status, HRESULT, return value, out params,
    and status arrays.

Tests:

  • protobuf generation smoke,
  • serialization round-trip for command, reply, event, value, and status.
Source: $file Milestone: $currentMilestone Labels: `area:contracts`, `type:feature`, `priority:p0` Deliverables: - `src/MxGateway.Contracts/Protos/mxaccess_gateway.proto`, - `src/MxGateway.Contracts/Protos/mxaccess_worker.proto`, - `MxAccessGateway` service with `OpenSession`, `CloseSession`, `Invoke`, and `StreamEvents`, - `WorkerEnvelope` and worker IPC messages, - `MxValue`, `MxArray`, `MxStatusProxy`, `MxEvent`, and first-slice command payloads, - generated C# code. Acceptance criteria: - generated code builds, - worker envelopes include protocol version, session id, sequence, and correlation id, - command replies preserve protocol status, HRESULT, return value, out params, and status arrays. Tests: - protobuf generation smoke, - serialization round-trip for command, reply, event, value, and status.
dohertj2 added this to the gateway-foundation milestone 2026-04-26 15:22:27 -04:00
dohertj2 added the area:contractstype:featurepriority:p0 labels 2026-04-26 15:22:27 -04:00
dohertj2 added a new dependency 2026-04-26 15:27:57 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:33 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:33 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:34 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:35 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:36 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:38 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:39 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:40 -04:00
Author
Owner

Worker 1 is taking this issue.

Branch: agent-1/issue-2-define-protobuf-contracts
Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-1

Worker 1 is taking this issue. Branch: agent-1/issue-2-define-protobuf-contracts Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-1
Author
Owner

Implemented and merged via PR #52: #52

Commit: a462f68dbd
Merge commit on main: 03ab36c4d5
Branch: agent-1/issue-2-define-protobuf-contracts

Verification:

  • dotnet build src\MxGateway.sln passed with 0 warnings and 0 errors.
  • dotnet test src\MxGateway.sln --no-build passed: 12 total tests.

Acceptance criteria verified: generated code builds, worker envelopes carry protocol version/session/sequence/correlation fields, command replies preserve status/HRESULT/return/out/status fields, and command/reply/event/value/status round-trip tests pass.

Implemented and merged via PR #52: https://gitea.dohertylan.com/dohertj2/mxaccessgw/pulls/52 Commit: a462f68dbd9f2ab815a8ba49907cc6dbe6ca4176 Merge commit on main: 03ab36c4d59243571df613e63c8b74a4525b32a2 Branch: agent-1/issue-2-define-protobuf-contracts Verification: - dotnet build src\\MxGateway.sln passed with 0 warnings and 0 errors. - dotnet test src\\MxGateway.sln --no-build passed: 12 total tests. Acceptance criteria verified: generated code builds, worker envelopes carry protocol version/session/sequence/correlation fields, command replies preserve status/HRESULT/return/out/status fields, and command/reply/event/value/status round-trip tests pass.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: dohertj2/mxaccessgw#2