Skip to content

Extract remaining workflows' inline bash (agent-task, infra, frontend, kind, images, drift, agentics-maintenance) #724

Closed

Description

@athvin

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.
  • frontend.yml — 43-line detect block, 16-line e2e-gate (reuse gate-all-legs).
  • kind.yml — 37-line diagnostics on failure. kind.yml's paths: filter names its scripts explicitly — add any new script path.
  • images.yml — 24-line detect block (its paths: also names scripts — same rule).
  • drift.yml — 20-line summary.
  • agentics-maintenance.yml — 16-line Generate forecast report.

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

  1. added
    ci-backlog
    on Nov 6, 2026
  2. self-assigned this
    on Nov 6, 2026
  3. athvin commented on Nov 6, 2026

    @athvin
    OwnerAuthor

    Claimed — working in #739 (draft). Closing that PR releases the claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ci-backlog

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions