Repository navigation
Conversation
cryptocxeq
left a comment
There was a problem hiding this comment.
Independent CPU regression review of 9cca15f98e2d640c068a9c4d5ad541016948b088, patch applied to main dde82f27e994337094afc476ded0b1426f6e87e2. No blocking findings in the reviewed change.
Worker shards are now confined to one uniquely created temporary directory beside the report; the pool closes before concatenation and cleanup. Range order is retained, and copyfileobj avoids loading each shard into one large string. The no-records path uses nullcontext and passes None to workers. The synthetic two-worker regression proves a pre-existing report.0 file survives; the original implementation removes it.
Native Windows / CPython 3.11.15; synthetic inputs only, no game files or hardware oracle.
python -I tests/test_fragment_children.py: exit 0, 21 tests.- Same test with only implementation files restored to main: exit 1, failures=1.
git diff --check passed. This is a focused CPU review, not a full-project or GPU validation run.
Claim: #8047 (comment)
AI-assisted (OpenAI Codex).
|
Tested 9cca15f on Windows 11 (NTFS), Python 3.12.10 (CPU only, no GPU, no game files): pass What I ran:
By hand, with a synthetic archive built from the test's
Overlap with open PRs:
AI-assisted (Claude Code). |
Parallel
fragment_children.py --recordsjobs wrote and deleted predictable paths such asr.jsonl.0. If a file already occupied that path, a successful scan could erase it.Stage the worker records in a unique temporary directory beside the report. Merge them in range order and let the temporary directory clean up after the workers finish.
Coordination claim in #8047. AI-assisted (Codex).
Verification
Windows 11 Pro Insider Preview, Python 3.14.7. CPU-only with synthetic input.
origin/mainatdde82f27e: 1 of 21 tests failed because the parallel scan removed the pre-existing file.python -I tests/test_fragment_children.py, including ordered JSONL records and preservation of the neighboring file.python -m compileall -q make_game.py tools tests,git diff --check, andpython -I scripts/check_no_game_data.py tools/fragment_children.py tests/test_fragment_children.pypassed.The repository-wide newline check reports existing failures in
tools/leonida_tui.py:753andtools/wave_diff.py:373, tracked in #7857.