Files
codebase-memory-mcp/tests
Martin Vogel e0d229fc65 test(hook): assert the seam precondition and self-diagnose CI failures
The conflict regression went red on six CI legs with an unhelpful
message: every probe produced empty stderr, which reads as "the notice
is missing" when it actually means no conflict was ever raised. Three
changes, all diagnosis rather than tolerance:

- Assert the binary carries the hook-client seam up front, failing with
  the rebuild hint, exactly as tests/test_worker_watchdog.sh does for
  the crash-orphan probe. A seam-less binary can never raise the
  conflict, and that must be said plainly rather than inferred from a
  silent backstop expiry.
- Drop the `seq`-derived fingerprint for a literal 64-char constant
  (length-checked), removing a dependency on a tool whose presence
  varies across the MSYS2/macOS/Linux legs.
- On backstop expiry, dump stdout, the forced fingerprint and its
  length, and daemon status, so the next run names the cause instead of
  requiring another round trip.

Still green locally (seam-bearing binary): the conflict is observed and
the systemMessage asserted.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-08-05 13:14:14 +02:00
..
2026-06-28 13:05:05 +02:00