Repository navigation
CI: run only the jobs a change needs (site, docs, specs, plugins, code) - #87
Merged
Merged
Conversation
…he full matrix; site builds the site; docs, README and root Markdown run the docs-sync check and the tests that read them; specs, .amby, AGENTS.md and CLAUDE.md build, run sync --check, analyze and the tests that read them; a plugin runs its own build and tests. specs.yml folded into ci.yml; ci-ok gives one check to require later
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI runs only what a change needs. A first
changesjob sorts the changed files into groups (scripts/ci-changes.mjs), and each job runs only for its group.site/(andsrc/prompts/, which the site renders)docs/,README.md, root Markdown,public/,LICENSEspecs/,.amby/,AGENTS.md,CLAUDE.mdsync --check,analyzeand the tests that read those files (133 files)plugins/<name>/package.json)main. The test lists are chosen at run time by what each test reads, so they stay current.ci-okfails when any job that ran failed or was cancelled. No check is required onmaintoday, so skipped jobs never block a merge; if one becomes required, requireci-ok.specs.ymlis folded intoci.yml(it ran the full suite for a specs-only change).test/release/workflows.test.tschecks the new layout; 034:FR-007 (Node 22 on three systems, Node 20 only as the version-message check) still holds. The classifier has its own test.Checks