Skip to content

Fast CI lane for the nine MIT OR Apache-2.0 libraries - #196

Merged
K-Arthur merged 6 commits into
masterfrom
codex/fast-library-ci-lane
Oct 30, 2026
Merged

K-Arthur merged 6 commits into
masterfrom
codex/fast-library-ci-lane

Conversation

@K-Arthur

@K-Arthur K-Arthur commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Route crate-only changes through a reusable .library-ci.yml lane selected by the canonical CI plan.
  • Run formatting, Clippy, and locked tests for only the changed crate packages. Then check and test all workspace dependants, including the FSL crates and WASM crate, and check and test the standalone desktop Tauri crate.
  • Keep CI / certification dependent on the reusable library workflow so it cannot pass when the library checks fail.
  • Read the Rust channel from rust-toolchain.toml; the lane uses SHA-pinned actions, read-only contents permissions, Rust caching, timeouts, concurrency control, and credential-free checkouts.
  • Root Cargo.toml and Cargo.lock changes are excluded from library-only classification and select the full Rust, WASM, and desktop lanes.
  • Document the local crate test command in docs/development/library-ci.md.

Verification

The planner regression tests create a temporary Git history with a selected crate change and assert that it selects only that crate. They then add a root Cargo.lock change and assert that library-only is false and the full Rust, WASM, and desktop lanes are selected. Direct policy assertions cover both Cargo.toml and Cargo.lock. The workflow contract tests require the library-only guard on Playwright, visual, and native desktop jobs and verify certification depends on the reusable library checks.

Passed locally:

  • node scripts/quality/ci-plan.test.mjs
  • node scripts/validate-workflows.test.mjs
  • node scripts/validate-workflows.mjs
  • node scripts/pin-github-actions.mjs --check
  • node scripts/security/workflow-policy.mjs
  • node scripts/security/workflow-policy.test.mjs
  • Direct planner path-policy checks and git diff --check

The hosted CI run for the branch is queued.

K-Arthur and others added 6 commits October 22, 2026 22:19
Full certification plans now carry libraryOnly and libraryPackages in
the integrity hash. Fixture plans and validateFullPlan must match the
canonical ci-plan payload so library-only classification cannot drift
from the changed path list.

Co-authored-by: Kevin Arthur <K-Arthur@users.noreply.github.com>
@K-Arthur
K-Arthur merged commit 67483fd into master Oct 30, 2026
56 checks passed
@K-Arthur
K-Arthur deleted the codex/fast-library-ci-lane branch October 30, 2026 16:11
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.

2 participants