Skip to content

ci: fix stalling apt mirror slowing pre-check to 17-39 min - #2915

Merged
crazywoola merged 1 commit into
mainfrom
ci/speed-up-precheck-deps
Aug 19, 2026
Merged

ci: fix stalling apt mirror slowing pre-check to 17-39 min#2915
crazywoola merged 1 commit into
mainfrom
ci/speed-up-precheck-deps

Conversation

@lin-snow

@lin-snow lin-snow commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Pre-check runs take 17-39 min, almost entirely in Install Dependencies: the runner's default apt mirror (us-east-1.ec2.archive.ubuntu.com) stalls 15-80s per request.

  • Switch apt to the main Ubuntu archive; add acquire timeouts/retries
  • Install only the packages missing from the runner image, in the background; Wait for System Dependencies blocks right before Check Plugin Deps and dumps the apt log on failure
  • Replace the mikefarah/yq docker action (image pull per run) with a plain version check

Verified: sandbox run 32233787067 finished in 104s (baseline of last 14 runs: 1042-2366s).

@github-actions github-actions Bot added the risk: missing Missing or invalid Marketplace risk selection label Aug 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Please select exactly one risk level in the PR template: Low risk, Medium risk, or High risk. This helps Marketplace reviewers route the submission correctly.

@lin-snow
lin-snow force-pushed the ci/speed-up-precheck-deps branch from e43fbf8 to 299e521 Compare August 19, 2026 08:35
@lin-snow
lin-snow requested a review from crazywoola August 19, 2026 08:35
@lin-snow
lin-snow force-pushed the ci/speed-up-precheck-deps branch from 299e521 to baadb7e Compare August 19, 2026 08:40
@lin-snow
lin-snow force-pushed the ci/speed-up-precheck-deps branch from baadb7e to c6d11bf Compare August 19, 2026 08:51
@lin-snow lin-snow changed the title ci: speed up pre-check dependency installation ci: fix stalling apt mirror slowing pre-check to 17-39 min Aug 19, 2026
@lin-snow lin-snow self-assigned this Aug 19, 2026
@crazywoola
crazywoola merged commit ab0f319 into main Aug 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: missing Missing or invalid Marketplace risk selection

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants