Repository navigation
Description
Goal
The ci-status gate job (lint-repo in .github/workflows/pr-require-checks.yml) runs the runner-policy engine from a run-time checkout of melodic-software/standards (components/runner-policy/) instead of from the synced copy under .github/standards/runner-policy/. Docs and config that point babysit at the copy point at the standards component instead.
Basis
Brief acceptance Q2 of the standards sync track (owner decision D1): CI-only synced files (runner-policy, vocabulary, trusted-actors, dependabot-policy) are read from a run-time checkout of standards main that records its SHA; every reader is repointed, and gating files change expand-then-contract (readers move first, copies are deleted last). This change moves the gate's runner-policy reader; it deletes nothing (the .github/standards/runner-policy/ copy, its Dependabot entry and its CODEOWNERS lines stay until the deletion PR), removes no hold path and loosens nothing. The engine and policy.json in standards main are byte-identical to the copy today, so the gate's verdict does not change. The previous reader move is #18645 (spec #18644).
Done when
- The
lint-repojob checks out the run's standards commit withmelodic-software/ci-workflows/.github/actions/download-standards@main, gated on the workflows filter group like the rest of the runner-policy steps. - The job installs the engine's dependencies with
npm ci --prefix "<standards path>/components/runner-policy"and runsnode "<standards path>/components/runner-policy/runner-policy.mjs" --root .; no step of the job reads.github/standards/runner-policy/. - The npm cache key no longer hashes
.github/standards/runner-policy/package-lock.json(hashFilesreads only the workspace) and nosetup-nodecache option names a file under the standards checkout. -
docs/conventions/source-control.yamlrunner_policy_pathsno longer names the synced copy;docs/ci-runner-routing.mdnamescomponents/runner-policy/policy.jsoninmelodic-software/standardsas where the approved reusable-workflow contracts live. -
actionlintpasses on the changed workflow, and the standards engine passes against this repository (runner-policy.mjs --root . --repository-visibility public).
Activity