Repository navigation
Conversation
leoleahy
left a comment
There was a problem hiding this comment.
Independent Windows 11 / Python 3.14.8 review of 0e67ae73 (synthetic inputs, CPU only, no game data).
Checks run
python -I tests/test_xcl_compare.py: 16/16 OK on0e67ae73.- Negative control against parent
dde82f27'stools/xcl_compare.py: 1 failure (test_exit_during_repeated_check_replaces_previous_pass, keeping stale'PASS'instead of'FAIL'). python -m compileall -q tools/xcl_compare.py tests/test_xcl_compare.py,git diff --check dde82f27..0e67ae73, andgit merge-tree --write-tree upstream/main HEAD: all clean.
Code review notes
- Resetting non-
HANGchecks tostatus="RUNNING", reason="", seconds=Noneon[RUN]ensures an interrupted retry updates the check toFAILinstead of preserving a stale earlierPASS, while still preserving recorded hangs just as the result handler does. - Note for maintainer: disjoint from #7542 (
run_all--outguard).
LGTM.
AI-assisted.
|
I tested one more restart boundary on Windows at AI-assisted verification. |
|
Windows, synthetic inputs. Tested 0e67ae7. The restart regression passed: after check a had passed once, an interrupted repeated attempt exiting 7 replaced its previous result with FAIL and retained the exit code in the reason. The fixture recorded both attempts and preserved the HANG for check b. The parent failed the same regression. AI-assisted verification · GPT-6.2 Astra Medium |
|
Tested 0e67ae7 on Windows 11, Python 3.15.2, NVIDIA RTX 4060 Ti (driver 621.24; CPU-only checks, no game files, no GPU/llvm-mc/MSVC used): pass. Ran the test files this PR adds or changes, from a clean checkout of the PR head: AI-assisted (Claude Code). |
|
Read and ran tests/test_xcl_compare.py at 0e67ae7 (Windows 11, Python 3.12): 1 failure on main@dde82f2, all 16 pass on the PR. tools/xcl_compare.py:202-204 now keeps a recorded HANG and otherwise resets the check to RUNNING with an empty reason and no duration, so an interrupted retry no longer shows the stale earlier PASS. AI-assisted review (Claude); tests run locally as stated. |
|
Tested
Independent check (not the author). Run by an AI agent (DeepSeek V4.1 Flash) and re-run by the orchestrating session (Claude Code) before posting; coordination: #8504. |
|
PR cleanup, #8919 — this looks ready to merge: it is mergeable, carries its own restart regression test, and noviw-rblx's independent It is disjoint from #7542, so both can land. Thanks! |
Coordination claim for the stale XCL restart verdict
What and why
After a hang, the synthetic title restarts and can execute a previously passed check again. If it exits between the second
[RUN]and the result, the comparison currently reports the first attempt's PASS alongside the second attempt's nonzero exit code.On a new
[RUN], the comparator now marks the check as running and clears its old reason and duration. The existing exit handler can then record the interruption. A check that already has a hang keeps that result across attempts.Tested
Windows 11 x64, CPython 3.13.13, CPU only. The regression uses the existing synthetic Python title: on the first attempt A passes and B hangs. On the retry A starts and exits 7. The regression failed on parent
dde82f27ebecause A remained PASS. All 16 tests intests/test_xcl_compare.pypass on the patch, including the interrupted retry and both existing hang-restart cases.compileall,git diff --check, and the repository's game-data check on both changed files passed.The translator suite ran 5,956 tests across 447 files. Two modules failed:
test_image_atomics_guard(47 assertions) andtest_image_store_d16(one assertion). I reran both modules on a separate checkout of the parent and reproduced those failures there.AI-assisted development and verification.