Skip to content

Latest commit

 

History

History
44 lines (41 loc) · 12.8 KB

ci-plan.md

File metadata and controls

44 lines (41 loc) · 12.8 KB

What CI runs for what

Each case of the CI planner's table (tools/cli/test/ci-plan.cases.json), with what a pull request of that change runs. A case of several files planned one at a time shows its first. What CI runs explains the rules, and npm run tools -- ci explain <files> explains any change. Every pull request also runs changes, dollarlint, dependency-review, advisories and ci-ok.

Case Example Runs
Documentation alone runs only the docs job README.md, docs/guides/host.md, packages/renderers/database/README.md docs
Markdown a crate embeds or a generator reads or writes runs the Linux checks alone docs/reference/cli.md, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust)
One renderer's change runs that renderer's harness tests, the suites that bundle every renderer and the package check, on Linux packages/renderers/database/src/styles.css public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), package; browser: host/core ×3, storybook ×3, renderers/harness ×4, host/inspector ×2, rest (examples/renderers/minimal, cli, host/vscode-ui), 1 on macOS; the harness for database only
A scenario's extraction is its renderer's change packages/extractors/tetragon-policies/tests/fixtures/credentials/after.expected.json public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/core ×3, storybook ×3, renderers/harness ×4, host/inspector ×2, rest (examples/renderers/minimal, cli, host/vscode-ui), 1 on macOS; the harness for runtime-policy only
The kit every renderer uses runs the whole harness packages/renderers/kit/src/index.ts public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), package; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, host/vscode-ui), 2 on macOS
An Engine change runs the Rust, Windows, Verus, coverage and mutation jobs and every browser suite packages/engine/src/lib.rs public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), verus, windows, windows-node, windows-integration (browser), windows-integration (VS Code), package, coverage, mutants-diff; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, comparators/runtime/js, engine/js, host/vscode-ui), 2 on macOS
An extractor's change runs the Inspector, which extracts, and the CLI's other suites, but not the renderer harness packages/extractors/django-schema/src/lib.rs public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/inspector ×2, rest (examples/renderers/minimal, cli)
CI, toolchain, lockfile, tooling and rules changes, and unrecognised files, run every job .github/workflows/ci.yml, and each of the others Everything
The ci:full label runs everything README.md (labels ci:full, documentation) Everything
Pushes, the nightly run and manual runs run everything no files (push) Everything
A file a crate's sources read by path is that crate's change, though no manifest says so packages/schemas/fixtures/conformance.json, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), verus, windows, windows-node, windows-integration (browser), windows-integration (VS Code), package, coverage; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, comparators/runtime/js, engine/js, host/vscode-ui), 2 on macOS
A file only a crate's tests read runs its suites without changing what depends on it packages/schemas/fixtures/conformance.json public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), verus, windows, windows-node, windows-integration (browser), windows-integration (VS Code), package, coverage; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, comparators/runtime/js, engine/js, host/vscode-ui), 2 on macOS
Any file of a crate is a Rust change, and Markdown test data is not documentation packages/extractors/github-agentic-workflows/vendor/gh-aw/fields.json, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/inspector ×2, rest (examples/renderers/minimal, cli)
The default comparator, which packages/engine/js's build bundles, reaches it packages/comparators/default/src/lib.rs public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package, coverage, mutants-diff; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, comparators/runtime/js, engine/js, host/vscode-ui), 2 on macOS
The rules crate, which packages/comparators/runtime/js's build builds, reaches it packages/comparators/rules/src/lib.rs public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, comparators/runtime/js, host/vscode-ui), 2 on macOS
The package check runs for what the CLI serves packages/host/inspector/src/app/activity.tsx public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), package; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, host/vscode-ui), 2 on macOS
Release configuration runs the release check alone dist-workspace.toml public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), release-config
The GitHub Action's definition runs it on every platform action.yml public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), windows-node, windows-integration (browser), windows-integration (VS Code)
Hand-written documentation that crates embed and generators read, with plain documentation, runs the Linux checks alone CONTRIBUTING.md, docs/agents/ci.md, docs/agents/explore.md, docs/builtins/extractors/prisma-schema.md, packages/cli/README.md public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust)
A template a crate embeds is still that crate's change packages/cli/templates/SKILL.md public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/inspector ×2, rest (examples/renderers/minimal, cli)
macOS runs for Rust, the GitHub Action and the CLI's packaging scripts packages/engine/src/lib.rs, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), verus, windows, windows-node, windows-integration (browser), windows-integration (VS Code), package, coverage, mutants-diff; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, comparators/runtime/js, engine/js, host/vscode-ui), 2 on macOS
macOS doesn't run for other code, though Windows does packages/sdk/src/extractor.ts, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/core ×3, storybook ×3, host/inspector ×2, rest (examples/renderers/minimal, cli, host/vscode-ui)
A CLI change runs the Inspector, which explores through it, but not the renderer harness packages/cli/src/main.rs public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/inspector ×2, rest (examples/renderers/minimal, cli)
The renderer SDK, the schemas and the Engine's Wasm build run the whole harness packages/renderers/sdk/src/protocol.ts, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), package; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, host/vscode-ui), 2 on macOS
The Inspector and host the harness draws renderers in run it packages/host/core/src/frame.ts, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), package; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, host/vscode-ui), 2 on macOS
Documentation a crate or generator reads is checks, including files that don't exist yet packages/extractors/django-schema/NOTES.md, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust)
A file outside every workspace that only a generator reads or writes is code that touches nothing: the Linux checks brand/projections-mark.svg, and each of the others public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust)
LICENSE, which the CLI embeds, is the CLI's change LICENSE public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/inspector ×2, rest (examples/renderers/minimal, cli)
A file only the CLI's tests read runs the CLI's suites, but reaches nothing through it examples/comparators/priority-order/fixtures/after.json public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), windows, windows-node, windows-integration (browser), windows-integration (VS Code), package; browser: host/inspector ×2, rest (examples/renderers/minimal, cli)
Mutation testing leaves out the files .cargo/mutants.toml excludes packages/engine/src/wasm.rs public-product (ubuntu-latest, checks), public-product (ubuntu-latest, Node), public-product (ubuntu-latest, Rust), public-product (macos-latest, Rust), public-product (macos-latest, Node), verus, windows, windows-node, windows-integration (browser), windows-integration (VS Code), package, coverage; browser: host/core ×3, storybook ×3, renderers/harness ×12, host/inspector ×2, rest (examples/renderers/minimal, cli, comparators/runtime/js, engine/js, host/vscode-ui), 2 on macOS