Repository navigation
Conversation
…tory the README clones make_game.py still told users to clone ubiquitarianism/leonida, and test_ensure_submodule_names_the_clone_command_the_readme_gives failed on main because README.md:126 now clones ProjectLeonida/mandy. Item: TOOLS-MAKE-GAME-CLONE-URL Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
#2596 | head 5cf4339 (merged cleanly with main ba8b77b and a9e247c) | Audited
|
timbot103
left a comment
There was a problem hiding this comment.
Static audit of 5cf4339b2 against 48bae6cad found one failing assertion. tests/test_make_game_preflight.py:840 searches for the full recovery command with --recursive. The clone command at README.md:84 gives the same URL without that flag. Please compare the repository URLs and keep the existing checks that the recovery hint includes --recursive.
AI-assisted.
|
RUN of #2596 (python -I, no build, no game, GPU not used) Tested: PR head 5cf4339, main b6bf3aa (the PR merged into that main with git merge --no-ff, local only). Commands (from the worktree root, one process per file):
Red: with make_game.py put back to the pre-fix version (tests kept), test_make_game_preflight.py fails 3 tests: test_ensure_submodule_missing_fails_cleanly, test_ensure_submodule_zip_with_git_does_not_say_install_git, test_ensure_submodule_names_the_clone_command_the_readme_gives. Kind of red: the old clone address in make_game.py against the tests (and the README) naming ProjectLeonida/mandy. Other failures, all identical on plain main (pre-existing, not caused by this PR): test_make_game_pipelines.py (3, test_invalid_index_shape_preserves_the_previous_crash_report), test_progress_dashboard.py (1, test_default_repo_is_the_one_the_readme_clones), test_docs_cli_flags.py (1), test_text_encoding.py (1). At the PR head (older base) test_tool_stdout_encoding.py also fails; it passes on main and merged. The other 50 files pass at head and merged. Machine: Windows 11 Pro 10.0.26300, CPython 3.13.12; GPU not used. |
Item: TOOLS-MAKE-GAME-CLONE-URL
Claim: #2570 (comment)
make_game.py:1141still told users to cloneubiquitarianism/leonidawhen the submodule is missing, whileREADME.md:126now cloneshttps://github.com/ProjectLeonida/mandy, sotests/test_make_game_preflight.pytest_ensure_submodule_names_the_clone_command_the_readme_givesfailed onmain(it reads the command from the README). This namesProjectLeonida/mandyin the clone command and in the two neighbouring tests that hard-code it. Three lines.With #2595 (the progress_dashboard default), this makes the CI docs-only job (
.github/workflows/ci.yml:68-70) green for these two tests.Test (no game files, Windows 11, Python 3.14):
python -I tests/test_make_game_preflight.pygives 1 failure in 109 onmainadfb382 and 109 OK (2 skipped) with this change; this PR's test file againstmain'smake_game.pyfails 3 tests.check_no_game_data.pyis clean.Out of scope (doc links, not tested):
docs/linux.md,docs/testing.md, mostdocs/i18n/*/quickstart.mdand.github/ISSUE_TEMPLATE/config.ymlstill give the old clone address.AI-assisted (Claude Code, Claude Opus 5.5); reviewed by a separate agent before opening.
🤖 Generated with Claude Code