From cff33029ecc0c6e30278c8341014c9f9cd61db88 Mon Sep 17 00:00:00 2001 From: "bootc-bot[bot]" <225049296+bootc-bot[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 13:57:45 +0000 Subject: [PATCH 1/3] ci: Test only Fedora latest stable by default Reduces CI matrix to test only fedora-45 (current stable), dropping fedora-44 and fedora-46 (Rawhide). This matches Packit CI's approach using fedora-latest-stable, reducing CI flakes from Rawhide breakage and unnecessary capacity usage from testing multiple Fedora versions where breakage is rare. CentOS versions (centos-9, centos-10) are unchanged as they represent distinct major versions with different support lifecycles. Generated-by: AI Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/ci.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94601538e..4424b3ff1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,10 +119,11 @@ jobs: if [[ "$DOCS_ONLY" != "true" ]] && { [[ "$EVENT" == "merge_group" || "$EVENT" == "workflow_dispatch" ]] \ || [[ "$EVENT" == "pull_request" && "$MERGE_QUEUE_ENABLED" != "true" ]] \ || echo "$LABELS" | jq -e 'index("ci/merge")' > /dev/null; }; then - # Full suite: all OSes - echo 'package_os_matrix=["fedora-44","fedora-45","fedora-46","centos-9","centos-10"]' >> "$GITHUB_OUTPUT" - echo 'integration_os_matrix=["fedora-44","centos-9","centos-10"]' >> "$GITHUB_OUTPUT" - echo 'upgrade_os_matrix=["fedora-44","centos-10"]' >> "$GITHUB_OUTPUT" + # Full suite: fedora-latest-stable + CentOS + # Using fedora-45 as latest stable (matching Packit's fedora-latest-stable) + echo 'package_os_matrix=["fedora-45","centos-9","centos-10"]' >> "$GITHUB_OUTPUT" + echo 'integration_os_matrix=["fedora-45","centos-9","centos-10"]' >> "$GITHUB_OUTPUT" + echo 'upgrade_os_matrix=["fedora-45","centos-10"]' >> "$GITHUB_OUTPUT" echo 'run_heavy=true' >> "$GITHUB_OUTPUT" elif [[ "$DOCS_ONLY" != "true" ]] && echo "$LABELS" | jq -e 'index("ci/tier-1")' > /dev/null; then # Tier-1 only: centos-10 @@ -255,8 +256,6 @@ jobs: test_os: ${{ fromJson(needs.compute-ci-level.outputs.package_os_matrix) }} runs-on: ubuntu-26.04 - # Rawhide is best-effort; don't let it block merges - continue-on-error: ${{ matrix.test_os == 'fedora-46' }} steps: - uses: actions/checkout@v7 @@ -445,10 +444,6 @@ jobs: matrix: test_os: ${{ fromJson(needs.compute-ci-level.outputs.upgrade_os_matrix) }} variant: [ostree, composefs] - # TODO: Re-enable this after 1.16.8 is released - exclude: - - test_os: fedora-44 - variant: composefs runs-on: ubuntu-26.04 From 9db5c9a4fb5df2dd6ce86ad5de330cdc722d5511 Mon Sep 17 00:00:00 2001 From: "bootc-bot[bot]" <225049296+bootc-bot[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 14:10:16 +0000 Subject: [PATCH 2/3] ci: Fix grub-cc test exclusion for fedora-45 Remove the fedora-45 exclusion from grub-cc testing and update the comment to reflect F45 as the test target. This ensures grub-cc tests actually run now that fedora-44 has been removed from the matrix. Without this fix, no grub-cc tests would run at all since fedora-45 was excluded but is now the only Fedora version in the integration matrix. Generated-by: AI --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4424b3ff1..8023a8379 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -334,9 +334,7 @@ jobs: - variant: ostree bootloader: systemd - # For now only have grub-cc tests in F44 - - test_os: fedora-45 - bootloader: grub-cc + # For now only have grub-cc tests in F45 - test_os: centos-9 bootloader: grub-cc - test_os: centos-10 From a21cc74b57e904d1aa82c6b7884bb1e384c10611 Mon Sep 17 00:00:00 2001 From: "bootc-bot[bot]" <225049296+bootc-bot[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 14:52:18 +0000 Subject: [PATCH 3/3] ci: Add dynamic Fedora latest version verification Add a verification step that uses skopeo to inspect the Fedora latest container image and verify it matches our hard-coded version (45). If the versions diverge, a warning is emitted suggesting the CI matrix should be updated. This addresses the review feedback requesting deeper research on what Fedora version is actually 'latest' rather than hard-coding the value. Generated-by: AI --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8023a8379..af150c6b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,19 @@ jobs: echo "enabled=false" >> "$GITHUB_OUTPUT" fi + - name: Verify Fedora latest version + run: | + # Dynamically verify what Fedora version is "latest" from the container image + LATEST_VERSION=$(skopeo inspect --no-tags docker://quay.io/fedora/fedora:latest | jq -r '.Labels."org.opencontainers.image.version" // .Labels.version') + echo "Fedora latest container version: $LATEST_VERSION" + + # Verify it matches our hard-coded version (45) + if [[ "$LATEST_VERSION" != "45" ]]; then + echo "::warning::Fedora latest is now version $LATEST_VERSION, but CI is configured for fedora-45. Consider updating the matrix." + else + echo "✓ Fedora latest version matches CI configuration (45)" + fi + - name: Compute OS matrices id: matrix run: |