fix(service-manager): compose timeout, shell-free spawn, pinned image tags - #59
Merged
clduab11 merged 2 commits intoFeb 24, 2026
Merged
Conversation
…e tags Co-authored-by: clduab11 <185000089+clduab11@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Plan and implement improvements for Chunk 1 of MCP launch [PAP-17]
fix(service-manager): compose timeout, shell-free spawn, pinned image tags
Feb 24, 2026
clduab11
marked this pull request as ready for review
February 24, 2026 16:28
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
runComposeUpcould hang indefinitely on a blockeddocker compose up, and shell-string construction incomposeCommandintroduced unnecessary injection surface. Docker image tags were all floating:latest, breaking reproducibility.Changes
Process-level timeout for
runComposeUpCOMPOSE_UP_TIMEOUT_MS = 300_000(5 min) module constantsettle()guard prevents double-resolve/reject; on expiry callsproc.kill()and rejects with structured{ status: null, stdout: '', stderr: 'Process timed out after …ms' }Shell-free spawn via
ComposeCommandrefactorcomposeCommand()now returns{ bin: string; args: string[] }instead of a shell stringrunComposeUpswitches fromspawn(cmd, { shell: true })→spawn(bin, args, { shell: false })stopService/statusupdated toexecFileSync(bin, args, …);execSyncimport removedPinned docker image tags
dockerImagesentries changed from:latest→:v1.0.0for reproducible deploymentsAlready-addressed duplicates (no change needed)
wrapComposeStartErroralready returnsCodexSynapticErrordockerLoginalready async withspawn(no shell)🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.
Continue Tasks: ✅ 1 no changes — View all