test: harden exhaustive compatibility suites

This commit is contained in:
2026-07-30 16:19:30 +00:00
parent 4ebd3fd39b
commit a9dbb3fd4d
28 changed files with 454 additions and 97 deletions
@@ -118,6 +118,12 @@ cd docker_compose_files/reference
> /tmp/ref-trace.json
```
When the integration tests need to exercise a feature-worktree copy of the
case wrapper, set `TURN_DIFFERENTIAL_CASE_SCRIPT` to that shell script. This is
intentionally distinct from `TURN_DIFFERENTIAL_RUNNER_SCRIPT`, which the shell
wrapper forwards to select the PHP comparison runner inside the reference
container.
Capture the core side by wrapping the real reserved-turn or daemon execution
with `captureCoreDatabaseTurnTrace()`. Save the returned JSON, then compare: