Commit Graph

6 Commits

Author SHA1 Message Date
97f9a33178 xcl_compare: open transcript before Popen, format float timeouts, validate paths upfront, write JSON atomically 2026-11-25 06:25:43 +01:00
2b906bccfd fix(xcl_compare): enforce inactivity timeout after output EOF (#6850)
Squash-merged after diff review of PR #6850 - fix(xcl_compare): enforce inactivity timeout after output EOF
2026-11-23 09:38:40 -06:00
3d7fcd6d8c xcl_compare: preserve earlier trace_<attempt>.jsonl files across hang restarts (#6863)
Squash-merged after diff review of PR #6863 - xcl_compare: preserve earlier trace_<attempt>.jsonl files across hang restarts
2026-11-23 09:38:14 -06:00
8aa2579080 xcl_compare: review fixes (report folder, pipe close, reason differences, restart tests)
- Create the --out parent folder before writing the report.
- Close the title's stdout pipe when the reader thread finishes.
- Count a check as different when the status or the reason differs.
- Move the hang restart loop into run_with_restarts and test it with a stand-in title.
- kill_tree falls back to Popen.kill outside Windows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:17:44 +01:00
c4806f5955 xcl_compare: stream title output to a transcript file instead of memory
Run.log collected every line a title printed and nothing read it. The lines
now go to xcl_output.txt and leonida_output.txt in the work folder (named in
report.json), and Run keeps none of them. A test checks the transcript and
that Run has no log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:17:34 +01:00
87d608fef2 tools: compare XCL's synthetic test title under gta6rt and under XCL
tools/xcl_compare.py starts XCL's fake console executable under gta6rt --run
and under XCL, records each check's result, the unimplemented imports it hit,
and the thread stacks of a hung check (cdb), restarts after a hang with that
check skipped, and writes report.json; --gui shows the checks live. It holds
no XCL code: it only runs binaries from a separate XCL checkout.

docs/xcl_compare.md has the licence boundary, how to run it, and the first
result (XCL 50/50, gta6rt 5 pass, 43 fail, 2 hang), with each difference
mapped to an open item or recorded as a lead. Both hangs are the documented
deadlock of XTaskQueueTerminate(wait = true) from a manual queue's
dispatching thread, not a runtime bug.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:53 +01:00