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
Fix soak CI: parallel with smoke, all platforms, ASan on macOS
Martin Vogel817a1fc3ce18
diff --git a/.github/workflows/dry-run.yml b/.github/workflows/dry-run.ymlindex c4a4e18e6..c91b58a44 100644--- a/.github/workflows/dry-run.yml+++ b/.github/workflows/dry-run.yml@@ -534,6 +534,11 @@ jobs:goarch: arm64cc: cccxx: c+++ - os: macos-15-intel+ goos: darwin+ goarch: amd64+ cc: cc+ cxx: c++steps:- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4@@ -593,7 +598,7 @@ jobs:soak-asan:if: ${{ inputs.soak_level == 'full' && !inputs.skip_builds }}- needs: [smoke-unix]+ needs: [build-unix]runs-on: ${{ matrix.os }}timeout-minutes: 45strategy:@@ -601,20 +606,36 @@ jobs:matrix:include:- os: ubuntu-latest+ goos: linuxgoarch: amd64+ cc: gcc+ cxx: g++- os: ubuntu-24.04-arm+ goos: linux+ goarch: arm64+ cc: gcc+ cxx: g+++ - os: macos-14+ goos: darwingoarch: arm64+ cc: cc+ cxx: c+++ - os: macos-15-intel+ goos: darwin+ goarch: amd64+ cc: cc+ cxx: c++steps:- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- - name: Install deps+ - name: Install deps (Linux)+ if: startsWith(matrix.os, 'ubuntu')run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 git- name: Build (ASan + LeakSanitizer)run: |- # Build production binary WITH ASan for leak detection at exit- SANITIZE="-fsanitize=address,undefined -fno-omit-frame-pointer" \- scripts/build.sh CC=gcc CXX=g++ EXTRA_CFLAGS="$SANITIZE" EXTRA_LDFLAGS="$SANITIZE"+ SANITIZE="-fsanitize=address,undefined -fno-omit-frame-pointer"+ scripts/build.sh CC=${{ matrix.cc }} CXX=${{ matrix.cxx }} EXTRA_CFLAGS="$SANITIZE" EXTRA_LDFLAGS="$SANITIZE"- name: ASan soak (15 min)env:@@ -625,6 +646,6 @@ jobs:if: always()uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4with:- name: soak-asan-linux-${{ matrix.goarch }}+ name: soak-asan-${{ matrix.goos }}-${{ matrix.goarch }}path: soak-results/retention-days: 14diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 99c3eae04..41f850ede 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -535,6 +535,11 @@ jobs:goarch: arm64cc: cccxx: c+++ - os: macos-15-intel+ goos: darwin+ goarch: amd64+ cc: cc+ cxx: c++steps:- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- name: Install deps (Linux)@@ -585,7 +590,7 @@ jobs:path: soak-results/retention-days: 14- # ── Step 5b: ASan soak (Linux only, parallel) ─────────────────+ # ── Step 5b: ASan soak (Linux + macOS, parallel with smoke) ────soak-asan:if: ${{ inputs.soak_level == 'full' }}needs: [build-unix]@@ -596,17 +601,34 @@ jobs:matrix:include:- os: ubuntu-latest+ goos: linuxgoarch: amd64+ cc: gcc+ cxx: g++- os: ubuntu-24.04-arm+ goos: linuxgoarch: arm64+ cc: gcc+ cxx: g+++ - os: macos-14+ goos: darwin+ goarch: arm64+ cc: cc+ cxx: c+++ - os: macos-15-intel+ goos: darwin+ goarch: amd64+ cc: cc+ cxx: c++steps:- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- - name: Install deps+ - name: Install deps (Linux)+ if: startsWith(matrix.os, 'ubuntu')run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 git- name: Build (ASan + LeakSanitizer)run: |SANITIZE="-fsanitize=address,undefined -fno-omit-frame-pointer"- scripts/build.sh CC=gcc CXX=g++ EXTRA_CFLAGS="$SANITIZE" EXTRA_LDFLAGS="$SANITIZE"+ scripts/build.sh --version ${{ inputs.version }} CC=${{ matrix.cc }} CXX=${{ matrix.cxx }} EXTRA_CFLAGS="$SANITIZE" EXTRA_LDFLAGS="$SANITIZE"- name: ASan soak (15 min)env:ASAN_OPTIONS: "detect_leaks=1:halt_on_error=0:log_path=soak-results/asan"@@ -615,7 +637,7 @@ jobs:if: always()uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4with:- name: soak-asan-linux-${{ matrix.goarch }}+ name: soak-asan-${{ matrix.goos }}-${{ matrix.goarch }}path: soak-results/retention-days: 14