You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Evaluate flatc/FlatBuffers-driven codegen vs hand-rolled schema/type conformance oracles #613
Area-Node-SDKNode.js and TypeScript SDK APIs, bindings, packaging, CLI integration, or tests.Area-Rust-SDKPublic Rust SDK APIs and integration with the MXC execution engine.Area-SchemaVersioned configuration contracts, JSON schemas, compatibility, or generated wire types.Issue-TaskEngineering, maintenance, or operational work that is not a bug or feature request.
Evaluate whether a schema-driven codegen pipeline — for example an internal FlatBuffers schema compiled with flatc — could replace the hand-rolled conformance oracles that keep the JSON schema, the generated Rust wire model, and the generated TypeScript wire types in agreement.
Today these artifacts are kept in sync by bespoke generators (mxc_schema_gen, wxc_common::ts_emit) plus hand-written conformance helpers and tests (sdk/tests/unit/conformance-helpers.ts, wire-conformance*.test.ts). Branden Bonaby (@bbonaby) raised in review of #580 that a single FlatBuffer schema could instead drive flatc-generated JSON schema, Rust types, and TypeScript types, with the FlatBuffer SDK verifying JSON — potentially reducing the amount of bespoke code we author and maintain.
The current no-third-party-generator approach is deliberate. The outcome of this task is a recommendation weighing that trade-off (maintenance cost and comprehensibility of the hand-rolled oracles vs. adopting an external generator/toolchain), not a commitment to switch.
This issue is a design-evaluation task covering the schema/codegen pipeline — specifically whether mxc_schema_gen / wxc_common::ts_emit (Rust build tooling), the generated TypeScript wire types, and the SDK configuration schema could be replaced by a FlatBuffers/flatc-driven pipeline. All three area labels are applicable.
Owner assignment: No owner was assigned — the existing assignment map does not include an owner whose primary area is schema/codegen tooling. The individuals already engaged (Gudge (@MGudgin) as author, @bbonaby as the reviewer who raised the original concern in #580) are likely the natural drivers of this evaluation.
Labels applied:Area-Executor-Schema (the core ask is evaluating the schema codegen pipeline — mxc_schema_gen / JSON schema generation from the Rust wire model), Area-Test-SDK (the issue explicitly references the SDK conformance tests: sdk/tests/unit/conformance-helpers.ts, wire-conformance*.test.ts). Existing labels Area-SDK-Configuration, Area-Build-Rust, and Area-Build-TypeScript remain in place.
Owner assigned: None — no entry in the owner assignment map covers SDK/schema codegen tooling specifically.
This issue already carries all relevant area labels (Area-SDK-Configuration, Area-Executor-Schema, Area-Build-Rust, Area-Build-TypeScript, Area-Test-SDK), so no new labels were applied.
Assigned:@bbonaby (raised the original concern, owns Rust build / networking) and @huzaifa-d (SDK API, executor schema, TypeScript build).
Closing because the versioning work selected exact Rust contracts as the authoritative source for schemas and generated TypeScript artifacts in #1188, with the infrastructure hardened in #1189. A separate FlatBuffers evaluation is no longer actionable.
Area-Node-SDKNode.js and TypeScript SDK APIs, bindings, packaging, CLI integration, or tests.Area-Rust-SDKPublic Rust SDK APIs and integration with the MXC execution engine.Area-SchemaVersioned configuration contracts, JSON schemas, compatibility, or generated wire types.Issue-TaskEngineering, maintenance, or operational work that is not a bug or feature request.
Activity
github-actions commentedon Jul 7, 2026
Triage summary
Labels applied:
Area-Build-Rust,Area-Build-TypeScript,Area-SDK-ConfigurationThis issue is a design-evaluation task covering the schema/codegen pipeline — specifically whether
mxc_schema_gen/wxc_common::ts_emit(Rust build tooling), the generated TypeScript wire types, and the SDK configuration schema could be replaced by a FlatBuffers/flatc-driven pipeline. All three area labels are applicable.Owner assignment: No owner was assigned — the existing assignment map does not include an owner whose primary area is schema/codegen tooling. The individuals already engaged (Gudge (@MGudgin) as author,
@bbonabyas the reviewer who raised the original concern in #580) are likely the natural drivers of this evaluation.Needs-Triagehas been removed.github-actions commentedon Jul 7, 2026
Triage summary
Labels applied:
Area-Executor-Schema(the core ask is evaluating the schema codegen pipeline —mxc_schema_gen/ JSON schema generation from the Rust wire model),Area-Test-SDK(the issue explicitly references the SDK conformance tests:sdk/tests/unit/conformance-helpers.ts,wire-conformance*.test.ts). Existing labelsArea-SDK-Configuration,Area-Build-Rust, andArea-Build-TypeScriptremain in place.Owner assigned: None — no entry in the owner assignment map covers SDK/schema codegen tooling specifically.
Needs-Triage: Removed (labels were applied).
Add SDK/schema/build/test area owners and theelliotm to triage owner map
Fix gh-aw triage: gateway crash hotfix + fill owner-map assignment gap (
github-actions commentedon Jul 13, 2026
Triage summary
This issue already carries all relevant area labels (
Area-SDK-Configuration,Area-Executor-Schema,Area-Build-Rust,Area-Build-TypeScript,Area-Test-SDK), so no new labels were applied.Assigned:
@bbonaby(raised the original concern, owns Rust build / networking) and@huzaifa-d(SDK API, executor schema, TypeScript build).Needs-Triagewas not present on this issue.huzaifa-d commentedon Jul 21, 2026
Will continue with this once we have the E2E testing in place.
MGudgin commentedon Jul 21, 2026
Please leave this item assigned to me. I will address it as part of the versioning work I am doing or as a follow on.
MGudgin commentedon Sep 23, 2026
Closing because the versioning work selected exact Rust contracts as the authoritative source for schemas and generated TypeScript artifacts in #1188, with the infrastructure hardened in #1189. A separate FlatBuffers evaluation is no longer actionable.