Repository navigation
feat(install): the Windows installer asks the core for the idle engine slot (card 0a3ea433) - #4499
Merged
Merged
Conversation
…e slot (card 0a3ea433) The Windows half of card 2c5d0ec0 (#4491 core, #4495 macOS/Linux). Select-CoreEngineSlot picked a slot by reading llama-server processes, and a lane the supervisor started runs in the service session, where its path is unreadable from the operator's session: the picker then had to guess it was the registered engine. It now asks `continuum engine idle-slot`, which reads the lane records (each names the exe it launched), the one implementation the bash installer uses too. - Exit 3 (every slot current or run by a live lane) refuses, as before. - An answer that is not engine-a/b/c under the install root refuses. - A readable live engine inside the answered slot refuses (belt and braces against a stale record). - A CLI that predates the verb keeps the process-table choice for that one deploy, with a warning; the next deploy asks the core. - Native stderr under 'Stop' is terminating in Windows PowerShell 5.1, so the call reads exit codes under 'Continue'. Promotion on Windows stays the service registration: #4491's service host records the registered slot as current (and #4497 degrades a refusal to the pinned engine). Not run locally (no PowerShell on this node): windows-service.test.ps1 gains a case with a fake CLI, and CI's installer job runs it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
added a commit
that referenced
this pull request
Sep 28, 2026
…core and skips the engine (card 3f8f5754) (#4501) Fable's parity follow-up on #4499. The bash installer treats idle-slot exit 3 (every slot current or run by a live lane: relaunches onto the last engine have not finished) as skip-the-engine-this-deploy. The PowerShell arm threw, which refused the whole reboot and, on a first-and-only Windows machine, kept the core on its old build as well. - Select-CoreEngineSlot -SkipIfBusy returns $null on a busy set, on both the core-answer path and the pre-verb process-table path; without the switch (a first install, with nothing to keep) it still refuses. - Prepare-CoreServiceEngine writes an explicit "SKIP: <reason>" receipt. - reboot's prepare_engine reads it as no engine handoff and deploys the core; an empty receipt is still a failure, never read as a skip. Test: windows-service.test.ps1 covers the skip on both paths and the first-install refusal. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
The Windows half of card 2c5d0ec0 (#4491 core, #4495 macOS/Linux).
Select-CoreEngineSlot picked a slot by reading llama-server processes, and
a lane the supervisor started runs in the service session, where its path
is unreadable from the operator's session: the picker then had to guess
it was the registered engine. It now asks
continuum engine idle-slot,which reads the lane records (each names the exe it launched), the one
implementation the bash installer uses too.
braces against a stale record).
one deploy, with a warning; the next deploy asks the core.
so the call reads exit codes under 'Continue'.
Promotion on Windows stays the service registration: #4491's service
host records the registered slot as current (and #4497 degrades a refusal
to the pinned engine).
Not run locally (no PowerShell on this node): windows-service.test.ps1
gains a case with a fake CLI, and CI's installer job runs it.
Co-Authored-By: Claude Opus 5.5 [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE