Skip to content

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.

ci(soak): run #581 soak on ALL platforms incl. Windows

Martin Vogel010318e4d59f
diff --git a/.github/workflows/soak.yml b/.github/workflows/soak.yml
index 54b5bdb5f..0885aa0c1 100644
--- a/.github/workflows/soak.yml
+++ b/.github/workflows/soak.yml
@@ -41,19 +41,24 @@ permissions:
contents: read
jobs:
- soak:
+ # ── Unix: full matrix (linux amd64+arm64, darwin arm64+amd64) ──────────────
+ soak-unix:
strategy:
fail-fast: false
matrix:
- # Limited to the two platforms where soak-test.sh's RSS reading works
- # well, to bound cost (no windows / no arm here).
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++
runs-on: ${{ matrix.os }}
# Fixed budget (NOT the 30 min that silently truncated nightly). 320 min covers
# the 240-min default soak + build + analysis. `timeout-minutes` is evaluated at
@@ -86,3 +91,40 @@ jobs:
name: soak-${{ matrix.os }}-${{ inputs.mode || 'query-leak' }}
path: soak-results/
retention-days: 14
+
+ # ── Windows: the platform #581 actually crashes on (50+ GB → crash) ───────
+ soak-windows:
+ runs-on: windows-latest
+ timeout-minutes: 320
+ steps:
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
+ - uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
+ with:
+ msystem: CLANG64
+ path-type: inherit
+ install: >-
+ mingw-w64-clang-x86_64-clang
+ mingw-w64-clang-x86_64-zlib
+ mingw-w64-clang-x86_64-python3
+ make
+ git
+ coreutils
+ - name: Build (prod binary)
+ shell: msys2 {0}
+ run: scripts/build.sh CC=clang CXX=clang++
+ - name: Soak
+ shell: msys2 {0}
+ env:
+ CBM_SOAK_MODE: ${{ inputs.mode || 'query-leak' }}
+ DURATION_MINUTES: ${{ inputs.duration_minutes || '240' }}
+ run: |
+ BIN=build/c/codebase-memory-mcp
+ [ -f "${BIN}.exe" ] && BIN="${BIN}.exe"
+ scripts/soak-test.sh "$BIN" "${DURATION_MINUTES}"
+ - name: Upload metrics
+ if: always()
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ with:
+ name: soak-windows-${{ inputs.mode || 'query-leak' }}
+ path: soak-results/
+ retention-days: 14