Skip to content

Defer signed music component activation until local work finishes - #537

Merged
timoncool merged 4 commits into
music-round-2026-11-20from
music-round/defer-signed-engine-activation
Nov 21, 2026
Merged

timoncool merged 4 commits into
music-round-2026-11-20from
music-round/defer-signed-engine-activation

Conversation

@timoncool

@timoncool timoncool commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

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

@timoncool
timoncool marked this pull request as ready for review November 21, 2026 11:45
@timoncool
timoncool merged commit fa3d531 into music-round-2026-11-20 Nov 21, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant