assets: allow skipping audio export #726
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/726"
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 Ggfortnite99 on 2026-11-24T12:58:41Z.
What and why
Adds an opt-in
--no-audioflag for the assets stage. It skips audio extraction and conversion, preserves existing audio files, and leaves full audio export as the default. A later assets run without the flag can export audio. Preflight uses a 340 GiB assets estimate for the no-audio path, based on the documented ~337 GiB non-audio measurement.This reduces time and storage when audio exports are not needed; it does not implement splitting files across drives. Context: the storage request recorded as old #7034 in issue #18.
Claimed in the coordination issue as: Not claimed; submitted directly for maintainer review (no matching open-work item is listed in #14).
Depends on: none.
Fixes: none.
Tested
python -I tests/test_audio_stage_resume.py— 13 passedpython -I tests/test_make_game_argparse.py— 40 passedpython -I tests/test_make_game_preflight.py— 100 passed, 2 skippedpython -I tests/test_docs_cli_flags.py— 4 passedpython -I tests/test_leonida_tui.py— 25 passedpython -m compileall -q make_game.py tools testspython -I scripts/check_no_game_data.pyon changed source, documentation and testsmaincompleted without conflictsNo full game build or performance benchmark was run.
GPUs tested: n/a.
AI-assisted: yes.
Checklist
mainand merges cleanly.Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T13:25:04Z.
Review: APPROVED
Audited and verified. Clean-room compliant.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T18:01:06Z.
Hi @Ggfortnite99, thanks for this pull request. It currently conflicts with
main(conflicting file(s):make_game.py,tests/test_make_game_argparse.py), so it carries theneeds rebaselabel. CONTRIBUTING.md asks authors to rebase their branch onmain; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T11:44:38Z.
Review: DISMISSED
This PR cannot merge in its current state:
maininmake_game.pyandtests/test_make_game_argparse.py.stdlib-tests-linux,macos-python,check).CONTRIBUTING.md.Please rebase onto current
mainand get a green CI run.(AI-assisted review.)
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T17:55:24Z.
Rebased
asset-audio-skip-currentontomain(27613ab6b->fe0fb6846, AI-assisted).Conflicts resolved:
README.md: kept the updatedmainlayout and noted the ~340 GB--no-audioassets estimate under themake_game.pysection.make_game.py: preserved newermainchanges (overlaponpreflight, parallel BCPack follow-up helpers,--skip-existingonawc_opus.py,--loop-limitvalidation,sdl3/pc_glyphsandPlainStageLogsonrun_build_stages).tests/test_make_game_argparse.py: keptoverlap=Truealongsideno_audio=Falseinmock_preflight.assert_called_once_with.Verified locally on Linux (Python 3.14):
python3 -I scripts/check_no_game_data.py(exit 0)git diff --check origin/main..HEAD(clean)python3 -m compileall -q make_game.py tools tests(exit 0)python3 -I make_game.py --help(lists--no-audio)test_audio_stage_resume.py(13),test_make_game_argparse.py(40, 1 skipped),test_make_game_preflight.py(112, 1 skipped), alltest_docs_*.py(59 across 13 suites),test_leonida_tui.py(28), and all othertest_make_game_*.py,test_*audio*.py, andtest_ttpf_assets.pysuites.