Skip to content

WASM decider: typed cross-language codec and proto to WIT emitter #464

Description

@yordis

From the WASM decider roadmap (formerly WASM_TODO.md, now retired).

Publish a per-stream-type codec library component (encode/decode of version-faithful typed events) with WIT types generated from the same proto source, as an Nth codegen target beside Rust and Elixir.

Requirements:

  • Map proto open enums to WIT closed variants with an explicit unknown case
  • Handle field presence, maps, well-known types, and recursion
  • Until this lands, cross-language consumers decode event bytes with their own native proto library

Why: cross-language consumers of decider event streams currently need their own proto toolchain; a shared codec component removes that duplication and keeps event typing version-faithful across hosts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    rustPull requests that update rust code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions