You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of the scripts-consolidation program: sweep the remaining workflows' inline bash (>15-line blocks) into scripts/ci/.
What extracts
agent-task.yml — 75-line Move agent/<task> and open or update the PR publish step, 20-line Resolve task id and branches, and its Install-mold copy (reuse scripts/ci/install-mold.sh from the rust.yml ticket).
infra.yml — 60-line detect block + terraform plan (23), assemble and upsert the comment (20), Render and schema-validate every profile (18), plan-gate (17 — reuse scripts/ci/gate-all-legs.sh). Mind the tf- prefix rule: only genuine terraform helpers get the scripts/ci/tf- prefix (infra.yml's detect regex and DETECT_EXEMPT both key on it); update scripts/ci/tf-helpers-test.sh if a tf-* script is touched.
Detect blocks should source a shared helper the way rust.yml's detect sources scripts/ci/detect-paths.sh, rather than each workflow growing a private copy.
Out of scope
Generated *.lock.yml and their .github/workflows/*.md gh-aw sources; the inline psql block in the er-dev-namespace Helm template (a k8s manifest command:, not a repo script).
Verify
Each workflow runs on the PR where it can (rust/frontend/infra per-PR); post-merge-only ones verified by emitted log lines, not conclusions. make check, bash scripts/ci/detect-paths-test.sh if detect logic moves.
Activity
athvin commentedon Nov 6, 2026
Claimed — working in #739 (draft). Closing that PR releases the claim.
chore(ci): extract remaining workflows' inline bash into scripts/ci/ (#…
chore(ci): extract remaining workflows' inline bash into scripts/ci/ (#…