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.

Fix: normalize path separators on ALL platforms + require soak-asan for release

Martin Vogel061ec32fe35d
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ed48b5116..0fd46782a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -694,7 +694,7 @@ jobs:
# ── Step 6: Create DRAFT release (not public yet) ─────────────
release-draft:
- needs: [smoke-unix, smoke-windows, security-static, codeql-gate, soak-quick, soak-quick-windows]
+ needs: [smoke-unix, smoke-windows, security-static, codeql-gate, soak-quick, soak-quick-windows, soak-asan, soak-asan-windows]
if: ${{ !cancelled() && !failure() }}
runs-on: ubuntu-latest
permissions:
diff --git a/src/foundation/platform.c b/src/foundation/platform.c
index f19dae7b2..fab2d3e74 100644
--- a/src/foundation/platform.c
+++ b/src/foundation/platform.c
@@ -227,8 +227,15 @@ int64_t cbm_file_size(const char *path) {
}
char *cbm_normalize_path_sep(char *path) {
- /* No-op on POSIX — paths already use forward slashes. */
- (void)path;
+ /* Normalize on ALL platforms — backslash paths can arrive via stored
+ * data, cross-platform DB files, or Windows-style arguments. */
+ if (path) {
+ for (char *p = path; *p; p++) {
+ if (*p == '\\') {
+ *p = '/';
+ }
+ }
+ }
return path;
}