Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
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.mjsindex 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.mjsindex 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.mjsindex 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.ymlindex 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.04cache-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 rundiff --git a/.github/workflows/bug-lane.yml b/.github/workflows/bug-lane.ymlindex 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.04timeout-minutes: 10permissions:contents: read@@ -105,7 +105,7 @@ jobs:bug-lane:name: Evaluate qualifying fixesneeds: read-bumps- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: nonetimeout-minutes: 10steps:diff --git a/.github/workflows/desktop-build-win-linux.yml b/.github/workflows/desktop-build-win-linux.ymlindex 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.04cache-mode: nonetimeout-minutes: 30steps:@@ -492,7 +458,7 @@ jobs:fail-fast: falsematrix:include:- - runner: ubuntu-24.04+ - runner: ubuntu-26.04arch: x64targets: deb:x64 rpm:x64unpacked_dir: linux-unpackeddiff --git a/.github/workflows/desktop-release-auto-retry.yml b/.github/workflows/desktop-release-auto-retry.ymlindex 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.04cache-mode: nonetimeout-minutes: 5permissions:diff --git a/.github/workflows/desktop-release-draft-janitor.yml b/.github/workflows/desktop-release-draft-janitor.ymlindex 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.04cache-mode: nonetimeout-minutes: 10env:diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.ymlindex 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.04cache-mode: nonetimeout-minutes: 30permissions:@@ -1457,9 +1457,9 @@ jobs:fail-fast: falsematrix: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.04arch: x64targets: deb:x64 rpm:x64unpacked_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.04cache-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.04cache-mode: nonetimeout-minutes: 15permissions:@@ -2272,7 +2272,7 @@ jobs:release-consumers:needs: finalizeif: ${{ !cancelled() && needs.finalize.outputs.published == 'true' }}- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: nonetimeout-minutes: 5permissions:@@ -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.04cache-mode: nonetimeout-minutes: 10permissions:diff --git a/.github/workflows/linear-pr-relay.yml b/.github/workflows/linear-pr-relay.ymlindex 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.repositoryname: Relay the pull request number to agents-private- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: nonetimeout-minutes: 5steps:diff --git a/.github/workflows/linear-release.yml b/.github/workflows/linear-release.ymlindex 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.04cache-mode: nonetimeout-minutes: 10env:diff --git a/.github/workflows/monorepo-pr-bridge.yml b/.github/workflows/monorepo-pr-bridge.ymlindex 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.04cache-mode: nonetimeout-minutes: 5steps:@@ -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.04cache-mode: nonetimeout-minutes: 15steps:@@ -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.04cache-mode: nonetimeout-minutes: 15steps:@@ -177,7 +177,7 @@ jobs:contents: readpull-requests: readstatuses: read- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: nonetimeout-minutes: 15steps:diff --git a/.github/workflows/native-config-prebuild.yml b/.github/workflows/native-config-prebuild.ymlindex 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.04target: x86_64-unknown-linux-gnunapiFlags: "--use-napi-cross"- - host: ubuntu-24.04+ - host: ubuntu-26.04target: aarch64-unknown-linux-gnunapiFlags: "--use-napi-cross"# -x routes the build through cargo-zigbuild for musl (Alpine) targets.- - host: ubuntu-24.04+ - host: ubuntu-26.04target: x86_64-unknown-linux-muslnapiFlags: "-x"- - host: ubuntu-24.04+ - host: ubuntu-26.04target: aarch64-unknown-linux-muslnapiFlags: "-x"- host: windows-latest@@ -214,7 +214,7 @@ jobs:combine:name: combine + verify all targets presentneeds: build- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: nonetimeout-minutes: 10steps:diff --git a/.github/workflows/point-release.yml b/.github/workflows/point-release.ymlindex 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.04timeout-minutes: 10permissions: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.04cache-mode: nonetimeout-minutes: 20steps:diff --git a/.github/workflows/promote-stable.yml b/.github/workflows/promote-stable.ymlindex 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.04timeout-minutes: 10permissions:contents: read@@ -179,7 +179,7 @@ jobs:promote:name: Promote ${{ inputs.beta_tag || 'newest beta' }} to stableneeds: read-bumps- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: nonetimeout-minutes: 20steps:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 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.04cache-mode: nonetimeout-minutes: 5permissions:@@ -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.04cache-mode: nonetimeout-minutes: 5permissions:@@ -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.04cache-mode: nonetimeout-minutes: 20permissions:@@ -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.04cache-mode: nonetimeout-minutes: 10permissions:@@ -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.04cache-mode: nonetimeout-minutes: 10permissions:diff --git a/.github/workflows/select-beta-to-promote.yml b/.github/workflows/select-beta-to-promote.ymlindex 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.04timeout-minutes: 10permissions:contents: read@@ -184,7 +184,7 @@ jobs:evaluate:name: Evaluate 24h soak + business-hours gateneeds: read-bumps- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: readtimeout-minutes: 10outputs:@@ -452,7 +452,7 @@ jobs:name: Dispatch the smoke-proven fast-tier candidateneeds: [evaluate, smoke-fast-tier-candidate]if: needs.smoke-fast-tier-candidate.outputs.verdict == 'pass'- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: nonetimeout-minutes: 10steps:@@ -494,7 +494,7 @@ jobs:name: Remember the candidate's failed smokeneeds: [evaluate, smoke-fast-tier-candidate]if: always() && needs.smoke-fast-tier-candidate.outputs.verdict == 'fail'- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04timeout-minutes: 5permissions: {}steps:@@ -522,7 +522,7 @@ jobs:aggregate-smoke-alarm:name: Aggregate DMG-smoke alarmif: github.event_name == 'schedule'- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04timeout-minutes: 10permissions:contents: read@@ -558,7 +558,7 @@ jobs:name: Read the smoke incident acknowledgement (no credential)needs: aggregate-smoke-alarmif: needs.aggregate-smoke-alarm.outputs.observed == 'true'- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04timeout-minutes: 5permissions: {}outputs:@@ -593,7 +593,7 @@ jobs:name: Page the release channel about the fast-tier gateneeds: [aggregate-smoke-alarm, read-smoke-incident]if: needs.aggregate-smoke-alarm.outputs.observed == 'true'- runs-on: ubuntu-24.04+ runs-on: ubuntu-26.04cache-mode: write-onlytimeout-minutes: 10permissions:diff --git a/.github/workflows/share-contract-deployment-gate.yml b/.github/workflows/share-contract-deployment-gate.ymlindex 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.04cache-mode: nonetimeout-minutes: 10steps:diff --git a/.github/workflows/share-contract-monitor.yml b/.github/workflows/share-contract-monitor.ymlindex 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.04cache-mode: nonetimeout-minutes: 10steps:diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlindex 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.04cache-mode: nonesteps:diff --git a/.github/workflows/write-back.yml b/.github/workflows/write-back.ymlindex 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.04cache-mode: nonetimeout-minutes: 10env: