Skip to content

ci(docker): avoid gha cache on arm64 PR builds#33704

Merged
benbarclay merged 1 commit into
NousResearch:mainfrom
BROCCOLO1D:fix/33688-arm64-pr-cache
May 28, 2026
Merged

ci(docker): avoid gha cache on arm64 PR builds#33704
benbarclay merged 1 commit into
NousResearch:mainfrom
BROCCOLO1D:fix/33688-arm64-pr-cache

Conversation

@BROCCOLO1D

Copy link
Copy Markdown
Contributor

Summary

Why

  • The arm64 PR build can take long enough on a cold cache for GitHub's Azure cache SAS token to expire before BuildKit finishes reading or writing type=gha cache blobs.
  • Push/release builds still need the per-arch cache so the publish digest build can reuse the smoke-test layers.

Changes

  • .github/workflows/docker-publish.yml: adds an uncached PR-only arm64 smoke-test build step.
  • .github/workflows/docker-publish.yml: keeps the existing cached arm64 smoke-test build for non-PR publish events.

Validation

  • python3 - <<'PY' ... yaml.safe_load(...) ... PY — parsed docker-publish.yml and asserted the PR arm64 step has no cache-from/cache-to, while the publish arm64 step keeps both cache settings.
  • actionlint .github/workflows/docker-publish.yml was not available locally (actionlint not installed; skipped).

Scope

  • In scope: arm64 Docker PR build reliability for cold GHA cache runs.
  • Out of scope: changing amd64 caching, publish/release cache behavior, or switching cache backends.

@alt-glitch alt-glitch added type/bug Something isn't working area/docker Docker image, Compose, packaging P3 Low — cosmetic, nice to have labels May 28, 2026
@benbarclay benbarclay self-requested a review May 28, 2026 23:37
@benbarclay benbarclay merged commit 130396c into NousResearch:main May 28, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docker Docker image, Compose, packaging P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build-arm64 job deterministically fails on cold cache (Azure SAS token expires mid-build)

3 participants