Skip to content

gamedata_reader: stage --out JSON files so a write failure keeps the previous report - #9185

Open
Grimkeh wants to merge 1 commit into
ItsNotRexed:mainfrom
Grimkeh:fix/gamedata-reader-preserve-json
Open

Grimkeh wants to merge 1 commit into
ItsNotRexed:mainfrom
Grimkeh:fix/gamedata-reader-preserve-json

Conversation

@Grimkeh

@Grimkeh Grimkeh commented Nov 23, 2026

Copy link
Copy Markdown

Summary

Coordination: claimed on #8504. Synthetic; no game files. AI-assisted (Cursor / Composer).

Test plan

  • python3 -I -m pytest tests/test_gamedata_reader.py -q

Made with Cursor

…previous report

Co-authored-by: Cursor <cursoragent@cursor.com>
@ne1i

ne1i commented Nov 23, 2026

Copy link
Copy Markdown

Tested bdf8f3f5 on Linux, CPython 3.14, CPU only, synthetic inputs, merged onto main 867d922f: pass

  • python -I tests/test_gamedata_reader.py: Ran 23 tests, OK. With only the non-test files reverted to main: FAILED (errors=1).
  • compileall and scripts/check_no_game_data.py on the changed files: clean.

For whoever merges: an agent reports this conflicts with #8616 (same region of tools/gamedata_reader.py); #8616 is older and only changes the non-finite export, while this PR stages the --out publication, so it should rebase on #8616.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants