Skip to content

[codex] Add mise and shared Rust toolchain setup - #310

Merged
anp merged 24 commits into
mainfrom
codex/mise-toolchain
Jul 1, 2026
Merged

anp merged 24 commits into
mainfrom
codex/mise-toolchain

Conversation

@anp

@anp anp commented Jun 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

This makes mise the canonical project setup entrypoint for local development and CI. The PR adds .mise/config.toml with the Rust toolchains, Rust components, wasm target, Node version, and project CLI tools that the current build/test/demo workflows rely on.

It also updates CI to use that mise configuration through a shared setup action. The action keeps the unavoidable host package list intentionally small, installs mise-managed tools once per job, and configures rustup state so mise's cached Rust installs include requested components like clippy, rustfmt, llvm-tools-preview, and wasm32-unknown-unknown.

Finally, the workflow now has a terminal blocking CI job. That job always runs after the real CI jobs and fails if any required job fails, is cancelled, or is skipped, giving branch protection a single stable check name to require.

Intent

The goal is to make project setup reproducible without spreading toolchain pins and installer details across docs, CI jobs, and ad hoc local commands. Developers should be able to run mise install and get the same Rust/Node/tooling baseline that CI uses.

For CI specifically, the intent is to keep the workflow easy to delete or simplify later. The shared setup action centralizes today's non-Bazel setup, keeps system dependencies explicit and minimal, and leaves the individual jobs focused on the work they actually perform.

Notes

  • Rust is pinned in .mise/config.toml instead of rust-toolchain.toml.
  • The active Rust toolchain remains nightly-2021-10-30; this PR is about restoring the old toolchain under mise, not uprevving it.
  • cargo-watch, wasm-bindgen-cli, Cypress, and Netlify CLI are installed through mise because existing commands and CI jobs already depend on them.
  • Linux still installs libssl-dev as a host dependency because the old toolchain/tooling stack needs OpenSSL headers during setup.

@anp
anp marked this pull request as ready for review July 1, 2026 06:27
@anp
anp merged commit 9f7c4c2 into main Jul 1, 2026
18 checks passed
@anp
anp deleted the codex/mise-toolchain branch July 1, 2026 16:48
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