Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
ci: broaden dry-run + release platform matrices (non-gating broad legs)
Martin Vogel75fac86b530b
diff --git a/.github/workflows/_smoke.yml b/.github/workflows/_smoke.ymlindex b4a62a7d0..c65fae909 100644--- a/.github/workflows/_smoke.yml+++ b/.github/workflows/_smoke.yml@@ -2,31 +2,81 @@name: Smokeon:- workflow_call: {}+ workflow_call:+ inputs:+ broad_platforms:+ description: 'Smoke the shipped binaries on the broad platform matrix (extra OS versions) instead of the core set'+ type: boolean+ default: falsepermissions:contents: readjobs:+ # Emit the platform matrices as JSON. The CORE set is the default (fast,+ # unchanged); the BROAD set adds extra free runners (additional OS versions)+ # that download the SAME shipped artifact for their goos/goarch and verify it+ # runs on a wider range of OS versions. No new artifacts are built — broad+ # legs reuse the exact binaries produced by _build.yml.+ setup-matrix:+ runs-on: ubuntu-latest+ timeout-minutes: 5+ outputs:+ unix: ${{ steps.set.outputs.unix }}+ windows: ${{ steps.set.outputs.windows }}+ portable: ${{ steps.set.outputs.portable }}+ steps:+ - name: Compute matrices+ id: set+ env:+ BROAD: ${{ inputs.broad_platforms }}+ run: |+ CORE_UNIX='[+ {"os":"ubuntu-latest","goos":"linux","goarch":"amd64"},+ {"os":"ubuntu-24.04-arm","goos":"linux","goarch":"arm64"},+ {"os":"macos-14","goos":"darwin","goarch":"arm64"},+ {"os":"macos-15-intel","goos":"darwin","goarch":"amd64"}+ ]'+ # Broad legs reuse existing goos/goarch artifacts on newer/older OS+ # versions (e.g. ubuntu-22.04 = older glibc) to widen the run-anywhere+ # signal without building new targets.+ BROAD_UNIX='[+ {"os":"ubuntu-22.04","goos":"linux","goarch":"amd64","optional":true},+ {"os":"ubuntu-22.04-arm","goos":"linux","goarch":"arm64","optional":true},+ {"os":"macos-15","goos":"darwin","goarch":"arm64","optional":true}+ ]'+ CORE_WIN='[{"os":"windows-latest"}]'+ # windows-11-arm runs the shipped x86_64 binary under emulation —+ # verifies the Windows artifact still launches on ARM hardware.+ BROAD_WIN='[{"os":"windows-2025","optional":true},{"os":"windows-11-arm","optional":true}]'+ CORE_PORTABLE='[+ {"arch":"amd64","runner":"ubuntu-latest"},+ {"arch":"arm64","runner":"ubuntu-24.04-arm"}+ ]'+ BROAD_PORTABLE='[+ {"arch":"amd64","runner":"ubuntu-22.04","optional":true},+ {"arch":"arm64","runner":"ubuntu-22.04-arm","optional":true}+ ]'+ if [ "$BROAD" = "true" ]; then+ UNIX=$(jq -cn --argjson a "$CORE_UNIX" --argjson b "$BROAD_UNIX" '$a + $b')+ WIN=$(jq -cn --argjson a "$CORE_WIN" --argjson b "$BROAD_WIN" '$a + $b')+ PORTABLE=$(jq -cn --argjson a "$CORE_PORTABLE" --argjson b "$BROAD_PORTABLE" '$a + $b')+ else+ UNIX=$(jq -cn --argjson a "$CORE_UNIX" '$a')+ WIN=$(jq -cn --argjson a "$CORE_WIN" '$a')+ PORTABLE=$(jq -cn --argjson a "$CORE_PORTABLE" '$a')+ fi+ echo "unix={\"variant\":[\"standard\",\"ui\"],\"include\":$UNIX}" >> "$GITHUB_OUTPUT"+ echo "windows={\"variant\":[\"standard\",\"ui\"],\"include\":$WIN}" >> "$GITHUB_OUTPUT"+ echo "portable={\"variant\":[\"standard\",\"ui\"],\"include\":$PORTABLE}" >> "$GITHUB_OUTPUT"+smoke-unix:+ needs: setup-matrixstrategy:fail-fast: false- matrix:- include:- - os: ubuntu-latest- goos: linux- goarch: amd64- - os: ubuntu-24.04-arm- goos: linux- goarch: arm64- - os: macos-14- goos: darwin- goarch: arm64- - os: macos-15-intel- goos: darwin- goarch: amd64- variant: [standard, ui]+ matrix: ${{ fromJSON(needs.setup-matrix.outputs.unix) }}runs-on: ${{ matrix.os }}+ continue-on-error: ${{ matrix.optional == true }}timeout-minutes: 15steps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3@@ -98,11 +148,12 @@ jobs:clamscan --no-summary ./codebase-memory-mcpsmoke-windows:+ needs: setup-matrixstrategy:fail-fast: false- matrix:- variant: [standard, ui]- runs-on: windows-latest+ matrix: ${{ fromJSON(needs.setup-matrix.outputs.windows) }}+ runs-on: ${{ matrix.os }}+ continue-on-error: ${{ matrix.optional == true }}timeout-minutes: 15steps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3@@ -164,16 +215,12 @@ jobs:Write-Host "=== Windows Defender: clean ==="smoke-linux-portable:+ needs: setup-matrixstrategy:fail-fast: false- matrix:- include:- - arch: amd64- runner: ubuntu-latest- - arch: arm64- runner: ubuntu-24.04-arm- variant: [standard, ui]+ matrix: ${{ fromJSON(needs.setup-matrix.outputs.portable) }}runs-on: ${{ matrix.runner }}+ continue-on-error: ${{ matrix.optional == true }}timeout-minutes: 15steps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.ymlindex 847bf8fa4..897f261b6 100644--- a/.github/workflows/_test.yml+++ b/.github/workflows/_test.yml@@ -8,29 +8,62 @@ on:description: 'Skip incremental perf tests (phases 2-7)'type: booleandefault: true+ broad_platforms:+ description: 'Test the broad platform matrix (older glibc + extra OS versions) instead of the core set'+ type: boolean+ default: falsepermissions:contents: readjobs:+ # Emit the platform matrices as JSON. The CORE set is the default (fast,+ # unchanged); the BROAD set adds extra free runners (older glibc /+ # additional OS versions) for a wider "does it build everywhere" picture.+ setup-matrix:+ runs-on: ubuntu-latest+ timeout-minutes: 5+ outputs:+ unix: ${{ steps.set.outputs.unix }}+ windows: ${{ steps.set.outputs.windows }}+ steps:+ - name: Compute matrices+ id: set+ env:+ BROAD: ${{ inputs.broad_platforms }}+ run: |+ CORE_UNIX='[+ {"os":"ubuntu-latest","cc":"gcc","cxx":"g++"},+ {"os":"ubuntu-24.04-arm","cc":"gcc","cxx":"g++"},+ {"os":"macos-14","cc":"cc","cxx":"c++"},+ {"os":"macos-15-intel","cc":"cc","cxx":"c++"}+ ]'+ BROAD_UNIX='[+ {"os":"ubuntu-22.04","cc":"gcc","cxx":"g++","optional":true},+ {"os":"ubuntu-22.04-arm","cc":"gcc","cxx":"g++","optional":true},+ {"os":"macos-15","cc":"cc","cxx":"c++","optional":true}+ ]'+ CORE_WIN='[{"os":"windows-latest"}]'+ BROAD_WIN='[{"os":"windows-2025","optional":true},{"os":"windows-11-arm","optional":true}]'+ if [ "$BROAD" = "true" ]; then+ UNIX=$(jq -cn --argjson a "$CORE_UNIX" --argjson b "$BROAD_UNIX" '$a + $b')+ WIN=$(jq -cn --argjson a "$CORE_WIN" --argjson b "$BROAD_WIN" '$a + $b')+ else+ UNIX=$(jq -cn --argjson a "$CORE_UNIX" '$a')+ WIN=$(jq -cn --argjson a "$CORE_WIN" '$a')+ fi+ echo "unix={\"include\":$UNIX}" >> "$GITHUB_OUTPUT"+ echo "windows={\"include\":$WIN}" >> "$GITHUB_OUTPUT"+test-unix:+ needs: setup-matrixstrategy:fail-fast: false- matrix:- include:- - os: ubuntu-latest- cc: gcc- cxx: g++- - os: ubuntu-24.04-arm- cc: gcc- cxx: g++- - os: macos-14- cc: cc- cxx: c++- - os: macos-15-intel- cc: cc- cxx: c+++ matrix: ${{ fromJSON(needs.setup-matrix.outputs.unix) }}runs-on: ${{ matrix.os }}+ # Broad-only legs (extra OS versions) are informational: visible but+ # non-blocking, so a flaky/less-common runner can't block a release.+ continue-on-error: ${{ matrix.optional == true }}timeout-minutes: 60steps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3@@ -45,7 +78,12 @@ jobs:CBM_SKIP_PERF: ${{ inputs.skip_perf && '1' || '' }}test-windows:- runs-on: windows-latest+ needs: setup-matrix+ strategy:+ fail-fast: false+ matrix: ${{ fromJSON(needs.setup-matrix.outputs.windows) }}+ runs-on: ${{ matrix.os }}+ continue-on-error: ${{ matrix.optional == true }}timeout-minutes: 60steps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3diff --git a/.github/workflows/dry-run.yml b/.github/workflows/dry-run.ymlindex bb9e700b1..8e6c21504 100644--- a/.github/workflows/dry-run.yml+++ b/.github/workflows/dry-run.yml@@ -50,6 +50,7 @@ jobs:uses: ./.github/workflows/_test.ymlwith:skip_perf: true+ broad_platforms: true# ── Build all platforms ────────────────────────────────────────build:@@ -65,6 +66,8 @@ jobs:if: ${{ inputs.skip_builds != true && !cancelled() && needs.build.result != 'failure' && needs.build.result != 'skipped' }}needs: [build]uses: ./.github/workflows/_smoke.yml+ with:+ broad_platforms: true# ── Soak tests (optional, parallel with smoke) ────────────────soak:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 315a01307..e6daa7e2f 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -51,6 +51,7 @@ jobs:uses: ./.github/workflows/_test.ymlwith:skip_perf: ${{ inputs.skip_perf }}+ broad_platforms: true# ── 3. Build all platforms ──────────────────────────────────────build:@@ -63,6 +64,8 @@ jobs:smoke:needs: [build]uses: ./.github/workflows/_smoke.yml+ with:+ broad_platforms: true# ── 5. Soak tests ──────────────────────────────────────────────soak: