From 7d9fa04837119da82b250996265bfaecc03d79a4 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Fri, 23 Oct 2026 14:06:57 +0800 Subject: [PATCH 1/2] fix(ci): pin Python 3.8 jobs to Ubuntu 24.04 --- .github/workflows/ci.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d2b550ea6..e75575fdc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -199,7 +199,8 @@ jobs: compiler_import: name: Compiler Import ${{ matrix.python-version }} - runs-on: ubuntu-latest + # setup-python has no Python 3.8/3.9 binaries for Ubuntu 26.04. + runs-on: ubuntu-24.04 strategy: matrix: python-version: ["3.8", "3.9"] @@ -218,7 +219,8 @@ jobs: java: name: Java CI needs: changes - runs-on: ubuntu-latest + # Keep the Python 3.8 CI driver on a supported runner image. + runs-on: ubuntu-24.04 env: MY_VAR: "PATH" strategy: @@ -258,7 +260,7 @@ jobs: name: Openj9 Java CI needs: changes if: needs.changes.outputs.java_code == 'true' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: MY_VAR: "PATH" strategy: @@ -852,7 +854,7 @@ jobs: integration_tests: name: Integration Tests - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7.0.1 - name: Set up JDK11 @@ -1177,10 +1179,11 @@ jobs: strategy: matrix: node-version: [18, 24] - os: [ubuntu-latest, macos-latest, windows-latest] + # node-gyp uses Python 3.8 on Linux. + os: [ubuntu-24.04, macos-latest, windows-latest] include: - node-version: 20 - os: ubuntu-latest + os: ubuntu-24.04 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v7.0.1 @@ -1636,7 +1639,8 @@ jobs: strategy: matrix: python-version: ["3.8", "3.12", "3.14"] - os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest] + # Python 3.8 is available on Ubuntu 24.04, but not Ubuntu 26.04. + os: [ubuntu-24.04, ubuntu-24.04-arm, macos-latest] steps: - uses: actions/checkout@v7.0.1 - name: Set up Python ${{ matrix.python-version }} @@ -1749,7 +1753,7 @@ jobs: go: name: Golang CI - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7.0.1 - name: Set up Go @@ -2156,7 +2160,7 @@ jobs: lint: name: Code Style Check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7.0.1 - name: Set up JDK ${{ matrix.java-version }} From 973e6fc3539df2784d4414605403b62e97ca3062 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Fri, 23 Oct 2026 14:18:23 +0800 Subject: [PATCH 2/2] fix(ci): retain Ubuntu 24.04 for C++ toolchains --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e75575fdc5..e75d5bcfd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1329,7 +1329,8 @@ jobs: name: C++ CI strategy: matrix: - os: [ubuntu-latest, macos-latest] + # Keep the C++ toolchain stable across ubuntu-latest image upgrades. + os: [ubuntu-24.04, macos-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v7.0.1 @@ -1454,7 +1455,7 @@ jobs: name: C++ Sanitizer (${{ matrix.sanitizer }}) needs: changes if: needs.changes.outputs.cpp_code == 'true' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: sanitizer: [asan, ubsan]