Files
codebase-memory-mcp/tests
Martin Vogel 011c129ef9 fix(repro): resolve markdown/awk/issue471 per maintainer decisions
Three flagged decisions, resolved with the maintainer (accuracy-first):

- Markdown heading label: production correctly mints "Section" (a valid, accurate
  label); a heading is not a Class. Correct the repro ASSERTION "Class"->"Section"
  rather than degrade the graph to match the test.
- AWK: a bare `rule` (`{...}`/`/re/{...}`/BEGIN/END) is ANONYMOUS top-level code,
  not a named callable -> a call inside a rule is legitimately Module-sourced.
  Remove "rule" from awk_func_types (it is not a function boundary) and rewrite
  the fixture so the call-under-test (`inner`) lives inside a named `function`
  (`process`), validly exercising callable-sourcing. The graph stays accurate.
- issue471: convert the flaky wall-clock perf reproduction into a DETERMINISTIC
  termination guard. At N=5000 the O(n^2) parse sits at ~15 s (the alarm) and
  flipped red/green on CI load; N=2000 finishes <1 s under any load, so the
  "deeply-nested ambiguous parse terminates (no hang/crash)" assertion is now
  stable on all platforms. The O(n^2) perf bug #471 remains OPEN, tracked
  separately (wall-clock perf cannot be reliably CI-gated).

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-06-27 10:20:35 +02:00
..
2026-06-03 02:13:30 +02:00