Skip to content

CI: Linux installs its packages from the runner's own Ubuntu mirror - #1159

Merged
Tryanks merged 1 commit into
mainfrom
ci/default-apt-mirror
Nov 20, 2026
Merged

Tryanks merged 1 commit into
mainfrom
ci/default-apt-mirror

Conversation

@Tryanks

@Tryanks Tryanks commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Summary

 Install Linux system dependencies
-  sed azure.archive.ubuntu.com → archive.ubuntu.com
   apt-get update && apt-get install …

Linux CI installs from whatever mirror the runner image configures, as the release jobs already do.

Evidence

Same run (44650256386), two Linux jobs, apt fetching 82.5 MB:

Runner region Mirror apt used Fetch
eastus (Azure) archive.ubuntu.com (rewritten) 3s, 25.8 MB/s
us-west-2 (AWS) us-east-2.ec2.archive.ubuntu.com (rewrite matched nothing) 9m 8s, 151 kB/s
  • Before: 8 of 14 sampled CI Linux jobs landed on AWS runners and fetched at 62–311 kB/s (4–22 min); the rewrite never applied to them.
  • After: release.yml, which never rewrote, fetched from azure.archive.ubuntu.com at 5–10 MB/s in 9 of its last 10 runs (one 227 kB/s outlier on 11-10).

Not run: the CI checks on this head; merged with admin override at the maintainer's request.

Merge Danger

Door: two-way

Blast Radius: CI-only

Azure-hosted Linux jobs go back to the Azure mirror, which was occasionally slow (the reason for #941's rewrite). The AWS-hosted jobs are unaffected either way.

The step rewrote azure.archive.ubuntu.com to archive.ubuntu.com. Azure
runners now fetch from their own mirror at 5-10 MB/s in the release
jobs, and the slow installs come from runners hosted in AWS, whose
us-east-2.ec2 mirror the rewrite never matched.
@Tryanks
Tryanks merged commit 6df3869 into main Nov 20, 2026
10 checks passed
@Tryanks
Tryanks deleted the ci/default-apt-mirror branch November 20, 2026 05:15
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