Repository navigation
Conversation
timoncool
marked this pull request as ready for review
November 21, 2026 11:45
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.
On Linux, a signed package install switched the active generation to 2.0 while the verified 1.0 worker still held the local device lease. The package status already exposed 2.0. A parallel create correctly returned busy, and the running song kept its 1.0 generation.
Keep preparing and verifying replacement packages while music jobs run. Before changing the selection, report waiting_for_idle and acquire the same lease used for job admission. While a native song queue or trainer is active, release the lease and wait so that the existing task can finish. Cancellation leaves the prior selection in place and drops the staged replacement.
This applies to independently signed engine and model packages. The first-party ACE/MiniMax runtime resolver and the page UI are outside this PR.
Linux reproduction · Final Linux verification with #533
Rollback returns busy while local work is active and rejects an install already in progress for the same package. Concurrent installs for different packages can wait for the same accepted channel proof; cancellation drops only the canceled staging tree. The Linux acceptance covered concurrent updates, cancellation while waiting for the proof lock and while waiting for the device, corrupt bytes, historical replay, offline restart, and activation and rollback while OpenRouter stayed running.
First-time activation uses the same lease, including a signed native package that can replace a running built-in engine. The latest Linux fixture verifies a full first transfer with no active pointer, cancellation without a leftover generation, and activation after local work ends. Latest combined Linux QA