Skip to content

ci: move the two agentic workflows' sccache off S3 too (needs the gh-aw that compiled the tree) #892

Not planned

Description

@athvin

Split out of #887, which moved rust.yml only.

.github/workflows/shared/rust-gate.md still sets SCCACHE_BUCKET /
SCCACHE_REGION and still assumes er-ci-sccache-read, so
dependency-upgrade-pilot and generated-artifact-healer remain on the S3
backend.

This costs nothing today — both workflows are disabled (engine: copilot
needs a secret the repo lacks, and they fail closed), so they generate no
egress. It is a correctness and cleanup item, and it blocks deleting
infra/terraform/envs/core/sccache.tf
and the two OIDC roles, because these
two still reference the read role.

Why it was not done in #887

gh aw compile regenerates the lock files, and the locally installed CLI is
v1.0.1 while the committed lock files carry
github/gh-aw-actions/setup@4607d462... # v1.2.0. Recompiling with v1.0.1
rolls that pin back to 221ba4f4... # v1.0.1 across four workflows
(agentics-maintenance.yml, ci-triage.lock.yml,
skill-freshness-auditor.lock.yml, plus the two above) — a silent action
downgrade well outside the scope of a cost change. gh extension upgrade gh-aw
reports v1.0.1 as already current, so the newer compiler is not available from
the extension registry on this machine.

Note also that nothing in CI recompiles the lock files and compares them, so
.md/.lock.yml drift is not caught by any gate — which is why #887 reverted
its .md edits rather than leaving them inconsistent with the committed output.

What to do

  1. Get the gh aw that produced the committed pins (or confirm v1.2.0 of the
    setup action is intended and bump deliberately, in its own PR).
  2. In shared/rust-gate.md: SCCACHE_GHA_ENABLED: "true", drop
    SCCACHE_BUCKET/SCCACHE_REGION, drop the Assume the sccache read role
    step and the permissions: id-token: write block, and drop the matching
    id-token grant from both consuming .md files.
  3. gh aw compile --approve — the only manifest delta should be the removal
    of aws-actions/configure-aws-credentials. Put the security-review note the
    compiler demands in the PR body.
  4. Verify the gh-aw firewall allows the Actions cache service: the include
    declares network: allowed: [defaults, rust], and if defaults does not
    cover the cache endpoints the agentic runs get a 0% hit rate rather than an
    error.
  5. Then delete sccache.tf and both roles.

Activity

  1. added
    pruned
    on Nov 27, 2026
  2. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the 2026-11-26 board prune. The board now targets a deduplication tool that works the same whatever the data's source. This card is speculative or process upkeep, so it isn't needed for that. It's labelled pruned and can be reopened if it becomes relevant.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    pruned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions