[ci] Inventory workflow jobs explicitly - #3576
Open
joshlf wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## Gqofuqcjxqt64bw7di2snqyunualoi3ht #3576 +/- ##
====================================================================
Coverage ? 91.85%
====================================================================
Files ? 20
Lines ? 6093
Branches ? 0
====================================================================
Hits ? 5597
Misses ? 496
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Aug 25, 2026
Add a narrow scanner for every lower-case YAML workflow file and its canonical top-level job IDs. Compare that live inventory with a sorted, reviewed registry which assigns each job a plain-language role. Reject quoted or anchored job declarations, duplicate jobs, unfamiliar jobs keys, case-variant YAML extensions, unsorted registry rows, unknown roles, and any missing or unreviewed job. Continue using action-validator for the complete YAML and GitHub Actions schema rather than implementing another YAML interpreter in zc. This commit only establishes the handwritten-workflow inventory boundary. Its crate-private entry point is temporarily allowed to be unused outside tests; the all-input boundary removes that allowance when it begins calling the audit. Later checks use the roles to constrain generated data and keep required static validation and aggregation jobs visible. Tests: CARGO_NET_OFFLINE=true ./ci/check_tools.sh Tests: ./ci/check_fmt.sh *Authored by an agent, posting via joshlf's account* gherrit-pr-id: Ghrxpfppzzenc5ecwz3u273gd42e4psk7
joshlf
force-pushed
the
Gqofuqcjxqt64bw7di2snqyunualoi3ht
branch
from
August 25, 2026 18:32
4aa8517 to
0c5a889
Compare
joshlf
force-pushed
the
Ghrxpfppzzenc5ecwz3u273gd42e4psk7
branch
from
August 25, 2026 18:32
ca89a5d to
1b5b56e
Compare
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.
Add a narrow scanner for every lower-case YAML workflow file and its
canonical top-level job IDs. Compare that live inventory with a sorted,
reviewed registry which assigns each job a plain-language role.
Reject quoted or anchored job declarations, duplicate jobs, unfamiliar
jobs keys, case-variant YAML extensions, unsorted registry rows, unknown
roles, and any missing or unreviewed job. Continue using
action-validator for the complete YAML and GitHub Actions schema rather
than implementing another YAML interpreter in zc.
This commit only establishes the handwritten-workflow inventory
boundary. Its crate-private entry point is temporarily allowed to be
unused outside tests; the all-input boundary removes that allowance when
it begins calling the audit. Later checks use the roles to constrain
generated data and keep required static validation and aggregation jobs
visible.
Tests: CARGO_NET_OFFLINE=true ./ci/check_tools.sh
Tests: ./ci/check_fmt.sh
Authored by an agent, posting via joshlf's account
Latest Update: v3 — Compare vs v2
📚 Full Patch History
Links show the diff between the row version and the column version.
⬇️ Download this PR
Branch
git fetch origin refs/heads/Ghrxpfppzzenc5ecwz3u273gd42e4psk7 && git checkout -b pr-Ghrxpfppzzenc5ecwz3u273gd42e4psk7 FETCH_HEADCheckout
git fetch origin refs/heads/Ghrxpfppzzenc5ecwz3u273gd42e4psk7 && git checkout FETCH_HEADCherry Pick
git fetch origin refs/heads/Ghrxpfppzzenc5ecwz3u273gd42e4psk7 && git cherry-pick FETCH_HEADPull
Stacked PRs enabled by GHerrit.