Repository navigation
Command-line render exits 0 once its file is written - #474
Open
ItsAlphaNeon wants to merge 3 commits into
Open
ItsAlphaNeon wants to merge 3 commits into
ItsAlphaNeon wants to merge 3 commits into
Conversation
…shed render exits 0 lemonstudio --render left the instances it hosted on the retired list, and they were destroyed in the process's exit, after Windows had ended their threads. Citrus joins a thread of its own in its destructor, so a render that had written its WAV aborted with exit code 127. The render now drops its session and sweeps the retired list on its own thread, as the window does at exit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d 20 ms On a loaded CI runner 20 ms of busy work ran 9.9 ms of CPU and failed a_hold_tells_running_from_waiting (Linux, PR #472). The loop now works until its running time reaches 10 ms, failing only if it never does within 2 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
lemonstudio --renderwrote its WAV, then aborted at exit with code 127 whenever the project hosted a plugin that joins a thread of its own in its destructor (Citrus, through nih_plug's background worker). Scripts that check the exit code saw a failed render.dropout_log::tests::a_hold_tells_running_from_waiting(unix) now works until the thread has run 10 ms rather than for a fixed 20 ms. On a loaded CI runner, 20 ms of work ran 9.9 ms of CPU and failed Activate hosted plugins before restoring their saved state #472's Linux job.Found while checking #305's Citrus centre-level report against FL tonight. That item, like the other nine in #305, is already fixed on main: FL's and Lemon's renders of FL's own Sytrus render test null at -87 dB, with 0.00 dB level difference.
Stacked on #473 (that branch is merged in).
Test plan
render::tests::a_looping_sample_stops_at_its_notes_endnow also asserts nothing is left retired after a render. It fails without the sweep (left: 1).Render tests/Sytrus.flp(a Citrus channel) exits 0, where it exited 127 before, and the audio is unchanged.cargo test --workspace --lockedon Windows: 2713 passed, 0 failed.🤖 Generated with Claude Code