Skip to content

Avoid duplicate BuildKit discovery during Gen2 setup - #5

Merged
PandelisZ merged 1 commit into
mainfrom
pz/faster-gen2-setup
Oct 24, 2026
Merged

PandelisZ merged 1 commit into
mainfrom
pz/faster-gen2-setup

Conversation

@PandelisZ

@PandelisZ PandelisZ commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Warm Gen2 setup spent 7.2 of 13.7 seconds running a separate Buildx inspection. The subsequent build discovers the same embedded BuildKit worker again. Remove that duplicate discovery while retaining backend verification, cold-wake waiting, local Buildx installation checks, bounded Docker readiness probes, and isolated cleanup.

All 30 action tests pass, including unavailable Docker, failed readiness cleanup, and rejecting a non-Docker driver before publishing outputs.

Live A/B qualification used the same test client and AWS/EBS builder, with three alternating samples per variant and a fresh CLI install and forced Docker RUN in every sample. Median setup fell from 21.26s to 10.77s; setup excluding variable CLI installation fell from 10.42s to 3.19s. Setup plus the first build fell from 37.68s to 28.52s. First-build median was 17.64s before and 16.28s after, so the saved setup work did not move into the build. These local-client timings are separate from the original customer CI trace.

Published v2.0.1 and updated 2/v2. The existing customer gateway job rerun resolved action commit 35b4d3c5f44efd7f625f94774f29caf208046614: warm setup fell from 13.7s to 7.5s (45% faster), and the image build passed without a retry. CLI installation remained 2.1s in both runs. Builder readiness preceded the measured action step. No customer source or workflow edits were made.

@PandelisZ
PandelisZ merged commit 35b4d3c into main Oct 24, 2026
1 check passed
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