Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Pin Linux fixture jobs to the qualified Ubuntu 24.04 image

Local contributor0d7bded8ad5e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cbdfc4c1aa..1600e58a02 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -198,7 +198,8 @@ jobs:
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.static.outputs.vitest_matrix) }}
- runs-on: ${{ matrix.os }}
+ # Linux fixtures depend on Ubuntu 24.04's installed tools and user-namespace behavior.
+ runs-on: ${{ matrix.os == 'ubuntu-latest' && 'ubuntu-24.04' || matrix.os }}
# scripts/testing/duration-sequencer.ts splits each platform's files by
# their recorded seconds on that platform, about 6 minutes a Linux shard
# (four files at once); a Windows shard runs two files at once. The cap
@@ -729,7 +730,8 @@ jobs:
fail-fast: false
matrix:
os: ${{ fromJSON(needs.static.outputs.vitest_os) }}
- runs-on: ${{ matrix.os }}
+ # Linux fixtures depend on Ubuntu 24.04's installed tools and user-namespace behavior.
+ runs-on: ${{ matrix.os == 'ubuntu-latest' && 'ubuntu-24.04' || matrix.os }}
timeout-minutes: 25
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
diff --git a/docs/ci.md b/docs/ci.md
index 0be817086c..f15ad7533a 100644
--- a/docs/ci.md
+++ b/docs/ci.md
@@ -53,6 +53,17 @@ run the union of their jobs. Why the mapping is what it is:
Linux ARM64 cloudflared installer tests only its own script and pinned
download.
+## Linux fixture runner
+
+The Vitest and browser-driver matrices keep their logical Linux platform name,
+`ubuntu-latest`, but execute it on `ubuntu-24.04`. Their fixtures depend on the
+runner's installed engines and unprivileged user-namespace behavior. The last
+passing baseline used Ubuntu 24.04; the transition to Ubuntu 26.04 produced
+missing-AI and engine-home isolation failures across all eight Linux shards
+on upstream main before the automation-instruction change. The pinned image
+keeps the full test selection and assertions in place while Ubuntu 26.04
+compatibility is assessed. Other platform matrix entries are unchanged.
+
## Lanes: pull requests, main and the full lane
Only pull requests use the areas. Every other event runs one of two fixed