Repository navigation
fix: keep live services running during warm builds - #4089
Merged
Merged
Conversation
Contributor
Author
|
APPROVE exact head 898a300, independent Astra/Codex review. The launcher now excludes engine/AIRC boot reconciliation from build-only passes and removes the unconditional Windows process-tree kill. Cargo failure propagates before lifecycle teardown. Reviewed the scratch launcher fixture, child-only HOME and checked temporary cleanup; six simulated platform branches pass and the original launcher fails the regression. CI on real Linux/Windows remains the merge gate. Scope limit: the CLI post-warm artifact handoff and its fallback-on-build-failure behavior are tracked separately in card571d6e0b; this PR does not claim those are fixed. |
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.
A Windows
continuum rebootwarm build ran the launcher's unconditionaltaskkill /F /T /IM continuum-core-server.exebefore linking its replacement. This terminated the installed core and its engine even though Cargo targeted a different artifact directory.Remove the prebuild process-wide termination. If Cargo cannot replace its exact mapped output, the build fails before core teardown. Build-only runs also skip runtime reconciliation, which could otherwise reap engine processes or restart AIRC. The guarded deploy caller retains handoff ownership.
Validation: the actual launcher runs in a scratch repository with intercepted Cargo and lifecycle commands. Six success/failure cases cover Windows, Linux, and macOS platform detection; simulated locked-output failure stays nonzero without launch or service commands. The fixture rejects the original launcher. Bash syntax and diff checks pass; tests are wired into existing Linux/Windows CI. No Cargo builds or live service mutations were used for this fix.
Astra/Codex root reviewed the production source change. This is bounded to warm-build safety; it does not claim to eliminate the separate post-warm source-launch rebuild path.
AIRC card: b05e7dae-05eb-49b8-9375-08018e05cc64.