Files
codebase-memory-mcp/tests
Martin Vogel 2317c2e774 fix: never qsort an empty k8s vector; split the spawner deletion test
Two reds of dry run 38321896354 on main 56700bdb, both reproduced locally:

- pass_k8s.c sorted empty vectors with qsort(NULL, 0, ...). glibc declares
  qsort's base nonnull, so GCC's UBSan reports it on Linux (pass_k8s.c:832,
  :1009); macOS does not flag it. Every qsort in the file now goes through
  k8s_qsort, which skips arrays of fewer than two elements.

- incremental_deleted_spawner_drops_its_process (cb497a82) deleted a shell
  spawner and a Python spawner in one step and expected closure repair.
  The Python namespace admission (#2531, merged after it) declines closure
  repair for any deleted Python module -- its names leave its importers'
  namespaces -- and pipeline_python_namespace_admission_deleted_and_empty
  pins that. The spawner test now deletes in two steps: the shell script
  through closure repair (its Process goes, 2 stay), then the Python file
  through the full route (1 stays). Both admission rules stay covered.

pipeline_semantic_manifest_repro 49 passed; pipeline, infrascan, spawns,
incremental and the pipeline_* suites 607 passed (macOS).

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-10-13 03:00:47 +02:00
..
…
2026-10-13 01:20:13 +02:00
2026-10-12 20:15:14 +02:00
2026-10-11 16:57:48 +02:00