From 1e83bbf6f030ca91644b1864dd6c36f956531219 Mon Sep 17 00:00:00 2001 From: Travis Vanderstad Date: Thu, 12 Nov 2026 22:29:22 -0500 Subject: [PATCH 1/2] ci: also test with the prebuilt spec Builds without typst on PATH use the prebuilt spec, which CI never exercised, so it drifted from packages/mitex/specs unnoticed. Six tests fail on this path until the next commit regenerates it. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 103776f..9024251 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: with: { targets: wasm32-unknown-unknown } - uses: mozilla-actions/sccache-action@v0.0.9 - run: cargo test --workspace --no-fail-fast + - run: cargo test -p mitex --no-fail-fast --features mitex-spec-gen/prebuilt checks: name: Check clippy, formatting, and documentation runs-on: ubuntu-latest From 7275e18545869e5270d87cd841760b689257014d Mon Sep 17 00:00:00 2001 From: Travis Vanderstad Date: Thu, 12 Nov 2026 22:12:16 -0500 Subject: [PATCH 2/2] build: regenerate the prebuilt spec from packages/mitex/specs Builds without typst on PATH fall back to the prebuilt spec, which predates spec changes such as #207: \partial converts to diff, \color is missing, and six tests fail with --features mitex-spec-gen/prebuilt. The new default.rkyv is byte-identical to what the generate path builds from these specs, and brings over all 90 drifted entries. --- crates/mitex-spec-gen/assets/artifacts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mitex-spec-gen/assets/artifacts b/crates/mitex-spec-gen/assets/artifacts index 9eb762a..303ec41 160000 --- a/crates/mitex-spec-gen/assets/artifacts +++ b/crates/mitex-spec-gen/assets/artifacts @@ -1 +1 @@ -Subproject commit 9eb762afa001b36205408c7615a73e5dfaa6f80a +Subproject commit 303ec4173a3b85bb9ce6a98a1bc0b42f06257394