Skip to content

Get changed-modules-ci

get changed-modules-ci - Get modules requiring rebuild since last successful CI run

Flags

Flag Description
--pr-base For PRs, the base SHA to compare against
--filter-workflows Only include modules that have a ci-{module}.yaml workflow file
--format Output format (shell outputs shell variables; otherwise uses standard get command formats)

Notes

Expected Output:

YAML list of modules needing rebuild based on per-module CI state.

Per-module change detection: For each module with a ci-{module}.yaml workflow: 1. Query the module's last successful CI run 2. If CI passed at current HEAD SHA → skip (no rebuild needed) 3. If CI passed at different SHA → check if module's files changed 4. If no CI history → module needs CI (but NOT bootstrap for all)

Output includes: - All modules requiring rebuild (directly changed + transitive dependents) - Directly changed modules (files modified since module's last CI success) - Invalidated modules (transitive dependents requiring rebuild) - Per-module CI status reasoning

With --format shell, outputs shell variable assignments: MODULES="mod1 mod2 mod3" DIRECTLY_CHANGED="mod1 mod2" INVALIDATED="mod3" BASE_SHA="per-module" IS_BOOTSTRAP="false" CHANGED_FILE_COUNT="5"

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.