Implement Rust Client, Session, Values, Errors, And CLI #44

Closed
opened 2026-04-26 15:22:38 -04:00 by dohertj2 · 3 comments
Owner

Source: $file
Milestone: $currentMilestone

Labels: area:client-rust, type:feature, priority:p0

Deliverables:

  • ClientOptions,
  • GatewayClient::connect,
  • auth interceptor,
  • TLS/plaintext channel,
  • session helpers,
  • event stream as Stream<Item = Result<MxEvent, Error>>,
  • thiserror error model,
  • conversion helpers,
  • clap CLI,
  • JSON output with serde_json.

Acceptance criteria:

  • metadata includes bearer key,
  • dropped stream cancels underlying stream,
  • raw generated client remains reachable where needed,
  • fixture tests pass,
  • command errors keep raw reply,
  • API key is redacted from debug output.

Tests:

  • fake tonic server,
  • auth tests,
  • stream order/cancel,
  • conversion fixtures,
  • CLI parser/output.
Source: $file Milestone: $currentMilestone Labels: `area:client-rust`, `type:feature`, `priority:p0` Deliverables: - `ClientOptions`, - `GatewayClient::connect`, - auth interceptor, - TLS/plaintext channel, - session helpers, - event stream as `Stream<Item = Result<MxEvent, Error>>`, - `thiserror` error model, - conversion helpers, - `clap` CLI, - JSON output with `serde_json`. Acceptance criteria: - metadata includes bearer key, - dropped stream cancels underlying stream, - raw generated client remains reachable where needed, - fixture tests pass, - command errors keep raw reply, - API key is redacted from debug output. Tests: - fake tonic server, - auth tests, - stream order/cancel, - conversion fixtures, - CLI parser/output.
dohertj2 added this to the clients-rust milestone 2026-04-26 15:22:38 -04:00
dohertj2 added the area:client-rusttype:featurepriority:p0 labels 2026-04-26 15:22:38 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:42 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:42 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:42 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:43 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:44 -04:00
Author
Owner

Worker 2 is taking this issue.

Branch: agent-2/issue-44-implement-rust-client-session-values-errors-and-cli
Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-2

Worker 2 is taking this issue. Branch: agent-2/issue-44-implement-rust-client-session-values-errors-and-cli Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-2
dohertj2 self-assigned this 2026-04-26 20:08:44 -04:00
Author
Owner

Implemented and merged via PR #95.

Verification performed by orchestrator from clients/rust:

  • cargo fmt --all --check passed.
  • cargo test --workspace passed: 18 tests total across library, behavior, fixtures, and CLI tests.
  • cargo check --workspace passed.
  • cargo clippy --workspace --all-targets -- -D warnings passed.
  • git diff --check origin/main...HEAD passed before merge.

Reviewed branch state: branch was one commit ahead of current origin/main and mergeable.

Implemented and merged via PR #95. Verification performed by orchestrator from `clients/rust`: - `cargo fmt --all --check` passed. - `cargo test --workspace` passed: 18 tests total across library, behavior, fixtures, and CLI tests. - `cargo check --workspace` passed. - `cargo clippy --workspace --all-targets -- -D warnings` passed. - `git diff --check origin/main...HEAD` passed before merge. Reviewed branch state: branch was one commit ahead of current `origin/main` and mergeable.
Author
Owner

Milestone clients-rust is complete.

Closed issues:

  • #43 Scaffold Rust Workspace, merged via PR #90.
  • #44 Implement Rust Client, Session, Values, Errors, And CLI, merged via PR #95.

Final verification for #44:

  • cargo fmt --all --check passed.
  • cargo test --workspace passed.
  • cargo check --workspace passed.
  • cargo clippy --workspace --all-targets -- -D warnings passed.
Milestone `clients-rust` is complete. Closed issues: - #43 Scaffold Rust Workspace, merged via PR #90. - #44 Implement Rust Client, Session, Values, Errors, And CLI, merged via PR #95. Final verification for #44: - `cargo fmt --all --check` passed. - `cargo test --workspace` passed. - `cargo check --workspace` passed. - `cargo clippy --workspace --all-targets -- -D warnings` passed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: dohertj2/mxaccessgw#44