Skip to content

Commit 010318e

Browse files
committed
ci(soak): run #581 soak on ALL platforms incl. Windows
#581 explicitly crashes Windows (50+ GB virtual memory → crash), so Windows is the most important soak target — the earlier 2-platform cap (ubuntu+macos) missed exactly where the bug manifests. Expand to the full matrix: linux amd64+arm64, darwin arm64+amd64, and a windows-latest msys2 job (mirrors _soak.yml's windows build + .exe binary-path detection). All legs run the query-leak mode, 320-min budget. Signed-off-by: Martin Vogel <[email protected]>
1 parent 3b3df03 commit 010318e

1 file changed

Lines changed: 45 additions & 3 deletions

File tree

‎.github/workflows/soak.yml‎

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,24 @@ permissions:
4141
contents: read
4242

4343
jobs:
44-
soak:
44+
# ── Unix: full matrix (linux amd64+arm64, darwin arm64+amd64) ──────────────
45+
soak-unix:
4546
strategy:
4647
fail-fast: false
4748
matrix:
48-
# Limited to the two platforms where soak-test.sh's RSS reading works
49-
# well, to bound cost (no windows / no arm here).
5049
include:
5150
- os: ubuntu-latest
5251
cc: gcc
5352
cxx: g++
53+
- os: ubuntu-24.04-arm
54+
cc: gcc
55+
cxx: g++
5456
- os: macos-14
5557
cc: cc
5658
cxx: c++
59+
- os: macos-15-intel
60+
cc: cc
61+
cxx: c++
5762
runs-on: ${{ matrix.os }}
5863
# Fixed budget (NOT the 30 min that silently truncated nightly). 320 min covers
5964
# the 240-min default soak + build + analysis. `timeout-minutes` is evaluated at
@@ -86,3 +91,40 @@ jobs:
8691
name: soak-${{ matrix.os }}-${{ inputs.mode || 'query-leak' }}
8792
path: soak-results/
8893
retention-days: 14
94+
95+
# ── Windows: the platform #581 actually crashes on (50+ GB → crash) ───────
96+
soak-windows:
97+
runs-on: windows-latest
98+
timeout-minutes: 320
99+
steps:
100+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
101+
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
102+
with:
103+
msystem: CLANG64
104+
path-type: inherit
105+
install: >-
106+
mingw-w64-clang-x86_64-clang
107+
mingw-w64-clang-x86_64-zlib
108+
mingw-w64-clang-x86_64-python3
109+
make
110+
git
111+
coreutils
112+
- name: Build (prod binary)
113+
shell: msys2 {0}
114+
run: scripts/build.sh CC=clang CXX=clang++
115+
- name: Soak
116+
shell: msys2 {0}
117+
env:
118+
CBM_SOAK_MODE: ${{ inputs.mode || 'query-leak' }}
119+
DURATION_MINUTES: ${{ inputs.duration_minutes || '240' }}
120+
run: |
121+
BIN=build/c/codebase-memory-mcp
122+
[ -f "${BIN}.exe" ] && BIN="${BIN}.exe"
123+
scripts/soak-test.sh "$BIN" "${DURATION_MINUTES}"
124+
- name: Upload metrics
125+
if: always()
126+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
127+
with:
128+
name: soak-windows-${{ inputs.mode || 'query-leak' }}
129+
path: soak-results/
130+
retention-days: 14

0 commit comments

Comments
 (0)