Skip to content

chore(crates): delete 7 dead sub-crate release.yml files#1619

Merged
noahgift merged 7 commits into
mainfrom
chore/retire-unified-gate
May 12, 2026
Merged

chore(crates): delete 7 dead sub-crate release.yml files#1619
noahgift merged 7 commits into
mainfrom
chore/retire-unified-gate

Conversation

@noahgift
Copy link
Copy Markdown
Contributor

Summary

Deletes 7 release.yml files at crates/*/.github/workflows/release.yml. These are inert orphans from when these crates were standalone repos pre-monorepo — GitHub Actions only honors workflows at the repository root .github/workflows/, never paths nested under crates/.

All 7 reference paiml/.github/.github/workflows/unified-gate.yml, which is being retired fleet-wide (paiml/infra PMAT-166). Removing them now so dangling references don't outlive unified-gate.yml.

Files deleted:

  • crates/aprender-orchestrate/.github/workflows/release.yml
  • crates/aprender-profile/.github/workflows/release.yml
  • crates/aprender-registry/.github/workflows/release.yml
  • crates/aprender-simulate/.github/workflows/release.yml
  • crates/aprender-train/.github/workflows/release.yml
  • crates/aprender-viz/.github/workflows/release.yml
  • crates/aprender-zram/.github/workflows/release.yml

No CI is affected — these files were never executed by GitHub Actions. The monorepo's active workflows at .github/workflows/ are untouched.

Test plan

  • CI green on this PR (no workflow changes touched the live paths)

Refs PMAT-166

noahgift added 2 commits May 11, 2026 10:41
These release.yml files live at crates/*/.github/workflows/release.yml
inside the aprender monorepo. GitHub Actions only honors workflows at
the repository root .github/workflows/ — paths nested under crates/
are never executed.

The 7 deleted files all reference paiml/.github/.github/workflows/unified-gate.yml
which is being retired fleet-wide (paiml/infra PMAT-166). They are
inert orphans from when these crates were standalone repos pre-monorepo;
no CI is affected.

Files deleted:
  crates/aprender-orchestrate/.github/workflows/release.yml
  crates/aprender-profile/.github/workflows/release.yml
  crates/aprender-registry/.github/workflows/release.yml
  crates/aprender-simulate/.github/workflows/release.yml
  crates/aprender-train/.github/workflows/release.yml
  crates/aprender-viz/.github/workflows/release.yml
  crates/aprender-zram/.github/workflows/release.yml

Refs PMAT-166
@noahgift noahgift enabled auto-merge (squash) May 11, 2026 14:35
noahgift added a commit that referenced this pull request May 12, 2026
* ci: re-enable sccache — unblocks 240-PR cold-compile bottleneck

The Phase 3 sccache pilot was disabled on 2026-04-19 because the
`sovereign-ci:stable` container image was missing the `rustc-sccache`
wrapper script. That was fixed upstream in paiml/infra commit f4fccf9
("use exec script not symlink", PR #66) the same day, but aprender's
ci.yml was never flipped back.

Verified on intel runner:

    $ docker run --rm localhost:5000/sovereign-ci:stable rustc-sccache --version
    sccache 0.14.0
    $ docker run --rm localhost:5000/sovereign-ci:stable which rustc-sccache
    /usr/local/bin/rustc-sccache

Sccache cache directory is warm: `/home/noah/data/sccache` is ~11GB
across 290 sub-dirs, shared across all 16 intel-clean-room runners and
all PRs via the existing `/home/noah/data/sccache:/sccache` bind-mount
in `paiml/.github/.github/workflows/sovereign-ci.yml`.

Why this matters:

- Per-PR target dir scheme (`/mnt/nvme-raid0/targets/aprender-ci/<PR>`)
  from #1043 cold-compiles each new PR's 879 deps from scratch.
- Job timing (PR #1619 latest run): 34min build + 4min tests = 40min
  timeout. Tests never finish.
- 249-PR queue × 34min cold compile = backlog cannot drain.
- With sccache hit-rate ≥80% expected on a warm cache, cold builds
  drop from 34min → ~3-5min, and the timeout becomes a non-issue.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* ci(workspace-test): wire sccache into the inline workspace-test job

The first commit on this branch flipped enable_sccache=true on the
reusable ci/{test,lint,coverage,...} jobs. That doesn't reach the
inline `workspace-test` job (the slowest one, where the 40min timeout
actually fires), so this commit wires sccache into it directly:

- Bind-mount /home/noah/data/sccache:/sccache (shared across all 16
  intel-clean-room runners + all PRs; sccache handles concurrency
  via per-entry atomic rename + LRU eviction).
- Set RUSTC_WRAPPER=rustc-sccache (image-baked exec shim) and
  SCCACHE_DIR=/sccache env vars.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
@noahgift noahgift merged commit 92cd964 into main May 12, 2026
10 checks passed
@noahgift noahgift deleted the chore/retire-unified-gate branch May 12, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant