docs/launcher: Update rebuilds the runtime only on Windows; what the bar shows instead of an update (DOCS-LAUNCHER-UPDATE-PLATFORMS) #3079
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3079"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by Leo02261 on 2026-12-02T09:59:23Z.
Claimed in the coordination issue as: DOCS-LAUNCHER-UPDATE-PLATFORMS (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7341778066)
What and why
The Updates bullet in
docs/launcher.mdsaid Update "then rebuilds the runtime whend3d12/changed".run_updateintools/leonida_launcher.pyonly does that on Windows; elsewhere it printsUpdated. d3d12/ changed: rebuild the runtime (docs/linux.md).and returns. The page now says so and links the Linux runtime section.It also now says what the update check reports instead of an update: a zip copy, a missing git and a failed check (git's reason) go to the Play page's status bar (
update_note, theupdate_varlabel in the bar); a branch with no upstream shows nothing (update_notereturns"").Not in this PR (code, not docs): the Update confirmation dialog says it "rebuilds the runtime if it changed" on every platform, which is not true on Linux.
Tested
update_status,update_note,run_updateand the Play page widgets intools/leonida_launcher.py.python -I scripts/check_no_game_data.py docs/launcher.md: passes.GPUs tested: n/a (documentation only)
AI-assisted: yes. Written with Claude Opus 5.5; independently reviewed by a separate read-only Claude Opus 5.5 reviewer agent, whose findings (the no-upstream case, the wider "check fails" wording, the Linux section link) are applied.
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:01:37Z.
RUN (independent run on Windows, head
6596c8fcb3d9c114e680a4cce3d027b34b8b0d71, merged intomain45dc41f95c1cd0dcc29c2c50582e0e9af8a77259withgit merge --no-ff)Docs-only PR:
docs/launcher.md, Updates bullet (+6/-2).Green
39a6eb248bee57e24870a9720903033e62b63a26).python -I scripts/check_no_game_data.py docs/launcher.md: pass.tests/test_docs_links.py,test_docs_repo_paths.py,test_docs_encoding.py,test_docs_list_items.py,test_docs_repeated_lines.py,test_leonida_launcher.py.linux.md#the-runtime-under-wine-or-protonresolves:docs/linux.mdhas## The runtime, under Wine or Proton.Red
No new test, so I mutated the new text (restored after each):
#nonexistent-anchor:test_docs_links.pyFAILS (caught).nolinux.md:test_docs_links.pyFAILS (caught).d3d12/tod3d12x/) and a link text:test_docs_repo_paths.pystill OK (survives). The prose claims are not machine-checked.Review
Claims checked against
tools/leonida_launcher.pyonmain:run_update: on non-Windows it prints "Updated. d3d12/ changed: rebuild the runtime (docs/linux.md)." and returns 0; Windows rebuilds. Matches "on Windows rebuilds; on Linux it only says that d3d12/ changed".update_note: zip, nogit, error (with git'sdetail) give a message;noupstreamreturns"". Matches.update_var(line 809) is the status-bar label. Matches.Not covered
Verdict
PASS
AI-assisted (Claude Code), models: Claude Opus 5.5 (checker), separate Claude Opus 5.5 judge.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:18:35Z.
Verification of #3079 (third party, Linux, no GPU, no game files)
6596c8fcb3d9c114e680a4cce3d027b34b8b0d71(1 file,docs/launcher.md, +6/-2).a917c54d6; merged withgit merge --no-ffontomain45dc41f95, no conflict (184 commits behind).What was run (Python 3.13,
python -I)python -I scripts/check_no_game_data.py docs/launcher.mdgit diff --check origin/main...pr/3079tests/test_docs_*.py+tests/test_design_contract_rows.pyon the mergemain(incl.test_docs_links.pyfor the newlinux.md#the-runtime-under-wine-or-protonanchor)Docs-only, so no red/green applies. I checked each sentence against
tools/leonida_launcher.pyonmain:run_update(leonida_launcher.py:332-336) printsUpdated. d3d12/ changed: rebuild the runtime (docs/linux.md).and returns whenwindowsis false. The text matches.update_note(:290-302) returns text forzip,nogitanderror(with git'sdetail),and
""fornoupstream. The bar label at:644-648shows it. "on a branch that follows no upstream, nothing isshown" is right.
linux.mdanchor exists (docs/linux.md:75, "The runtime, under Wine or Proton").Nit (not blocking)
docs/launcher.md:41: the code branch is "not Windows" (windows: bool = WINDOWS), so macOS also gets themessage without a rebuild. "elsewhere" would match the code better than "on Linux". This only matters if the launcher runs on macOS.
AI disclosure (models and reviewer) and the claim are in the body.
Verdict: ready.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code