Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Upgrade GitHub-hosted Ubuntu jobs to 26.04 (#6105)

Andrew Mikofalvy5bcbbe91361a
diff --git a/.github/scripts/decide-release-retry.test.mjs b/.github/scripts/decide-release-retry.test.mjs
index 5c758b625..dfa083944 100644
--- a/.github/scripts/decide-release-retry.test.mjs
+++ b/.github/scripts/decide-release-retry.test.mjs
@@ -124,7 +124,7 @@ describe('decideRetry', () => {
const jobs = [
...timedOut,
{
- name: 'build-linux (stable, ubuntu-24.04)',
+ name: 'build-linux (stable, ubuntu-26.04)',
conclusion: 'failure',
annotations: [failure('Failed to FinalizeArtifact: Unable to make request: ETIMEDOUT')],
},
@@ -207,7 +207,7 @@ describe('decideRetry', () => {
test('re-runs a timed-out job, which GitHub reports as cancelled', () => {
const jobs = [
{
- name: 'build-linux (stable, ubuntu-24.04)',
+ name: 'build-linux (stable, ubuntu-26.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 fb292e85e..83f889179 100644
--- a/.github/scripts/desktop-release-compatibility.test.mjs
+++ b/.github/scripts/desktop-release-compatibility.test.mjs
@@ -145,7 +145,7 @@ 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-24.04', 'ubuntu-24.04-arm']);
+ expect(matrices[2].runner).toEqual(['ubuntu-26.04', 'ubuntu-24.04-arm']);
});
});
diff --git a/.github/scripts/release-cascade-shape.test.mjs b/.github/scripts/release-cascade-shape.test.mjs
index 2d8c1e725..9cb368505 100644
--- a/.github/scripts/release-cascade-shape.test.mjs
+++ b/.github/scripts/release-cascade-shape.test.mjs
@@ -1222,7 +1222,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-24.04');
+ expect(jobs.evaluate['runs-on']).toBe('ubuntu-26.04');
expect(jobs.evaluate.outputs.fast_tier_candidate).toBe(
'${{ steps.nominate.outputs.fast_tier_candidate }}',
);
@@ -1267,7 +1267,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-24.04');
+ expect(remember['runs-on']).toBe('ubuntu-26.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 3896b97ca..ccd2a2c68 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-24.04
+ runs-on: ubuntu-26.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 3162ee0dd..759c7228c 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-24.04
+ runs-on: ubuntu-26.04
timeout-minutes: 10
permissions:
contents: read
@@ -105,7 +105,7 @@ jobs:
bug-lane:
name: Evaluate qualifying fixes
needs: read-bumps
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.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 2667de25f..834fdbd65 100644
--- a/.github/workflows/desktop-build-win-linux.yml
+++ b/.github/workflows/desktop-build-win-linux.yml
@@ -1,39 +1,5 @@
name: Desktop build (manual, Windows/Linux)
-# Manual, artifact-only Windows + Linux desktop builds (spec
-# 2026-07-16-desktop-windows-linux-port, D6): nothing here publishes,
-# tags, or touches the release cadence — the operator downloads the
-# installers from the run's artifacts for VM/hardware QA. The release
-# path is desktop-release.yml, which builds these same targets signed
-# and publishes them; this workflow stays the non-publishing QA lane.
-#
-# Topology: one `prepare` job on ubuntu builds the workspace (the CLI
-# build chain uses `cp -r`/`mkdir -p` bash-isms that don't survive a
-# Windows runner's default shell, and this also keeps the packaging
-# 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-24.04`, arm64 on the native
-# `ubuntu-24.04-arm` runner — so each `.deb` carries prebuilt natives for
-# the arch it targets.
-#
-# Artifacts are one-per-installer, each named for the file it holds
-# (OpenKnowledge-Setup-x64 / -arm64, OpenKnowledge-amd64-deb / -arm64-deb,
-# OpenKnowledge-x86_64-rpm / -aarch64-rpm) so an operator can grab just
-# the one they're about to QA. GitHub zips artifacts on download either
-# way.
-#
-# Windows signing (D3, Azure Artifact Signing): OPTIONAL here. When the
-# run is on main, the release-signing environment holds the three AZURE_*
-# secrets, and the four AZURE_SIGNING_* repo variables are configured, the
-# Windows job passes win.azureSignOptions to
-# electron-builder; when absent it builds unsigned (acceptable for
-# internal QA only — unsigned Windows builds are never published, and
-# this workflow cannot publish by construction).
-#
-# afterPack/afterSign flip + verify the Electron fuses on every platform
-# (D9) — RunAsNode must be enabled or the bundled `ok` CLI wrappers and
-# the detached-server spawn silently break in packaged builds.
on:
workflow_dispatch:
@@ -70,7 +36,7 @@ env:
jobs:
prepare:
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 30
steps:
@@ -492,7 +458,7 @@ jobs:
fail-fast: false
matrix:
include:
- - runner: ubuntu-24.04
+ - runner: ubuntu-26.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 5d8dac539..0d146788a 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-24.04
+ runs-on: ubuntu-26.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 8bee9c40c..1ef607623 100644
--- a/.github/workflows/desktop-release-draft-janitor.yml
+++ b/.github/workflows/desktop-release-draft-janitor.yml
@@ -40,7 +40,7 @@ concurrency:
jobs:
sweep:
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 10
env:
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
index 18c9b782d..3153a2835 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-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 30
permissions:
@@ -1457,9 +1457,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-24.04, ubuntu-24.04-arm]
+ runner: [ubuntu-26.04, ubuntu-24.04-arm]
include:
- - runner: ubuntu-24.04
+ - runner: ubuntu-26.04
arch: x64
targets: deb:x64 rpm:x64
unpacked_dir: linux-unpacked
@@ -1711,7 +1711,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-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
# Sized to the upload retry envelope: 3 bounded 300s attempts + backoffs
# (see the upload step) plus download/verify overhead.
@@ -1908,7 +1908,7 @@ jobs:
!cancelled() &&
needs.publish-assets.result == 'success' &&
needs.build-macos.result == 'success'
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 15
permissions:
@@ -2272,7 +2272,7 @@ jobs:
release-consumers:
needs: finalize
if: ${{ !cancelled() && needs.finalize.outputs.published == 'true' }}
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 5
permissions:
@@ -2316,7 +2316,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-24.04
+ runs-on: ubuntu-26.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 74fd6f3ab..6467691d2 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-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 5
steps:
diff --git a/.github/workflows/linear-release.yml b/.github/workflows/linear-release.yml
index c29d51f9b..cf8062fc3 100644
--- a/.github/workflows/linear-release.yml
+++ b/.github/workflows/linear-release.yml
@@ -87,7 +87,7 @@ concurrency:
jobs:
stamp:
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.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 9ad998bdb..3a7f08b07 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-24.04
+ runs-on: ubuntu-26.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-24.04
+ runs-on: ubuntu-26.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-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 15
steps:
@@ -177,7 +177,7 @@ jobs:
contents: read
pull-requests: read
statuses: read
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.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 20eb4b542..f697a353a 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-24.04
+ - host: ubuntu-26.04
target: x86_64-unknown-linux-gnu
napiFlags: "--use-napi-cross"
- - host: ubuntu-24.04
+ - host: ubuntu-26.04
target: aarch64-unknown-linux-gnu
napiFlags: "--use-napi-cross"
# -x routes the build through cargo-zigbuild for musl (Alpine) targets.
- - host: ubuntu-24.04
+ - host: ubuntu-26.04
target: x86_64-unknown-linux-musl
napiFlags: "-x"
- - host: ubuntu-24.04
+ - host: ubuntu-26.04
target: aarch64-unknown-linux-musl
napiFlags: "-x"
- host: windows-latest
@@ -214,7 +214,7 @@ jobs:
combine:
name: combine + verify all targets present
needs: build
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 10
steps:
diff --git a/.github/workflows/point-release.yml b/.github/workflows/point-release.yml
index 1e70e073e..cb0e70fec 100644
--- a/.github/workflows/point-release.yml
+++ b/.github/workflows/point-release.yml
@@ -107,7 +107,7 @@ concurrency:
jobs:
read-bumps:
name: Read changeset bumps (no release credential)
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
timeout-minutes: 10
permissions:
contents: read
@@ -145,7 +145,7 @@ jobs:
point-release:
name: ${{ inputs.dry_run && 'Plan' || 'Ship' }} point release (${{ inputs.mode }})
needs: read-bumps
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 20
steps:
diff --git a/.github/workflows/promote-stable.yml b/.github/workflows/promote-stable.yml
index a6eaf06b7..5802929f0 100644
--- a/.github/workflows/promote-stable.yml
+++ b/.github/workflows/promote-stable.yml
@@ -99,7 +99,7 @@ concurrency:
jobs:
read-bumps:
name: Read changeset bumps (no release credential)
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
timeout-minutes: 10
permissions:
contents: read
@@ -179,7 +179,7 @@ jobs:
promote:
name: Promote ${{ inputs.beta_tag || 'newest beta' }} to stable
needs: read-bumps
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 20
steps:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1e81e573a..883b47f94 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -150,7 +150,7 @@ jobs:
# but its Release reads under its contents: write token.
cut-commit:
name: Decide whether this run cuts a beta, and at which commit
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 5
permissions:
@@ -206,7 +206,7 @@ jobs:
read-releases:
name: Read the previous beta Release and the stable Releases
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 5
permissions:
@@ -273,7 +273,7 @@ jobs:
name: Build + pack (${{ github.event.action || github.event_name }})
needs: [cut-commit, read-releases]
if: needs.cut-commit.outputs.push_skipped != 'true'
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 20
permissions:
@@ -641,7 +641,7 @@ jobs:
name: Tag + release (${{ github.event.action || github.event_name }})
needs: [cut-commit, build]
if: github.event.action == 'publish-stable' || needs.build.outputs.run_beta == 'true'
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 10
permissions:
@@ -805,7 +805,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-24.04
+ runs-on: ubuntu-26.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 398611510..3d9c48e01 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-24.04
+ runs-on: ubuntu-26.04
timeout-minutes: 10
permissions:
contents: read
@@ -184,7 +184,7 @@ jobs:
evaluate:
name: Evaluate 24h soak + business-hours gate
needs: read-bumps
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: read
timeout-minutes: 10
outputs:
@@ -452,7 +452,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-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 10
steps:
@@ -494,7 +494,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-24.04
+ runs-on: ubuntu-26.04
timeout-minutes: 5
permissions: {}
steps:
@@ -522,7 +522,7 @@ jobs:
aggregate-smoke-alarm:
name: Aggregate DMG-smoke alarm
if: github.event_name == 'schedule'
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
timeout-minutes: 10
permissions:
contents: read
@@ -558,7 +558,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-24.04
+ runs-on: ubuntu-26.04
timeout-minutes: 5
permissions: {}
outputs:
@@ -593,7 +593,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-24.04
+ runs-on: ubuntu-26.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 9923edf2a..d86d7493d 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-24.04
+ runs-on: ubuntu-26.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 735d2da37..1bcbbac66 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-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 10
steps:
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index b690339d2..060979da0 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -14,7 +14,7 @@ permissions:
jobs:
stale:
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
steps:
diff --git a/.github/workflows/write-back.yml b/.github/workflows/write-back.yml
index 744af3427..680f150bb 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-24.04
+ runs-on: ubuntu-26.04
cache-mode: none
timeout-minutes: 10
env: