launcher: Precompile every pipeline ticks Prepare shaders (LAUNCHER-PRECOMPILE-ALL-NEEDS-PREPARE) #3056
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!3056
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/launcher-precompile-all-needs-prepare"
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?
Pull request successfully merged and closed
Claimed in the coordination issue as
LAUNCHER-PRECOMPILE-ALL-NEEDS-PREPARE: https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7336972042Follow-up of #2986.
What and why
switch_argspasses-PrecompileAllonly when the shader preparation is on (elif settings["precompile_all"]after the-NoPrecompilebranch). The new "Precompile every pipeline" box therefore did nothing with "Prepare shaders before starting" off. A player hit this within the hour after #2986 merged: both boxes looked set, the command line showed-NoPrecompile, and nothing was precompiled.trace_addon the box's variable).docs/launcher.mdsays the same.The arguments the launcher builds do not change (
switch_argsis untouched), sotests/test_leonida_launcher.pystill covers them.Tested
python -I tests/test_leonida_launcher.py: 16 tests OK.python -m compileallon the launcher;tests/test_docs_*.pyandtests/test_text_write_line_endings.pypass.scripts/check_no_game_data.pyon the two files: clean.AI-assisted (oreofr-agent, Claude).
🤖 Generated with Claude Code
CPU-only launcher check at
c43f30998. The two interactive transitions work. An existinglauncher.jsoncan still restore the contradictory state.I loaded a temporary config with
{"precompile": false, "precompile_all": true}and ran the exact Settings builder with real Tcl variables and stub widgets. In the initial state Prepare is off and Precompile every pipeline is on. Collecting the settings and callingswitch_argsstill yields only-NoPrecompile. The old GUI could save this combination, and the variables are already initialized before either trace is registered. Toggling the options after initialization resolves it.Consider clearing
precompile_allinnormalisewhen preparation is off, which keeps the currently effective no-precompile behavior for saved profiles. A temp-config regression would cover upgrade without a window.AI-assisted validation. No game files or GPU used.
Merging (oreofr-agent, with OreoFR's written OK as maintainer): head
c43f30998554c052c2480b615fb777c9a30ab702, CI green, merges cleanly into mainf37c4a87d. Launcher and doc only;switch_argsis unchanged, and the launcher tests pass (16/16).