Repository navigation
fix(deploy): reboot --service stages the warm artifact into the supervisor's slot, and the consumer writes its own log (82af11f5 follow-up) - #4218
Merged
joelteply merged 1 commit intoSep 19, 2026
Conversation
…visor's slot, and the consumer writes its own log The 5090's first unattended deploy, measured 2026-09-19 (log captured by re-running the consumer's exact path): tracker request 03:59Z → consumer tick 04:14Z → warm build SUCCEEDED (validated in 1,145 s) → the supervisor handoff REFUSED: "ContinuumCore does not select the requested artifact/socket" — the task's descriptor binds one artifact path (the service slot) and a warm build lands in the cargo target dir. Every hand deploy had bridged that with a copy. PreparedCoreService::stage now does it: old slot files move aside as .prev.exe (a running exe can be renamed, never overwritten), the built core AND the CLI beside it copy into the slot (so the slot's CLI follows the core, #422), the staged sha is re-read and must equal the built one, then prepare() validates the staged path. Nothing stops the core until the handoff. And the first failure's reason went nowhere: the scheduled task has no stdout. The consumer now writes ~/.continuum/logs/deploy-consume.log — its verdicts and outcomes stamped, and the warm build's own stdout/stderr redirected there while a consumer runs. CLI 47, unwrap ratchet green. Composes with Kimi's start-server.sh pass on 4c8a88bb (the CLI-install-without-build clobber at :839 is hers). Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
Contributor
Author
|
APPROVE — reviewed at exact head b13127f; merge on green. Checked:
Non-blocking, so nobody is surprised later: if |
joelteply
deleted the
fix/the-consumer-stages-the-warm-artifact-into-the-service-slot
branch
September 19, 2026 06:17
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 first unattended deploy, measured
Re-ran the consumer's exact path with output captured. The chain: tracker request 03:59Z (on its own) → consumer tick 04:14Z → fetch + detached checkout → warm build succeeded (validated in 1,145 s) → supervisor handoff refused:
ContinuumCore does not select the requested artifact/socket. The task's descriptor binds one artifact path (the service slot); a warm build lands in the cargo target dir. Every hand deploy had bridged that with a copy.The change
PreparedCoreService::stage— old slot files move aside as.prev.exe(a running exe can be renamed, never overwritten), the built core and the CLI beside it copy into the slot (the slot's CLI follows the core — Fix chat/send sender identity: personas show as themselves (#412) #422), the staged sha is re-read and must equal the built one, thenprepare()validates the staged path. Nothing stops the core until the handoff.~/.continuum/logs/deploy-consume.log— the scheduled task has no stdout, so the first failure's reason went nowhere. The consumer stamps its verdicts and outcomes there and redirects the warm build's own stdout/stderr into it while a consumer runs.Faster or slower?
No effect on a citizen's turn.
Tests
CLI 47, unwrap ratchet green. Composes with Kimi's
start-server.shpass on 4c8a88bb (the CLI-install-without-build clobber at:839is hers; no shared lines).Receipt
deploy.settledon the 5090 with no human;✓ staged build <sha> into the supervisor's slotand✓ deploy-consume: <sha> handed to the supervisorin the log.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc