Skip to content

chore(conformance): re-bless for comline-rust protocol codegen - #13

Merged
Kinflou merged 1 commit into
masterfrom
chore/conformance-rust-protocol-rebless
Sep 1, 2026
Merged

chore(conformance): re-bless for comline-rust protocol codegen#13
Kinflou merged 1 commit into
masterfrom
chore/conformance-rust-protocol-rebless

Conversation

@Kinflou

@Kinflou Kinflou commented Sep 1, 2026

Copy link
Copy Markdown
Member

Follow-up to comline-rust#2 (the RPC-shape generator, merged).

  • Bumps comline-codegen-rust → comline-rust main (protocol codegen), comline-codegen-typescript → its merged rev.
  • protocol/rust.rs: the full RPC shape now — params structs, per-fn + union error enums (NotFound at ordinal 0), the Service trait, the Dispatch impl, the Client stub.
  • optional_and_arrays/rust.rs, type_refs/rust.rs: optional fields now render Option<T> — the old generator dropped the flag entirely. A known conformance gap, fixed incidentally by the field-rendering rewrite.
  • Import line reordered to {Deserialize, Serialize} across the rust goldens.

TypeScript goldens unchanged. cargo test --workspace green (corpus_matches_golden passes against the re-blessed goldens).

Bumps the dev-dep on comline-codegen-rust to comline-rust#2 (the RPC-shape
generator) and comline-codegen-typescript to its merged rev, then
re-blesses the goldens.

- protocol/rust.rs: the full RPC shape now -- params structs, per-fn +
  union error enums (NotFound at ordinal 0), the Service trait, the
  Dispatch impl, the Client stub.
- optional_and_arrays/rust.rs, type_refs/rust.rs: `optional` fields now
  render `Option<T>` -- the old generator dropped the flag. (A known
  conformance gap, fixed incidentally by the field-rendering rewrite.)
- import line reordered to `{Deserialize, Serialize}` across the rust
  goldens.

typescript goldens unchanged.
@Kinflou
Kinflou merged commit d89fb1b into master Sep 1, 2026
2 checks passed
@Kinflou
Kinflou deleted the chore/conformance-rust-protocol-rebless branch September 2, 2026 07:21
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