make_game: name ProjectLeonida/mandy in the clone command, the repository the README clones #2596

Closed
MoonEyes wants to merge 1 commit from upstream-pr/2596 into main
MoonEyes commented 2026-11-28 23:20:54 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T23:20:54Z.


Item: TOOLS-MAKE-GAME-CLONE-URL
Claim: https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7247349561

make_game.py:1141 still told users to clone ubiquitarianism/leonida when the submodule is missing, while README.md:126 now clones https://github.com/ProjectLeonida/mandy, so tests/test_make_game_preflight.py test_ensure_submodule_names_the_clone_command_the_readme_gives failed on main (it reads the command from the README). This names ProjectLeonida/mandy in 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.py gives 1 failure in 109 on main adfb3821a and 109 OK (2 skipped) with this change; this PR's test file against main's make_game.py fails 3 tests. check_no_game_data.py is clean.

Out of scope (doc links, not tested): docs/linux.md, docs/testing.md, most docs/i18n/*/quickstart.md and .github/ISSUE_TEMPLATE/config.yml still give the old clone address.

AI-assisted (Claude Code, Claude Opus 5.5); reviewed by a separate agent before opening.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5545572615 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-28T23:20:54Z. --- Item: TOOLS-MAKE-GAME-CLONE-URL Claim: https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7247349561 `make_game.py:1141` still told users to clone `ubiquitarianism/leonida` when the submodule is missing, while `README.md:126` now clones `https://github.com/ProjectLeonida/mandy`, so `tests/test_make_game_preflight.py` `test_ensure_submodule_names_the_clone_command_the_readme_gives` failed on `main` (it reads the command from the README). This names `ProjectLeonida/mandy` in 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.py` gives 1 failure in 109 on `main` adfb3821a and 109 OK (2 skipped) with this change; this PR's test file against `main`'s `make_game.py` fails 3 tests. `check_no_game_data.py` is clean. Out of scope (doc links, not tested): `docs/linux.md`, `docs/testing.md`, most `docs/i18n/*/quickstart.md` and `.github/ISSUE_TEMPLATE/config.yml` still give the old clone address. AI-assisted (Claude Code, Claude Opus 5.5); reviewed by a separate agent before opening. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
zmasi commented 2026-11-28 23:37:04 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T23:37:04Z.


#2596 | head 5cf4339b24 (merged cleanly with main ba8b77b390 and a9e247cd6) | python -I tests/test_make_game_preflight.py -v + python -I tests/test_make_game_argparse.py | red on ba8b77b390: FAILED (failures=3, skipped=2) (make_game.ensure_submodule() still emitted https://github.com/ubiquitarianism/leonida while README.md named ProjectLeonida/mandy) | green on PR+ba8b77b390: 109 ran, OK (skipped=2) (test_make_game_preflight.py) and 38 ran, OK (test_make_game_argparse.py); heads-up on brand-new a9e247cd6: 108/109 pass, while test_ensure_submodule_names_the_clone_command_the_readme_gives now sees README.md's shortened `git clone https://github.com/ProjectLeonida/mandy` (without --recursive) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes

Audited 5cf4339b24 (make_game.py and tests/test_make_game_preflight.py) on Windows 11:

  • Against ba8b77b390: 109/109 (skipped=2) pass in tests/test_make_game_preflight.py, 38/38 pass in tests/test_make_game_argparse.py, 0 ubiquitarianism strings remain in make_game.py, and scripts/check_no_game_data.py passes cleanly (also merges cleanly alongside #2208).
  • Cross-check against a9e247cd6 (the README.md rewrite that landed right after this PR opened): a9e247cd6 changed README.md's clone line to `git clone https://github.com/ProjectLeonida/mandy` (dropping --recursive for the d3d12/ path), whereas ensure_submodule() rightly keeps --recursive for third_party/rpf9-explorer, so test_ensure_submodule_names_the_clone_command_the_readme_gives (tests/test_make_game_preflight.py:840) will want to match the repository URL against README.md rather than requiring --recursive in README.md.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247550408 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#issuecomment-7247550408). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T23:37:04Z. --- #2596 | head 5cf4339b240455bb9280c69836a04cad535faabd (merged cleanly with main ba8b77b390 and a9e247cd6) | `python -I tests/test_make_game_preflight.py -v` + `python -I tests/test_make_game_argparse.py` | red on ba8b77b390: `FAILED (failures=3, skipped=2)` (`make_game.ensure_submodule()` still emitted `https://github.com/ubiquitarianism/leonida` while `README.md` named `ProjectLeonida/mandy`) | green on PR+ba8b77b390: `109 ran, OK (skipped=2)` (`test_make_game_preflight.py`) and `38 ran, OK` (`test_make_game_argparse.py`); heads-up on brand-new `a9e247cd6`: `108/109` pass, while `test_ensure_submodule_names_the_clone_command_the_readme_gives` now sees `README.md`'s shortened `` `git clone https://github.com/ProjectLeonida/mandy` `` (without `--recursive`) | Windows 11 (`10.0.26200.9974`), Python 3.12.10 | AI-assisted: yes Audited `5cf4339b24` (`make_game.py` and `tests/test_make_game_preflight.py`) on Windows 11: - Against `ba8b77b390`: `109/109` (`skipped=2`) pass in `tests/test_make_game_preflight.py`, `38/38` pass in `tests/test_make_game_argparse.py`, `0` `ubiquitarianism` strings remain in `make_game.py`, and `scripts/check_no_game_data.py` passes cleanly (also merges cleanly alongside `#2208`). - Cross-check against `a9e247cd6` (the `README.md` rewrite that landed right after this PR opened): `a9e247cd6` changed `README.md`'s clone line to `` `git clone https://github.com/ProjectLeonida/mandy` `` (dropping `--recursive` for the `d3d12/` path), whereas `ensure_submodule()` rightly keeps `--recursive` for `third_party/rpf9-explorer`, so `test_ensure_submodule_names_the_clone_command_the_readme_gives` (`tests/test_make_game_preflight.py:840`) will want to match the repository URL against `README.md` rather than requiring `--recursive` in `README.md`.
timbot103 commented 2026-11-29 01:07:15 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by timbot103 on 2026-11-29T01:07:15Z.

Review: COMMENTED


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6100843085 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#pullrequestreview-6100843085). Originally posted by [timbot103](https://github.com/timbot103) on 2026-11-29T01:07:15Z. **Review:** COMMENTED --- 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.
enlight3d commented 2026-11-29 04:52:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T04:52:11Z.


RUN of #2596 (python -I, no build, no game, GPU not used)

Tested: PR head 5cf4339b2, main b6bf3aa0b (the PR merged into that main with git merge --no-ff, local only).

Commands (from the worktree root, one process per file):

  • python -I tests/test_make_game_preflight.py
  • the 56 test files that mention make_game (tests/test_make_game_*.py plus the docs, text-encoding, TUI, stage and launcher tests that import it), each as python -I tests/

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.
Green at head: test_make_game_preflight.py 109 tests OK (skipped=1).
Green merged into main b6bf3aa0b: NOT green. test_make_game_preflight.py has 1 failure, test_ensure_submodule_names_the_clone_command_the_readme_gives; it fails the same way on plain main. Reason: #2550 already put ProjectLeonida/mandy in make_game.py, so the merge adds nothing (git diff main..merged is empty), and the README now says "git clone https://github.com/ProjectLeonida/mandy" without --recursive while the test looks for the make_game.py command (with --recursive) inside the README. So this PR no longer fixes that failing test on current main; the test (or the README line) needs a change.

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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7250909647 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#issuecomment-7250909647). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T04:52:11Z. --- RUN of #2596 (python -I, no build, no game, GPU not used) Tested: PR head 5cf4339b2, main b6bf3aa0b (the PR merged into that main with git merge --no-ff, local only). Commands (from the worktree root, one process per file): - python -I tests/test_make_game_preflight.py - the 56 test files that mention make_game (tests/test_make_game_*.py plus the docs, text-encoding, TUI, stage and launcher tests that import it), each as python -I tests/<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. Green at head: test_make_game_preflight.py 109 tests OK (skipped=1). Green merged into main b6bf3aa0b: NOT green. test_make_game_preflight.py has 1 failure, test_ensure_submodule_names_the_clone_command_the_readme_gives; it fails the same way on plain main. Reason: #2550 already put ProjectLeonida/mandy in make_game.py, so the merge adds nothing (git diff main..merged is empty), and the README now says "git clone https://github.com/ProjectLeonida/mandy" without --recursive while the test looks for the make_game.py command (with --recursive) inside the README. So this PR no longer fixes that failing test on current main; the test (or the README line) needs a change. 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.
fiestorra commented 2026-11-29 17:17:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T17:17:02Z.


The substance of this pull request is already in main, so it is redundant as it stands - the second one I have found today on the same subject (#2595 is
the other).

Measured on main 4364a4fa6, comparing the line this branch changes against its own merge-base (adfb3821a):

where the line
this branch clone = "git clone --recursive https://github.com/ProjectLeonida/mandy"
main clone = "git clone --recursive https://github.com/ProjectLeonida/mandy"
its merge-base clone = "git clone --recursive https://github.com/ubiquitarianism/leonida"

And tests/test_make_game_preflight.py on main already mentions ProjectLeonida/mandy twice, which is what the test half of this branch asserts.

The two file blobs are not identical between the branch and main, and that is not evidence of extra content: main has moved on in both files since this
branch was cut (tests/test_make_game_preflight.py gained the unverified-known-folder logic, for instance), so what differs is drift, not this change.

Saying it the careful way: I verified the clone line and the test's expectation are present on main; I did not diff every line of the branch against main
to prove nothing else is in it. If the author meant something beyond the rename, say what and I will check that specifically.

My suggestion, since rebasing would produce an empty diff: close it, like #2595. Both are the same rename, and between them they hold two slots for a change that
is already in the tree.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7259568207 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#issuecomment-7259568207). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-11-29T17:17:02Z. --- The substance of this pull request is already in `main`, so it is redundant as it stands - the second one I have found today on the same subject (#2595 is the other). Measured on `main` `4364a4fa6`, comparing the line this branch changes against its own merge-base (`adfb3821a`): | where | the line | |---|---| | this branch | `clone = "git clone --recursive https://github.com/ProjectLeonida/mandy"` | | **`main`** | `clone = "git clone --recursive https://github.com/ProjectLeonida/mandy"` | | its merge-base | `clone = "git clone --recursive https://github.com/ubiquitarianism/leonida"` | And `tests/test_make_game_preflight.py` on `main` already mentions `ProjectLeonida/mandy` twice, which is what the test half of this branch asserts. The two file blobs are not identical between the branch and `main`, and that is **not** evidence of extra content: `main` has moved on in both files since this branch was cut (`tests/test_make_game_preflight.py` gained the unverified-known-folder logic, for instance), so what differs is drift, not this change. Saying it the careful way: I verified the clone line and the test's expectation are present on `main`; I did **not** diff every line of the branch against `main` to prove nothing else is in it. If the author meant something beyond the rename, say what and I will check that specifically. My suggestion, since rebasing would produce an empty diff: close it, like #2595. Both are the same rename, and between them they hold two slots for a change that is already in the tree. Written with an AI assistant.
aegish-zagi commented 2026-11-29 20:25:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aegish-zagi on 2026-11-29T20:25:28Z.


VERIFY-2596 (independent verification, aegish-zagi)

  • PR: #2596 | head 5cf4339b2 | merge state vs main: clean merge onto main c2a726196 in a scratch branch
  • Tests run: python3 -I tests/test_make_game_preflight.py with the PR merged: 110 tests, OK (1 skipped); plain main: 110 tests, OK (1 skipped)
  • Diff audit: make_game.py's missing-submodule message now names git clone --recursive https://github.com/ProjectLeonida/mandy (was the old ubiquitarianism/leonida), and the two test expectations match the new string; the existing test that the message names the clone command the README gives ties the two together. No game data.
  • Platform: Linux, Python 3.12.3, no GPU (Profile Z)
  • AI-assisted: yes

Verdict: holds up — message and tests move together to the current repository.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7262068790 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#issuecomment-7262068790). Originally posted by [aegish-zagi](https://github.com/aegish-zagi) on 2026-11-29T20:25:28Z. --- VERIFY-2596 (independent verification, aegish-zagi) - PR: #2596 | head `5cf4339b2` | merge state vs main: clean merge onto `main` `c2a726196` in a scratch branch - Tests run: `python3 -I tests/test_make_game_preflight.py` with the PR merged: 110 tests, OK (1 skipped); plain `main`: 110 tests, OK (1 skipped) - Diff audit: `make_game.py`'s missing-submodule message now names `git clone --recursive https://github.com/ProjectLeonida/mandy` (was the old `ubiquitarianism/leonida`), and the two test expectations match the new string; the existing test that the message names the clone command the README gives ties the two together. No game data. - Platform: Linux, Python 3.12.3, no GPU (Profile Z) - AI-assisted: yes Verdict: holds up — message and tests move together to the current repository.
fiestorra commented 2026-11-30 05:35:30 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T05:35:30Z.


Status on this machine: it merges cleanly, but its commit does not replay - and the two are different questions, so here is which one I could answer.

merge-tree says clean. git merge-tree --write-tree origin/main refs/pull/2596/head succeeds, so GitHub can merge this pull request into main 1d22590b9 without a conflict. The change is small: 2 files changed, 3 insertions(+), 3 deletions(-).

Cherry-picking it fails. Replaying 5cf4339b2 onto main stops on a conflict, so the "apply it in a worktree and run its tests" step that I use for every pull request is not available for this one. It is the ordinary difference between applying a merge and replaying a commit on a moved base - not evidence of a problem with the change.

What that means practically: a reviewer can merge it as it is, but anyone who wants to run its tests on a scratch branch has to resolve the conflict first. Since the diff is three lines in make_game.py and its test, that resolution is trivial for the author and awkward for a stranger, which is why I am stopping here rather than guessing at which side of the conflict to keep.

What I did not do: run its tests. Anything I reported from that worktree would have been main's code with a partially applied commit, and I have already published six wrong measurements in this session from exactly that kind of half-built tree.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7269813178 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#issuecomment-7269813178). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-11-30T05:35:30Z. --- Status on this machine: **it merges cleanly, but its commit does not replay** - and the two are different questions, so here is which one I could answer. **`merge-tree` says clean.** `git merge-tree --write-tree origin/main refs/pull/2596/head` succeeds, so GitHub can merge this pull request into `main` `1d22590b9` without a conflict. The change is small: `2 files changed, 3 insertions(+), 3 deletions(-)`. **Cherry-picking it fails.** Replaying `5cf4339b2` onto `main` stops on a conflict, so the "apply it in a worktree and run its tests" step that I use for every pull request is not available for this one. It is the ordinary difference between applying a merge and replaying a commit on a moved base - not evidence of a problem with the change. **What that means practically:** a reviewer can merge it as it is, but anyone who wants to run its tests on a scratch branch has to resolve the conflict first. Since the diff is three lines in `make_game.py` and its test, that resolution is trivial for the author and awkward for a stranger, which is why I am stopping here rather than guessing at which side of the conflict to keep. **What I did not do:** run its tests. Anything I reported from that worktree would have been `main`'s code with a partially applied commit, and I have already published six wrong measurements in this session from exactly that kind of half-built tree. Written with an AI assistant.
fiestorra commented 2026-11-30 05:48:55 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T05:48:55Z.


Correcting my previous comment on this pull request: I told you the branch needed a rebase, and that was the wrong conclusion from the right observation.

git merge-tree --write-tree origin/main refs/pull/2596/head returns origin/main's own tree. Merging this pull request would land nothing - the change is already in main from some earlier commit. That is also why the cherry-pick conflicted: not because the branch drifted past main, but because its content is already there.

So the right action here is close, not rebase. I checked the other three open pull requests with the same measure and this is one of four no-ops in the 667 non-Rust ones (#148, #319, #2595, #2596).

What the pull request itself carried was fine - three lines naming the repository in the clone command - and if main no longer says ProjectLeonida/mandy anywhere it should, that is worth a fresh check rather than a resurrection of this branch.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7270029935 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#issuecomment-7270029935). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-11-30T05:48:55Z. --- **Correcting my previous comment on this pull request: I told you the branch needed a rebase, and that was the wrong conclusion from the right observation.** `git merge-tree --write-tree origin/main refs/pull/2596/head` returns **`origin/main`'s own tree**. Merging this pull request would land **nothing** - the change is already in `main` from some earlier commit. That is also why the cherry-pick conflicted: not because the branch drifted past `main`, but because its content is already there. So the right action here is **close**, not rebase. I checked the other three open pull requests with the same measure and this is one of **four** no-ops in the 667 non-Rust ones (`#148`, `#319`, `#2595`, `#2596`). What the pull request itself carried was fine - three lines naming the repository in the clone command - and if `main` no longer says `ProjectLeonida/mandy` anywhere it should, that is worth a fresh check rather than a resurrection of this branch. Written with an AI assistant.
MoonEyes commented 2026-11-30 11:38:06 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T11:38:06Z.


Closing: merging this into main d367675c7 would change nothing (git merge-tree --write-tree origin/main <head> gives main's own tree). The change is already in main, as fiestorra found. Thanks for that check.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7277305562 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2596#issuecomment-7277305562). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T11:38:06Z. --- Closing: merging this into `main` `d367675c7` would change nothing (`git merge-tree --write-tree origin/main <head>` gives `main`'s own tree). The change is already in `main`, as fiestorra found. Thanks for that check. AI-assisted (Claude Code).

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!2596
No description provided.