Repository navigation
In progress
Milestone
Description
Move main CI to Azure Linux 4
release/7.x has branched, so main (8.x) targets Azure Linux 4 (AL4) only.
ci.ymlmoves to AL4, andci-al4.ymlis deleted.- Every other Azure Linux 3 (AL3) job moves to AL4.
- AL3 build support is removed from
main.
AL3 jobs today: 20 container jobs in 10 workflows, plus 3 SNP jobs
| Workflow | AL3 jobs | Extra work beyond the image swap |
|---|---|---|
ci.yml |
VMSS Virtual A, B, C | Absorb ci-al4.yml (phases 1 and 2) |
ci.yml |
ACI SNP Genoa | AL4 runner image (phase 4) |
long-test.yml |
ASAN, TSAN, Long e2e - Debug, Long e2e - Release, Long Shuffled/LTS/Snmalloc | First CI run of sanitizers and fuzzing on AL4 |
lean.yml |
3 trace capture jobs | None expected |
codeql-analysis.yml |
Analyze | None expected |
documentation.yml |
Build documentation | None expected |
bencher.yml |
Benchmark Virtual, Benchmark SNP | gh install, new perf baseline |
bencher-ab.yml |
Benchmark PR | Moves with bencher.yml |
coverage.yml |
Coverage Virtual, Coverage SNP Genoa | Both jobs must use the same clang |
release.yml |
Build Release, Test building against CCF package, Test Reproducibility | Phase 5 |
cross-platform-lts.yml |
Azure Linux 3 build | Becomes the LTS gate |
- The Ubuntu-hosted workflows are unaffected.
ci-al4.ymlruns daily onmainand is green as of 2026-11-19.
Blockers
- AL4 image: MCR has no GA
4.0image yet, and CI pulls from a staging registry. (Make Azure Linux 4 the default CI platform #8826) - LTS compatibility: every 7.x RPM is an AL3 build, and the test runs all nodes in one userspace. (Run the long LTS recovery chain in the cross-platform LTS workflow #8843)
- SNP runner image: the
gha-aci-genoaimage is AL3, andrelease/7.xshares it. Move the C-ACI CI image definition to Azure Linux 4 #8906 updates its definition; Move SNP jobs to AL4 #8918 targets a new AL4 pool. The pool still needs rebuilding and deployment. - Reproducible release:
tdnf --snapshottimeneeds a dnf5 equivalent, which is blocked on feat(dnf5): enable repository snapshot filtering azurelinux#19832.
Blocker details
- AL4 image
- CI pulls
azlpubstagingacroxz2o4gw.azurecr.io/azurelinux/base/core:4.0. mcr.microsoft.com/azurelinux-beta/base/core:4.0is the same build, dated 2026-05-27.mcr.microsoft.com/azurelinux/base/corehas no4.0tag (checked 2026-11-19).- Releases need a public, long-lived image, because
reproduce.jsonrecords its digest.
- CI pulls
- LTS compatibility
lts_compatibilitygates every PR through Virtual A.ci-al4.ymlskips it.- Proposal: run 7.x nodes in an AL3 container, as
cross-platform-lts.ymldoes. - The ledger and snapshot chain has no container mode yet.
- Decide whether it gates PRs, or runs weekly and at release.
- SNP runner image
- The image comes from
tests/ci/ccf_caci_ci, and no workflow in this repo builds it. - AL4 needs its own pool label, for example
gha-aci-genoa-al4.
- The image comes from
- Reproducible release
release.yml,scripts/setup-ci.shandreproduce/*.shusetdnf --snapshottime.microsoft/dnf5-plugin-repo-snapshotfilters dnf5 repositories by--setvar=repo_snapshot_time=<epoch>. It is source-only, and needs a libdnf5 withPackage::get_file_time().- That libdnf5 patch is feat(dnf5): enable repository snapshot filtering azurelinux#19832, still open on 2026-12-01. AL4
libdnf55.2.18.0-2.azl4 does not have it, so the plugin cannot be built yet. - On AL4
tdnfis a symlink todnf5, which rejects--snapshottime.
Plan
Order: phases 1 and 2 first, then 3, 4 and 5 in any order, then 6.
The change for each container job
container:
image: <AL4 image>
env:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
steps:
- name: "Checkout dependencies"
run: |
dnf -y update
dnf -y install ca-certificates git- This replaces the
gpg --importline and thetdnfcalls. - The AL4 image declares no
PATH, so the container sets it. install-ci-dependenciesalready supports AL4.
Phase 1: close the AL4 gaps
Add what ci-al4.yml skips, while AL3 stays primary.
-
ci-checks.sh(Make Azure Linux 4 the default CI platform #8826) - clang-tidy build and case-scope check (clang 21, so expect new findings) (Make Azure Linux 4 the default CI platform #8826)
- Python package tests (Make Azure Linux 4 the default CI platform #8826)
- Partitions tests (
setup-ci-al4.shinstalls noiptables) (Make Azure Linux 4 the default CI platform #8826) - LTS compatibility (Make Azure Linux 4 the default CI platform #8826)
Phase 2: move ci.yml
- Move Virtual A, B and C to AL4. Keep the job names, they are required checks. (Make Azure Linux 4 the default CI platform #8826)
- Carry over
-DTEST_MLDSA=ONfromci-al4.yml. (Make Azure Linux 4 the default CI platform #8826) - Delete
ci-al4.ymland update the workflows README. (Make Azure Linux 4 the default CI platform #8826)
Phase 3: move the other container jobs
-
long-test.yml(Move long test, Lean, CodeQL and documentation jobs to Azure Linux 4 #8875) -
lean.yml,codeql-analysis.yml,documentation.yml(Move long test, Lean, CodeQL and documentation jobs to Azure Linux 4 #8875) -
bencher.ymlwithbencher-ab.yml, because A/B compares againstmainhistory (Move bencher virtual jobs to Azure Linux 4 #8853, virtual jobs;Benchmark SNPis in phase 4) - Replace
tdnf install gh, because AL4 has noghpackage (Move bencher virtual jobs to Azure Linux 4 #8853;Benchmark SNPandcoverage.ymlare in phase 4)
Phase 4: move the SNP jobs
- Port
tests/ci/ccf_caci_cito AL4 and deploy it on a new pool. Move the C-ACI CI image definition to Azure Linux 4 #8906 updates the image definition; deployment remains pending. - Move
ACI SNP Genoa(same name, required check). Move SNP jobs to AL4 #8918 (open) - Move
Benchmark SNPinbencher.yml, and replace itstdnf install ghwithscripts/install_gh.sh. Move SNP jobs to AL4 #8918 (open) - Move both
coverage.ymljobs in one PR, because their clang versions must match. Move SNP jobs to AL4 #8918 (open)
Phase 5: move the release
Finish before the first ccf-8.* tag.
- Move the three AL3 release jobs to AL4. (Move the release pipeline to Azure Linux 4 #8903, merged;
Test Reproducibilityremains removed until the blocker above is resolved) - Replace
tdnf --snapshottime, and updatereproduce/and its doc. - Fix the RPM dependencies:
build-essential,curl-develandnghttp2-develare AL3 names. (Move the release pipeline to Azure Linux 4 #8903, merged) - Add a
.changes/entry. (Move the release pipeline to Azure Linux 4 #8903, merged)
Phase 6: remove AL3 from main
Start after the last AL3 job has moved.
- Move VMSS workflows to Azure Linux 4 runner pools. (Route VMSS workflows to the Azure Linux 4 runner pools #8919, draft)
- Fold
setup-ci-al4.shandsetup-dev-al4.shintosetup-ci.shandsetup-dev.sh. (Fold Azure Linux 4 setup into the default scripts and devcontainer #8930, draft) - Remove the AL3 branch of
install-ci-dependencies. (Fold Azure Linux 4 setup into the default scripts and devcontainer #8930, draft) - Make the AL4 devcontainer the default. (Fold Azure Linux 4 setup into the default scripts and devcontainer #8930, draft)
- Remove the AL3 fallbacks: OpenSSL 3.3 paths, libbacktrace,
TEST_MLDSAoff by default. (Require OpenSSL 3.5 and std::stacktrace #8931, draft) - Fix the clang 21 deprecations, and drop their
-Wno-errorexceptions. - Update docs and samples. (Fold Azure Linux 4 setup into the default scripts and devcontainer #8930 and Require OpenSSL 3.5 and std::stacktrace #8931, drafts;
samples/minimal_ccfwaits for an 8.x release)
Stays on AL3
- The 7.x runtime image for the LTS test.
.pipelines/pypi.official.yml, until OneBranch has an AL4 image.
Metadata
Metadata
Assignees
Labels
No labels
Activity