Repository navigation
fix: include launcher parent lifetime in reduced runtime packages - #174480
Merged
Merged
Conversation
node-runtime-recovery.mjs imports cli-parent-lifetime.mjs after #174268. Ship that dependency in both Docker launcher stages, cleanup smoke, and the remote-node bootstrap artifact, and keep copied runtime fixtures in sync. Require the module in the bootstrap archive regression. Preserve existing launcher and detached update lifetimes. No new closure framework, dependency, configuration, or timeout changes.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
October 16, 2026 17:23
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 17, 2026
…enclaw#174480) node-runtime-recovery.mjs imports cli-parent-lifetime.mjs after openclaw#174268. Ship that dependency in both Docker launcher stages, cleanup smoke, and the remote-node bootstrap artifact, and keep copied runtime fixtures in sync. Require the module in the bootstrap archive regression. Preserve existing launcher and detached update lifetimes. No new closure framework, dependency, configuration, or timeout changes.
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.
Related: #174268
What Problem This Solves
Fixes Docker and remote-node launcher packages failing with
ERR_MODULE_NOT_FOUNDafternode-runtime-recovery.mjsgained itscli-parent-lifetime.mjsdependency.User Impact
Reduced runtime packages include the module required for launcher-bound Doctor cancellation. Existing launcher and detached update lifetimes remain unchanged.
Why This Change Was Made
#174268 intentionally added an explicit parent-lifetime contract for CLI respawns. The root package and trusted wrapper included its module, but the Docker stages, remote-node bootstrap list, and several copied-runtime fixtures did not.
Add the module beside its importer in those existing closure lists. Keep the repair mechanical: no new closure abstraction, lifecycle behavior, dependency, timeout, or weakened assertion. The remote bootstrap test now requires the module in the archive.
Evidence
PR CI provides broad proof. No workflow dispatch or rerun was requested.
Additional Doctor fixture proof found two unresolved failures in
doctor-config-preflight.process.test.ts: the v17 repair exits duringai-session-resourcescleanup, and the repair/readiness case times out. Seven cases in that file pass. The cleanup owner and AI implementation are unchanged by this patch. Separate direct AI-runtime import probes pass both normally and under the fixture resolution hook; these are not claimed as a fix or a passing replay of the failed cases. Their assertions and deadlines remain intact. All nine additional fixture-consumer suites passed (66 cases).Exact-head CI run 38939386670 has a separate failure in
skill-library-worker-wire.e2e.test.ts: its first local model turn receives an incomplete mock Responses stream before remote worker delivery. The automatic classifier reports unknown because no matching main job is available. The same symptom is under investigation in #174149, including several baseline and isolated reproductions without an accepted inheritance finding. This PR does not claim it inherited or fixed. A new local invocation was stopped during runtime preparation before any tests ran once that existing investigation was located. The Bun launcher check passed. No merge or CI exception has been submitted.The current job log includes the more specific provider error
OpenAI Responses stream ended before a terminal response event, followed by the normal retry policy and a surfaced local-turn error. That is evidence for the shared stream investigation, not proof of a wall-clock timeout or permission to waive CI.