Skip to content

chore: docs, CI, tooling, and dotli integration for the Rust core#253

Open
pgherveou wants to merge 19 commits into
rust-core/05-host-wasmfrom
rust-core/06-docs-ci-tooling
Open

chore: docs, CI, tooling, and dotli integration for the Rust core#253
pgherveou wants to merge 19 commits into
rust-core/05-host-wasmfrom
rust-core/06-docs-ci-tooling

Conversation

@pgherveou

@pgherveou pgherveou commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Carries the top integration layer: docs/CI/tooling, playground support, and dotli host integration for the Rust core stack.

This update points dotli at the namespaced callback implementation, keeps the playground preimage-submit e2e timeout aligned with SSO-backed operations, and records a dotli submodule commit that is pushed to the dotli worktree-issue-96-rust-core-port branch.

Stack

Part of the Rust core runtime port umbrella #104. Full port sequence:

  1. feat(truapi): add testing API and versioned wiring #248 - layer 1/9, merged historical: truapi testing API and versioned wiring.
  2. feat(truapi-platform): add host capability traits #249 - layer 2/9, merged historical: truapi-platform host capability traits.
  3. feat(truapi-codegen): emit Rust dispatcher, wire table, and host callbacks #254 - layer 3/9, merged historical: codegen Rust dispatcher, wire table, and host callbacks.
  4. feat(truapi-server): add host logic primitives #255 - layer 4/9, merged historical: server host logic primitives.
  5. feat(truapi-server): add wire and chain infrastructure #256 - layer 5/9, merged historical: server wire and chain infrastructure.
  6. feat(truapi-server): add platform runtime and host bridge #250 - active layer 1/4: server runtime, permissions, lifecycle, and permission-flow docs.
  7. feat(codegen): generate wasm bridge callbacks #265 - active layer 2/4: generic wasm bridge/codegen layer.
  8. feat(host-wasm): add @parity/truapi-host-wasm runtime #252 - active layer 3/4: @parity/truapi-host-wasm namespaced callback consumer.
  9. 👉 chore: docs, CI, tooling, and dotli integration for the Rust core #253 - active layer 4/4, top: docs, CI/tooling, playground, and dotli integration. This PR.

This top active child is kept tree-equivalent with umbrella #104.

Validation

  • make wasm
  • cd hosts/dotli && bun run typecheck && bun run test
  • Top branch tree verified equal to the umbrella branch tree locally before push.

@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from b137a87 to 23b8487 Compare June 30, 2026 22:10
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 4c04a81 to 653553f Compare June 30, 2026 22:10
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from 23b8487 to 1a3f7b8 Compare June 30, 2026 22:12
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 653553f to c912c54 Compare June 30, 2026 22:14
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from 1a3f7b8 to 4d25aec Compare June 30, 2026 22:27
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch 2 times, most recently from caf5db9 to b06cd62 Compare July 1, 2026 06:39
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch 2 times, most recently from ee1a104 to 36356d0 Compare July 1, 2026 06:43
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from b06cd62 to 11ca719 Compare July 1, 2026 06:43
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from 36356d0 to f71e58a Compare July 1, 2026 08:14
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 11ca719 to 693ed9b Compare July 1, 2026 08:14
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 693ed9b to 2d5bd01 Compare July 1, 2026 08:44
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from f71e58a to 1aa779b Compare July 1, 2026 09:26
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 2d5bd01 to 09cc038 Compare July 1, 2026 09:26
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 09cc038 to 61a2deb Compare July 1, 2026 13:22
@replghost

Copy link
Copy Markdown
Contributor

Small suggestion from the runtime-boundary review: after ./scripts/codegen.sh in the Codegen job, consider adding:

- name: Check generated Rust output is committed
  run: git diff --exit-code -- rust/crates/truapi-server/src/generated

- name: Check Rust/TS wire table parity
  run: TRUAPI_REQUIRE_GENERATED_TS=1 cargo test -p truapi-server --test wire_table_ts_parity

That would make generated Rust dispatcher/wire-table drift and TS/Rust wire-table parity fail in CI directly, instead of relying on the broader workspace test behavior.

@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from 79ffd50 to e895f87 Compare July 1, 2026 20:38
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch 2 times, most recently from b09f4ad to a5945ca Compare July 1, 2026 21:23
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from e895f87 to 3502aca Compare July 1, 2026 21:23
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from a5945ca to f78e678 Compare July 2, 2026 08:14
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch 2 times, most recently from 6b61321 to 995d10e Compare July 2, 2026 08:59
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from f78e678 to 7b8c9a2 Compare July 2, 2026 08:59
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from 995d10e to a8858d6 Compare July 2, 2026 10:59
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 7b8c9a2 to 4ed0495 Compare July 2, 2026 10:59
pgherveou added 3 commits July 3, 2026 17:26
Updates CLAUDE.md/README, CI workflows, Makefile, deny.toml, changesets, and
linguist attributes for generated code, and bumps the dotli submodule to the
host integration that consumes the WASM runtime.
@pgherveou pgherveou force-pushed the rust-core/05-host-wasm branch from a8858d6 to e33df7c Compare July 3, 2026 15:32
@pgherveou pgherveou force-pushed the rust-core/06-docs-ci-tooling branch from 4ed0495 to 518d270 Compare July 3, 2026 15:32
Comment thread .github/workflows/ci.yml
pull_request:
push:
branches: [main, release/v0.3.2]
branches: [main, release/v0.3.0]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this pointing to an older release??

Comment thread .github/workflows/ci.yml
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this PR needs updating as all pinned dependencies and the release tag are outdated compared to main

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.

3 participants