Repository navigation
ASSET-47: honor zero and reject negative audio bank limits - #608
Merged
ItsNotRexed merged 2 commits intoNov 22, 2026
Merged
Conversation
Contributor
|
Code read (CPU, no GPU) of 6c1be82:
The only red check is |
Contributor
|
Tested 1ea261b on Windows 11, Python 3.14.7: pass
No problems found. By @rafaelpssz, with Claude Code (AI-assisted). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ASSET-47. Follow-up to ASSET-40 (#532), requested on the coordination board after @BBareth reported the limit behavior. Claim.
With two audio banks,
--limit 0previously exported both and--limit -1exported the first. Zero now selects no banks. A negative limit produces an argparse error before input traversal. Positive limits still select banks in sorted order, and omitting the option still exports all of them.On GitHub-hosted Windows Server 2022 and Ubuntu 24.04, the new real-CLI test failed against the parent for both zero and negative limits. On the proposed change all 17 audio exporter tests and all 10 audio stage resume tests passed on each OS. The test also covers limits of one and greater than the bank count. Windows output · Ubuntu output
AI-assisted. CPU only, synthetic audio, no GPU or driver involved.