Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Pin GitHub-hosted Ubuntu runners to 24.04 (#6015)

Andrew Mikofalvy0b776a459f13
diff --git a/.github/scripts/decide-release-retry.test.mjs b/.github/scripts/decide-release-retry.test.mjs
index bb81b6e0c..55dabb9e4 100644
--- a/.github/scripts/decide-release-retry.test.mjs
+++ b/.github/scripts/decide-release-retry.test.mjs
@@ -123,7 +123,7 @@ describe('decideRetry', () => {
const jobs = [
...timedOut,
{
- name: 'build-linux (stable, ubuntu-latest)',
+ name: 'build-linux (stable, ubuntu-24.04)',
conclusion: 'failure',
annotations: [failure('Failed to FinalizeArtifact: Unable to make request: ETIMEDOUT')],
},
@@ -206,7 +206,7 @@ describe('decideRetry', () => {
test('re-runs a timed-out job, which GitHub reports as cancelled', () => {
const jobs = [
{
- name: 'build-linux (stable, ubuntu-latest)',
+ name: 'build-linux (stable, ubuntu-24.04)',
conclusion: 'cancelled',
annotations: [
failure('The job has exceeded the maximum execution time of 45m0s'),
diff --git a/.github/scripts/desktop-release-compatibility.test.mjs b/.github/scripts/desktop-release-compatibility.test.mjs
index d07bf7fd2..36a538ae7 100644
--- a/.github/scripts/desktop-release-compatibility.test.mjs
+++ b/.github/scripts/desktop-release-compatibility.test.mjs
@@ -96,6 +96,6 @@ describe('legacy desktop release compatibility', () => {
expect(new Set(matrices.map((matrix) => matrix.variant)).size).toBe(1);
expect(matrices[0].variant).toContain('["legacy-beta","beta"]');
expect(matrices[0].variant).toContain('["stable"]');
- expect(matrices[2].runner).toEqual(['ubuntu-latest', 'ubuntu-24.04-arm']);
+ expect(matrices[2].runner).toEqual(['ubuntu-24.04', 'ubuntu-24.04-arm']);
});
});
diff --git a/.github/scripts/release-cascade-shape.test.mjs b/.github/scripts/release-cascade-shape.test.mjs
index 5c4c4739e..38fa3029d 100644
--- a/.github/scripts/release-cascade-shape.test.mjs
+++ b/.github/scripts/release-cascade-shape.test.mjs
@@ -1083,7 +1083,7 @@ describe('every release-pipeline post prefers the releases webhook', () => {
throw new Error(`select-beta-to-promote.yml job ${job} has no step named ${name}`);
return found;
};
- expect(jobs.evaluate['runs-on']).toBe('ubuntu-latest');
+ expect(jobs.evaluate['runs-on']).toBe('ubuntu-24.04');
expect(jobs.evaluate.outputs.fast_tier_candidate).toBe(
'${{ steps.nominate.outputs.fast_tier_candidate }}',
);
@@ -1128,7 +1128,7 @@ describe('every release-pipeline post prefers the releases webhook', () => {
'${{ steps.smoke.outputs.verdict }}',
);
const remember = jobs['remember-smoke-failure'];
- expect(remember['runs-on']).toBe('ubuntu-latest');
+ expect(remember['runs-on']).toBe('ubuntu-24.04');
expect(remember.needs).toEqual(['evaluate', 'smoke-fast-tier-candidate']);
expect(remember.if).toBe(
"always() && needs.smoke-fast-tier-candidate.outputs.verdict == 'fail'",
diff --git a/.github/workflows/bug-lane-verify.yml b/.github/workflows/bug-lane-verify.yml
index b03b8641a..bfe875377 100644
--- a/.github/workflows/bug-lane-verify.yml
+++ b/.github/workflows/bug-lane-verify.yml
@@ -90,7 +90,7 @@ env:
jobs:
bug-lane-verify:
name: Verify the synthetic tree and (when armed) dispatch
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: write
# 60 not 45: bounding turbo's concurrency below trades wall clock for the
# contention that was refusing good fixes, and the 25m06s this used to run
diff --git a/.github/workflows/bug-lane.yml b/.github/workflows/bug-lane.yml
index 4035f6b31..7c931905f 100644
--- a/.github/workflows/bug-lane.yml
+++ b/.github/workflows/bug-lane.yml
@@ -75,7 +75,7 @@ concurrency:
jobs:
read-bumps:
name: Read changeset bumps (no credential)
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
@@ -105,7 +105,7 @@ jobs:
bug-lane:
name: Evaluate qualifying fixes
needs: read-bumps
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
steps:
diff --git a/.github/workflows/desktop-build-win-linux.yml b/.github/workflows/desktop-build-win-linux.yml
index 9362ae0d9..0e7194b41 100644
--- a/.github/workflows/desktop-build-win-linux.yml
+++ b/.github/workflows/desktop-build-win-linux.yml
@@ -13,7 +13,7 @@ name: Desktop build (manual, Windows/Linux)
# jobs from redundantly rebuilding identical platform-neutral JS), then
# per-OS jobs do only the platform-specific half: electron-vite build +
# electron-builder against the prebuilt cli/dist. The Linux job is a
-# two-cell matrix — x64 on `ubuntu-latest`, arm64 on the native
+# two-cell matrix — x64 on `ubuntu-24.04`, arm64 on the native
# `ubuntu-24.04-arm` runner — so each `.deb` carries prebuilt natives for
# the arch it targets.
#
@@ -70,7 +70,7 @@ env:
jobs:
prepare:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 30
steps:
@@ -424,7 +424,7 @@ jobs:
fail-fast: false
matrix:
include:
- - runner: ubuntu-latest
+ - runner: ubuntu-24.04
arch: x64
targets: deb:x64 rpm:x64
unpacked_dir: linux-unpacked
diff --git a/.github/workflows/desktop-release-auto-retry.yml b/.github/workflows/desktop-release-auto-retry.yml
index a57cda692..3a7747fa3 100644
--- a/.github/workflows/desktop-release-auto-retry.yml
+++ b/.github/workflows/desktop-release-auto-retry.yml
@@ -15,7 +15,7 @@ jobs:
github.event.workflow_run.path == '.github/workflows/desktop-release.yml' &&
github.event.workflow_run.head_repository.full_name == github.repository &&
contains(fromJSON('["repository_dispatch", "workflow_dispatch"]'), github.event.workflow_run.event)
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 5
permissions:
diff --git a/.github/workflows/desktop-release-draft-janitor.yml b/.github/workflows/desktop-release-draft-janitor.yml
index 8586e9e44..f1c607544 100644
--- a/.github/workflows/desktop-release-draft-janitor.yml
+++ b/.github/workflows/desktop-release-draft-janitor.yml
@@ -56,7 +56,7 @@ concurrency:
jobs:
sweep:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
env:
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
index 70940446e..14461e5dc 100644
--- a/.github/workflows/desktop-release.yml
+++ b/.github/workflows/desktop-release.yml
@@ -122,7 +122,7 @@ jobs:
# self-contained build is the proven signed-DMG path and stays byte-for-byte
# as it was; unifying it onto the bundle is a separate, QA-able change.)
prepare:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 30
permissions:
@@ -1374,9 +1374,9 @@ jobs:
fail-fast: false
matrix:
variant: ${{ fromJSON(contains(github.event.client_payload.release_tag || inputs.release_tag, '-beta.') && '["legacy-beta","beta"]' || '["stable"]') }}
- runner: [ubuntu-latest, ubuntu-24.04-arm]
+ runner: [ubuntu-24.04, ubuntu-24.04-arm]
include:
- - runner: ubuntu-latest
+ - runner: ubuntu-24.04
arch: x64
targets: deb:x64 rpm:x64
unpacked_dir: linux-unpacked
@@ -1603,7 +1603,7 @@ jobs:
needs.build-macos.result == 'success' &&
(needs.build-windows.result == 'success' || !contains(needs.prepare.outputs.required, 'windows')) &&
(needs.build-linux.result == 'success' || !contains(needs.prepare.outputs.required, 'linux'))
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
# Sized to the upload retry envelope: 3 bounded 300s attempts + backoffs
# (see the upload step) plus download/verify overhead.
@@ -1797,7 +1797,7 @@ jobs:
!cancelled() &&
needs.publish-assets.result == 'success' &&
needs.build-macos.result == 'success'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 15
permissions:
@@ -2095,7 +2095,7 @@ jobs:
release-consumers:
needs: finalize
if: ${{ !cancelled() && needs.finalize.outputs.published == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 5
permissions:
@@ -2142,7 +2142,7 @@ jobs:
# before channel detection leaves the channel output empty; the steps
# below treat that as "not stable" (FR5c skips, STUCK-DRAFT still logs).
if: ${{ !cancelled() && needs.finalize.result != 'success' }}
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
permissions:
diff --git a/.github/workflows/linear-pr-relay.yml b/.github/workflows/linear-pr-relay.yml
index 292eb4e8f..74fd6f3ab 100644
--- a/.github/workflows/linear-pr-relay.yml
+++ b/.github/workflows/linear-pr-relay.yml
@@ -56,7 +56,7 @@ jobs:
# repository it lives in.
if: github.event.pull_request.head.repo.full_name != github.repository
name: Relay the pull request number to agents-private
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 5
steps:
diff --git a/.github/workflows/linear-release.yml b/.github/workflows/linear-release.yml
index 322e5a191..c29d51f9b 100644
--- a/.github/workflows/linear-release.yml
+++ b/.github/workflows/linear-release.yml
@@ -87,7 +87,7 @@ concurrency:
jobs:
stamp:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
env:
diff --git a/.github/workflows/monorepo-pr-bridge.yml b/.github/workflows/monorepo-pr-bridge.yml
index 0c1d60e92..9ad998bdb 100644
--- a/.github/workflows/monorepo-pr-bridge.yml
+++ b/.github/workflows/monorepo-pr-bridge.yml
@@ -29,7 +29,7 @@ jobs:
&& github.event.action == 'opened'
&& (github.event.pull_request.head.repo.full_name != github.repository
|| github.event.pull_request.head.ref != 'copybara/sync')
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 5
steps:
@@ -61,7 +61,7 @@ jobs:
&& (github.event.pull_request.head.repo.full_name != github.repository
|| github.event.pull_request.head.ref != 'copybara/sync')
environment: inkeep-oss-sync
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 15
steps:
@@ -138,7 +138,7 @@ jobs:
&& github.event.action == 'closed'
&& (github.event.pull_request.head.repo.full_name != github.repository
|| github.event.pull_request.head.ref != 'copybara/sync')
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 15
steps:
@@ -177,7 +177,7 @@ jobs:
contents: read
pull-requests: read
statuses: read
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 15
steps:
diff --git a/.github/workflows/native-config-prebuild.yml b/.github/workflows/native-config-prebuild.yml
index 53a21543e..ee104d5b0 100644
--- a/.github/workflows/native-config-prebuild.yml
+++ b/.github/workflows/native-config-prebuild.yml
@@ -64,17 +64,17 @@ jobs:
napiFlags: ""
# --use-napi-cross pulls the zig-backed cross toolchain napi-rs ships
# for glibc Linux targets, so an x64 ubuntu host builds both arches.
- - host: ubuntu-latest
+ - host: ubuntu-24.04
target: x86_64-unknown-linux-gnu
napiFlags: "--use-napi-cross"
- - host: ubuntu-latest
+ - host: ubuntu-24.04
target: aarch64-unknown-linux-gnu
napiFlags: "--use-napi-cross"
# -x routes the build through cargo-zigbuild for musl (Alpine) targets.
- - host: ubuntu-latest
+ - host: ubuntu-24.04
target: x86_64-unknown-linux-musl
napiFlags: "-x"
- - host: ubuntu-latest
+ - host: ubuntu-24.04
target: aarch64-unknown-linux-musl
napiFlags: "-x"
- host: windows-latest
@@ -185,7 +185,7 @@ jobs:
combine:
name: combine + verify all targets present
needs: build
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
steps:
diff --git a/.github/workflows/point-release.yml b/.github/workflows/point-release.yml
index 96c1e9bce..c5d39e7b8 100644
--- a/.github/workflows/point-release.yml
+++ b/.github/workflows/point-release.yml
@@ -112,7 +112,7 @@ concurrency:
jobs:
read-bumps:
name: Read changeset bumps (no release credential)
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
@@ -149,7 +149,7 @@ jobs:
point-release:
name: ${{ inputs.dry_run && 'Plan' || 'Ship' }} point release (${{ inputs.mode }})
needs: read-bumps
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 20
steps:
diff --git a/.github/workflows/promote-stable.yml b/.github/workflows/promote-stable.yml
index 5b55e2c55..7409eb048 100644
--- a/.github/workflows/promote-stable.yml
+++ b/.github/workflows/promote-stable.yml
@@ -107,7 +107,7 @@ concurrency:
jobs:
read-bumps:
name: Read changeset bumps (no release credential)
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
@@ -177,7 +177,7 @@ jobs:
promote:
name: Promote ${{ inputs.beta_tag || 'newest beta' }} to stable
needs: read-bumps
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 20
steps:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 476ee1a25..e3c9c0429 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -106,7 +106,7 @@ env:
jobs:
read-releases:
name: Read the previous beta Release
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 5
permissions:
@@ -157,7 +157,7 @@ jobs:
build:
name: Build + pack (${{ github.event.action || github.event_name }})
needs: read-releases
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 20
permissions:
@@ -548,7 +548,7 @@ jobs:
name: Tag + release (${{ github.event.action || github.event_name }})
needs: build
if: github.event.action == 'publish-stable' || needs.build.outputs.run_beta == 'true'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
permissions:
@@ -707,7 +707,7 @@ jobs:
name: Publish to npm (${{ github.event.action || github.event_name }})
needs: [build, release]
if: github.event.action == 'publish-stable' || needs.build.outputs.run_beta == 'true'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
permissions:
diff --git a/.github/workflows/select-beta-to-promote.yml b/.github/workflows/select-beta-to-promote.yml
index 0471866ba..af87f35a7 100644
--- a/.github/workflows/select-beta-to-promote.yml
+++ b/.github/workflows/select-beta-to-promote.yml
@@ -152,7 +152,7 @@ env:
jobs:
read-bumps:
name: Read changeset bumps (no credential)
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
@@ -183,7 +183,7 @@ jobs:
evaluate:
name: Evaluate 24h soak + business-hours gate
needs: read-bumps
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: read
timeout-minutes: 10
outputs:
@@ -435,7 +435,7 @@ jobs:
name: Dispatch the smoke-proven fast-tier candidate
needs: [evaluate, smoke-fast-tier-candidate]
if: needs.smoke-fast-tier-candidate.outputs.verdict == 'pass'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
steps:
@@ -477,7 +477,7 @@ jobs:
name: Remember the candidate's failed smoke
needs: [evaluate, smoke-fast-tier-candidate]
if: always() && needs.smoke-fast-tier-candidate.outputs.verdict == 'fail'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 5
permissions: {}
steps:
@@ -505,7 +505,7 @@ jobs:
aggregate-smoke-alarm:
name: Aggregate DMG-smoke alarm
if: github.event_name == 'schedule'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
@@ -541,7 +541,7 @@ jobs:
name: Read the smoke incident acknowledgement (no credential)
needs: aggregate-smoke-alarm
if: needs.aggregate-smoke-alarm.outputs.observed == 'true'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 5
permissions: {}
outputs:
@@ -576,7 +576,7 @@ jobs:
name: Page the release channel about the fast-tier gate
needs: [aggregate-smoke-alarm, read-smoke-incident]
if: needs.aggregate-smoke-alarm.outputs.observed == 'true'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: write-only
timeout-minutes: 10
permissions:
diff --git a/.github/workflows/share-contract-deployment-gate.yml b/.github/workflows/share-contract-deployment-gate.yml
index 8739ed6c3..9923edf2a 100644
--- a/.github/workflows/share-contract-deployment-gate.yml
+++ b/.github/workflows/share-contract-deployment-gate.yml
@@ -29,7 +29,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
(github.event.client_payload.environment == 'production' &&
github.event.client_payload.project.name == 'open-knowledge-docs')
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
steps:
diff --git a/.github/workflows/share-contract-monitor.yml b/.github/workflows/share-contract-monitor.yml
index c90a4607f..735d2da37 100644
--- a/.github/workflows/share-contract-monitor.yml
+++ b/.github/workflows/share-contract-monitor.yml
@@ -15,7 +15,7 @@ concurrency:
jobs:
probe:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
steps:
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index a99726c1b..b690339d2 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -14,7 +14,7 @@ permissions:
jobs:
stale:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
steps:
diff --git a/.github/workflows/write-back.yml b/.github/workflows/write-back.yml
index 50afbf8c7..744af3427 100644
--- a/.github/workflows/write-back.yml
+++ b/.github/workflows/write-back.yml
@@ -73,7 +73,7 @@ jobs:
concurrency:
group: reporter-write-back-${{ matrix.channel }}
cancel-in-progress: false
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
cache-mode: none
timeout-minutes: 10
env: