Skip to content

progress_dashboard: default to ProjectLeonida/mandy, the repository the README clones - #2595

Closed
MoonEyes wants to merge 1 commit into
ProjectLeonida:mainfrom
MoonEyes:fix/dashboard-default-repo
Closed

MoonEyes wants to merge 1 commit into
ProjectLeonida:mainfrom
MoonEyes:fix/dashboard-default-repo

Conversation

@MoonEyes

Copy link
Copy Markdown
Collaborator

Item: TOOLS-DASHBOARD-DEFAULT-REPO
Claim: #2570 (comment)

tools/progress_dashboard.py still defaulted to ubiquitarianism/leonida, so --github without --repo read the old repository, and tests/test_progress_dashboard.py test_default_repo_is_the_one_the_readme_clones failed on main (the README now clones https://github.com/ProjectLeonida/mandy, README.md:126). This sets DEFAULT_REPO = "ProjectLeonida/mandy" and the matching default in docs/progress_dashboard.md. Two lines.

#100 touches the same line but points at ProjectLeonida/Leonida and conflicts with main; this PR is only this fix.

Test (no game files, Windows 11, Python 3.14): python -I tests/test_progress_dashboard.py gives 1 failure in 65 on main adfb382 (that test) and 65 OK with this change. tests/test_progress_dashboard_ci.py (21 OK) and tests/test_ci_registration.py still pass. check_no_game_data.py is clean.

Not fixed here, a separate finding: make_game.py:1141 and tests/test_make_game_preflight.py:818,827 still name ubiquitarianism/leonida, so test_ensure_submodule_names_the_clone_command_the_readme_gives stays red in the same CI job.

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

🤖 Generated with Claude Code

…he README clones

DEFAULT_REPO still named ubiquitarianism/leonida, so --github without --repo
read the old repository and test_default_repo_is_the_one_the_readme_clones
failed on main. The docs page names the same default.

Item: TOOLS-DASHBOARD-DEFAULT-REPO

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zmasi

zmasi commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Native Windows 11 Verification (da75730781) — PASS

Diff-audited tools/progress_dashboard.py (+1/-1) and docs/progress_dashboard.md (+1/-1) and verified Red -> Green merged onto origin/main (adfb3821a2) on Windows 11 (10.0.26200, Python 3.12.10 with -I).

Results

  • Red (origin/main adfb3821a2): python -I tools/progress_dashboard.py --help advertised --repo REPO GitHub repository (default ubiquitarianism/leonida).
  • Green (PR #2595 merged onto origin/main):
    • python -I tools/progress_dashboard.py --help advertises --repo REPO GitHub repository (default ProjectLeonida/mandy).
    • Confirmed 0 remaining ubiquitarianism references across tools/progress_dashboard.py, docs/progress_dashboard.md, and tests/test_progress_dashboard.py.
    • python -I tests/test_progress_dashboard.py: Ran 65 tests in 5.283s — OK (rc=0).
    • Live end-to-end CLI probe python -I tools/progress_dashboard.py --out <temp_dir> --github (with --repo omitted so DEFAULT_REPO is exercised directly against ProjectLeonida/mandy): rc=0 (2318 units, 5 metrics -> progress.html, writing history.json, progress.html, and snapshots/).
    • Documentation & policy checks (tests/test_docs_cli_flags.py 4/4, tests/test_docs_links.py 17/17, tests/test_docs_repo_paths.py 5/5, tests/test_docs_table_rows.py 2/2, tests/test_docs_list_items.py 3/3, tests/test_docs_encoding.py 1/1, and scripts/check_no_game_data.py): OK.

AI-assisted.

@timbot103 timbot103 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Static audit of da7573078 against b6bf3aa0b. No tests, builds, or GPU runs.

tools/progress_dashboard.py:56 and docs/progress_dashboard.md:45 already match the patch on this base and agree with the repository URL at README.md:84. The two touched files have no stale repository URLs, and the string literal change is compatible with CI’s Python 3.12.

The README consistency assertions at tests/test_progress_dashboard.py:451 and tests/test_make_game_preflight.py:840 would still fail. Both look for the full git clone --recursive command. The README gives the clone URL at README.md:84 and documents the flag separately at README.md:159. Could both checks compare the clone URL and accept the README command with or without --recursive? The preflight tests already check that the recovery hint includes the flag.

AI-assisted.

@fiestorra

Copy link
Copy Markdown
Contributor

This change is already in main, so the pull request is redundant as it stands.

Evidence, measured on main 4364a4fa6:

tools/progress_dashboard.py:56:   DEFAULT_REPO = "ProjectLeonida/mandy"
docs/progress_dashboard.md:45:    … (`--repo`, default ProjectLeonida/mandy …

and a local git cherry-pick da7573078 onto current main answers "nothing to commit, working tree clean" - the patch applies to a tree that already
has it.

It landed with #2550 (8bfd5ada3, fix/ci-repo-url-rename), which touched the same two files for the same reason; that is why the branch's diff
against main is 536 commits of drift and nothing of its own.

So the useful thing here is to close it rather than rebase it: rebasing would produce an empty diff, and keeping it open holds a slot for a change
that exists. If the intent was something wider than the default (the --repo help text, the doc row's wording), say which and I will re-check against
main - but the two lines this branch changes are already there.

I have no write access here, so this is a comment and not a close.

Written with an AI assistant.

@aegish-zagi

Copy link
Copy Markdown
Contributor

VERIFY-2595 (independent verification, aegish-zagi)

  • PR: progress_dashboard: default to ProjectLeonida/mandy, the repository the README clones #2595 | head da7573078 | merge state vs main: clean merge onto main c2a726196 in a scratch branch
  • Tests run: python3 -I tests/test_progress_dashboard.py with the PR merged: 66 tests, OK (same as plain main)
  • Diff audit: 2 files, 2 lines — DEFAULT_REPO in tools/progress_dashboard.py and the matching doc line change from ubiquitarianism/leonida to ProjectLeonida/mandy; after the merge DEFAULT_REPO = "ProjectLeonida/mandy" is what the --repo argument defaults to. No other behaviour touched. No game data.
  • Platform: Linux, Python 3.12.3, no GPU (Profile Z)
  • AI-assisted: yes

Verdict: holds up — a correct, minimal rename of the default repository.

@fiestorra

Copy link
Copy Markdown
Contributor

Status on this machine: it merges, but the commit does not replay - same shape as #2596, and I am reporting it rather than guessing at the conflict.

merge-tree says clean. git merge-tree --write-tree origin/main refs/pull/2595/head succeeds against main 1d22590b9, so GitHub can merge this. The change is two lines: 2 files changed, 2 insertions(+), 2 deletions(-).

Cherry-picking it stops on a conflict, so I could not put it in a worktree and run tests/test_progress_dashboard.py against it. Anything I reported from that state would have been main's code plus a half-applied commit, and I have published six wrong measurements in this session from exactly that kind of tree, so I am stopping.

Why it is worth resolving rather than merging blind: #2625 (verified separately, negative control bites) touches the same test file - tests/test_progress_dashboard.py. Two open pull requests editing one test file is the case where "merges cleanly" and "both land" are different questions, and the second one will rebase onto the first.

Written with an AI assistant.

@fiestorra

Copy link
Copy Markdown
Contributor

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 - two lines defaulting progress_dashboard to the right repository - and if the dashboard default is what you wanted, main already has it.

Written with an AI assistant.

@MoonEyes

Copy link
Copy Markdown
Collaborator Author

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).

@MoonEyes MoonEyes closed this Nov 30, 2026
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.

5 participants