Skip to content

ci: speed up E2E pipeline with single-arch builds, registry cache, and skip redundant cluster rebuild#278

Merged
drew merged 1 commit intomainfrom
ci/speed-up-e2e-pipeline/an
Mar 13, 2026
Merged

ci: speed up E2E pipeline with single-arch builds, registry cache, and skip redundant cluster rebuild#278
drew merged 1 commit intomainfrom
ci/speed-up-e2e-pipeline/an

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented Mar 13, 2026

Summary

Three fixes to address ~10 minute E2E pipeline regression:

  • Single-arch E2E builds: E2E workflow now builds amd64-only images instead of multi-arch (linux/amd64,linux/arm64). The arm64 cross-compilation via QEMU was adding ~7 min per build job. Publish workflow retains multi-arch via the default.
  • Restore GHCR registry build cache: Re-adds DOCKER_CACHE_FROM/DOCKER_CACHE_TO registry cache that was removed in chore: remove unnecessary cache config #54. Without it, every CI Docker build compiles from scratch since the local filesystem cache is skipped when CI=true.
  • Skip redundant cluster image rebuild: The E2E bootstrap step was rebuilding the cluster image locally (including a full Rust compilation of navigator-sandbox ~2 min) even though it was already pre-built and pulled from GHCR. Sets SKIP_CLUSTER_IMAGE_BUILD=1.

Expected Impact

Fix Time Saved
Single-arch E2E builds ~5-7 min
GHCR registry cache ~2-5 min
Skip cluster rebuild ~2.5 min
Total ~10-12 min

Test Plan

  • PR has e2e label to trigger E2E pipeline — verify it passes and is faster than recent runs (~22 min -> ~10-12 min target)
  • Publish workflow is unaffected (uses default multi-arch platform)

@drew drew added the test:e2e Requires end-to-end coverage label Mar 13, 2026
@drew drew self-assigned this Mar 13, 2026
@drew drew force-pushed the ci/speed-up-e2e-pipeline/an branch from 9a03850 to e67941a Compare March 13, 2026 08:49
@drew drew force-pushed the ci/speed-up-e2e-pipeline/an branch from e67941a to 87531be Compare March 13, 2026 08:52
@drew drew merged commit 9e447ff into main Mar 13, 2026
9 checks passed
@drew drew deleted the ci/speed-up-e2e-pipeline/an branch March 13, 2026 09:06
drew added a commit that referenced this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant