Repository navigation
fix: allow test builds in containers without systemd - #170640
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
October 13, 2026 04:37
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. |
Contributor
Author
|
Merged via squash auto-merge.
|
RomneyDa
added a commit
that referenced
this pull request
Oct 13, 2026
* improve: simplify workspace and memory plugin messages * test(reef): match stored-key generation diagnostic * fix(webchat): stage offloaded images for file tools (#168537) fix(webchat): stage offloaded WebChat images into the managed workspace WebChat images above the inline threshold reached vision input but were not handed to managed workspace staging, so file tools couldn't find them. Offloaded WebChat images now expose their media-store path for staging, path-less transcript images hydrate from the staged sandbox copy, and images already staged are not staged again. Vision still receives exactly one image. Proof: built Gateway chat.send with a 3,147,780-byte PNG: on main the image reached vision but exec found no staged file; on the candidate exec finds the staged PNG. A 378-byte inline image works the same on both. A live gpt-5-mini turn also found the staged image through exec. Thanks @synthalorian. Co-authored-by: Ayaan Zaidi <[email protected]> * fix(gateway): retain model lists across skills refreshes Configuration publications refresh skills because skills can depend on arbitrary config paths. Reuse the published model-list cache when the existing catalog facts still match, while rebuilding commands and other skill-dependent metadata. Model, auth, plugin, catalog and owner changes keep their existing invalidation and read-authority boundaries. Fixes the repeated projection work exposed by 877301a (#170341): scheduled main run 38339144048 rebuilt model lists after each of six UI preference writes. The prepared-model regression also reproduced the unnecessary second projection before this change. Preserve the original integration assertion and verify that skills-dependent commands refresh alongside retained model projections. Validation: prepared-model regression fails before the repair and passes after (2/2 tests; 257.74s on the loaded host). Targeted lint, formatting and diff checks pass. Independent Codex review completed with no actionable findings. The full Gateway freshness integration remains assigned to canonical CI. * test(gateway): resolve auth-policy session targets in workers The synchronous fixture lookup could create a database after a Gateway worker captured its absence, triggering the physical identity guard and closing admission before the initial turn. Use existing read-only worker discovery for both fixture targets, matching neighboring authority tests. Preserve all retained and revoked grant, final-write, and transcript assertions. No production guard or authorization behavior changes. * fix(plugins): retain inspected config for decision diagnostics Plugin inspection resolved the explicitly supplied config, then discarded it while projecting decision providers and consulted the runtime snapshot instead. Cold inspection could fail with an unprepared runtime config; a prepared but different runtime could also report the wrong configured model. Carry the resolved config through the existing inspection context. Cover single and all-plugin inspection with different explicit and ambient models. Plugin loading, decision execution, and lifecycle ownership are unchanged. Original ambient-config lookup: cde6bbd (#152237), exposed by 7e48efb (#169714). Scheduled main 38334375513 repeats nine trust-diagnostics failures. Focused proof: loader.trust-diagnostics 11/11 and status 9/9 passed. The two new cases take 29ms and 15ms; loaded-host wrapper wall 1794.74s is dominated by worker build and module transforms. Independent review found no actionable defects. * fix: allow test builds in containers without systemd (#170640) --------- Co-authored-by: synth <[email protected]> Co-authored-by: Ayaan Zaidi <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
RomneyDa
added a commit
that referenced
this pull request
Oct 13, 2026
* improve: simplify gateway, protocol, and security diagnostics * fix(webchat): stage offloaded images for file tools (#168537) fix(webchat): stage offloaded WebChat images into the managed workspace WebChat images above the inline threshold reached vision input but were not handed to managed workspace staging, so file tools couldn't find them. Offloaded WebChat images now expose their media-store path for staging, path-less transcript images hydrate from the staged sandbox copy, and images already staged are not staged again. Vision still receives exactly one image. Proof: built Gateway chat.send with a 3,147,780-byte PNG: on main the image reached vision but exec found no staged file; on the candidate exec finds the staged PNG. A 378-byte inline image works the same on both. A live gpt-5-mini turn also found the staged image through exec. Thanks @synthalorian. Co-authored-by: Ayaan Zaidi <[email protected]> * fix(gateway): retain model lists across skills refreshes Configuration publications refresh skills because skills can depend on arbitrary config paths. Reuse the published model-list cache when the existing catalog facts still match, while rebuilding commands and other skill-dependent metadata. Model, auth, plugin, catalog and owner changes keep their existing invalidation and read-authority boundaries. Fixes the repeated projection work exposed by 877301a (#170341): scheduled main run 38339144048 rebuilt model lists after each of six UI preference writes. The prepared-model regression also reproduced the unnecessary second projection before this change. Preserve the original integration assertion and verify that skills-dependent commands refresh alongside retained model projections. Validation: prepared-model regression fails before the repair and passes after (2/2 tests; 257.74s on the loaded host). Targeted lint, formatting and diff checks pass. Independent Codex review completed with no actionable findings. The full Gateway freshness integration remains assigned to canonical CI. * test(gateway): resolve auth-policy session targets in workers The synchronous fixture lookup could create a database after a Gateway worker captured its absence, triggering the physical identity guard and closing admission before the initial turn. Use existing read-only worker discovery for both fixture targets, matching neighboring authority tests. Preserve all retained and revoked grant, final-write, and transcript assertions. No production guard or authorization behavior changes. * fix(plugins): retain inspected config for decision diagnostics Plugin inspection resolved the explicitly supplied config, then discarded it while projecting decision providers and consulted the runtime snapshot instead. Cold inspection could fail with an unprepared runtime config; a prepared but different runtime could also report the wrong configured model. Carry the resolved config through the existing inspection context. Cover single and all-plugin inspection with different explicit and ambient models. Plugin loading, decision execution, and lifecycle ownership are unchanged. Original ambient-config lookup: cde6bbd (#152237), exposed by 7e48efb (#169714). Scheduled main 38334375513 repeats nine trust-diagnostics failures. Focused proof: loader.trust-diagnostics 11/11 and status 9/9 passed. The two new cases take 29ms and 15ms; loaded-host wrapper wall 1794.74s is dominated by worker build and module transforms. Independent review found no actionable defects. * fix: allow test builds in containers without systemd (#170640) --------- Co-authored-by: synth <[email protected]> Co-authored-by: Ayaan Zaidi <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
RomneyDa
added a commit
that referenced
this pull request
Oct 13, 2026
* improve: simplify agent, exec, and automation messages * fix(webchat): stage offloaded images for file tools (#168537) fix(webchat): stage offloaded WebChat images into the managed workspace WebChat images above the inline threshold reached vision input but were not handed to managed workspace staging, so file tools couldn't find them. Offloaded WebChat images now expose their media-store path for staging, path-less transcript images hydrate from the staged sandbox copy, and images already staged are not staged again. Vision still receives exactly one image. Proof: built Gateway chat.send with a 3,147,780-byte PNG: on main the image reached vision but exec found no staged file; on the candidate exec finds the staged PNG. A 378-byte inline image works the same on both. A live gpt-5-mini turn also found the staged image through exec. Thanks @synthalorian. Co-authored-by: Ayaan Zaidi <[email protected]> * fix(gateway): retain model lists across skills refreshes Configuration publications refresh skills because skills can depend on arbitrary config paths. Reuse the published model-list cache when the existing catalog facts still match, while rebuilding commands and other skill-dependent metadata. Model, auth, plugin, catalog and owner changes keep their existing invalidation and read-authority boundaries. Fixes the repeated projection work exposed by 877301a (#170341): scheduled main run 38339144048 rebuilt model lists after each of six UI preference writes. The prepared-model regression also reproduced the unnecessary second projection before this change. Preserve the original integration assertion and verify that skills-dependent commands refresh alongside retained model projections. Validation: prepared-model regression fails before the repair and passes after (2/2 tests; 257.74s on the loaded host). Targeted lint, formatting and diff checks pass. Independent Codex review completed with no actionable findings. The full Gateway freshness integration remains assigned to canonical CI. * test(gateway): resolve auth-policy session targets in workers The synchronous fixture lookup could create a database after a Gateway worker captured its absence, triggering the physical identity guard and closing admission before the initial turn. Use existing read-only worker discovery for both fixture targets, matching neighboring authority tests. Preserve all retained and revoked grant, final-write, and transcript assertions. No production guard or authorization behavior changes. * fix(plugins): retain inspected config for decision diagnostics Plugin inspection resolved the explicitly supplied config, then discarded it while projecting decision providers and consulted the runtime snapshot instead. Cold inspection could fail with an unprepared runtime config; a prepared but different runtime could also report the wrong configured model. Carry the resolved config through the existing inspection context. Cover single and all-plugin inspection with different explicit and ambient models. Plugin loading, decision execution, and lifecycle ownership are unchanged. Original ambient-config lookup: cde6bbd (#152237), exposed by 7e48efb (#169714). Scheduled main 38334375513 repeats nine trust-diagnostics failures. Focused proof: loader.trust-diagnostics 11/11 and status 9/9 passed. The two new cases take 29ms and 15ms; loaded-host wrapper wall 1794.74s is dominated by worker build and module transforms. Independent review found no actionable defects. * fix: allow test builds in containers without systemd (#170640) --------- Co-authored-by: synth <[email protected]> Co-authored-by: Ayaan Zaidi <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
* improve: simplify workspace and memory plugin messages * test(reef): match stored-key generation diagnostic * fix(webchat): stage offloaded images for file tools (openclaw#168537) fix(webchat): stage offloaded WebChat images into the managed workspace WebChat images above the inline threshold reached vision input but were not handed to managed workspace staging, so file tools couldn't find them. Offloaded WebChat images now expose their media-store path for staging, path-less transcript images hydrate from the staged sandbox copy, and images already staged are not staged again. Vision still receives exactly one image. Proof: built Gateway chat.send with a 3,147,780-byte PNG: on main the image reached vision but exec found no staged file; on the candidate exec finds the staged PNG. A 378-byte inline image works the same on both. A live gpt-5-mini turn also found the staged image through exec. Thanks @synthalorian. Co-authored-by: Ayaan Zaidi <[email protected]> * fix(gateway): retain model lists across skills refreshes Configuration publications refresh skills because skills can depend on arbitrary config paths. Reuse the published model-list cache when the existing catalog facts still match, while rebuilding commands and other skill-dependent metadata. Model, auth, plugin, catalog and owner changes keep their existing invalidation and read-authority boundaries. Fixes the repeated projection work exposed by 044ae43 (openclaw#170341): scheduled main run 38339144048 rebuilt model lists after each of six UI preference writes. The prepared-model regression also reproduced the unnecessary second projection before this change. Preserve the original integration assertion and verify that skills-dependent commands refresh alongside retained model projections. Validation: prepared-model regression fails before the repair and passes after (2/2 tests; 257.74s on the loaded host). Targeted lint, formatting and diff checks pass. Independent Codex review completed with no actionable findings. The full Gateway freshness integration remains assigned to canonical CI. * test(gateway): resolve auth-policy session targets in workers The synchronous fixture lookup could create a database after a Gateway worker captured its absence, triggering the physical identity guard and closing admission before the initial turn. Use existing read-only worker discovery for both fixture targets, matching neighboring authority tests. Preserve all retained and revoked grant, final-write, and transcript assertions. No production guard or authorization behavior changes. * fix(plugins): retain inspected config for decision diagnostics Plugin inspection resolved the explicitly supplied config, then discarded it while projecting decision providers and consulted the runtime snapshot instead. Cold inspection could fail with an unprepared runtime config; a prepared but different runtime could also report the wrong configured model. Carry the resolved config through the existing inspection context. Cover single and all-plugin inspection with different explicit and ambient models. Plugin loading, decision execution, and lifecycle ownership are unchanged. Original ambient-config lookup: 0a54fc6 (openclaw#152237), exposed by 5dbf215 (openclaw#169714). Scheduled main 38334375513 repeats nine trust-diagnostics failures. Focused proof: loader.trust-diagnostics 11/11 and status 9/9 passed. The two new cases take 29ms and 15ms; loaded-host wrapper wall 1794.74s is dominated by worker build and module transforms. Independent review found no actionable defects. * fix: allow test builds in containers without systemd (openclaw#170640) --------- Co-authored-by: synth <[email protected]> Co-authored-by: Ayaan Zaidi <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
* improve: simplify gateway, protocol, and security diagnostics * fix(webchat): stage offloaded images for file tools (openclaw#168537) fix(webchat): stage offloaded WebChat images into the managed workspace WebChat images above the inline threshold reached vision input but were not handed to managed workspace staging, so file tools couldn't find them. Offloaded WebChat images now expose their media-store path for staging, path-less transcript images hydrate from the staged sandbox copy, and images already staged are not staged again. Vision still receives exactly one image. Proof: built Gateway chat.send with a 3,147,780-byte PNG: on main the image reached vision but exec found no staged file; on the candidate exec finds the staged PNG. A 378-byte inline image works the same on both. A live gpt-5-mini turn also found the staged image through exec. Thanks @synthalorian. Co-authored-by: Ayaan Zaidi <[email protected]> * fix(gateway): retain model lists across skills refreshes Configuration publications refresh skills because skills can depend on arbitrary config paths. Reuse the published model-list cache when the existing catalog facts still match, while rebuilding commands and other skill-dependent metadata. Model, auth, plugin, catalog and owner changes keep their existing invalidation and read-authority boundaries. Fixes the repeated projection work exposed by 044ae43 (openclaw#170341): scheduled main run 38339144048 rebuilt model lists after each of six UI preference writes. The prepared-model regression also reproduced the unnecessary second projection before this change. Preserve the original integration assertion and verify that skills-dependent commands refresh alongside retained model projections. Validation: prepared-model regression fails before the repair and passes after (2/2 tests; 257.74s on the loaded host). Targeted lint, formatting and diff checks pass. Independent Codex review completed with no actionable findings. The full Gateway freshness integration remains assigned to canonical CI. * test(gateway): resolve auth-policy session targets in workers The synchronous fixture lookup could create a database after a Gateway worker captured its absence, triggering the physical identity guard and closing admission before the initial turn. Use existing read-only worker discovery for both fixture targets, matching neighboring authority tests. Preserve all retained and revoked grant, final-write, and transcript assertions. No production guard or authorization behavior changes. * fix(plugins): retain inspected config for decision diagnostics Plugin inspection resolved the explicitly supplied config, then discarded it while projecting decision providers and consulted the runtime snapshot instead. Cold inspection could fail with an unprepared runtime config; a prepared but different runtime could also report the wrong configured model. Carry the resolved config through the existing inspection context. Cover single and all-plugin inspection with different explicit and ambient models. Plugin loading, decision execution, and lifecycle ownership are unchanged. Original ambient-config lookup: 0a54fc6 (openclaw#152237), exposed by 5dbf215 (openclaw#169714). Scheduled main 38334375513 repeats nine trust-diagnostics failures. Focused proof: loader.trust-diagnostics 11/11 and status 9/9 passed. The two new cases take 29ms and 15ms; loaded-host wrapper wall 1794.74s is dominated by worker build and module transforms. Independent review found no actionable defects. * fix: allow test builds in containers without systemd (openclaw#170640) --------- Co-authored-by: synth <[email protected]> Co-authored-by: Ayaan Zaidi <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
* improve: simplify agent, exec, and automation messages * fix(webchat): stage offloaded images for file tools (openclaw#168537) fix(webchat): stage offloaded WebChat images into the managed workspace WebChat images above the inline threshold reached vision input but were not handed to managed workspace staging, so file tools couldn't find them. Offloaded WebChat images now expose their media-store path for staging, path-less transcript images hydrate from the staged sandbox copy, and images already staged are not staged again. Vision still receives exactly one image. Proof: built Gateway chat.send with a 3,147,780-byte PNG: on main the image reached vision but exec found no staged file; on the candidate exec finds the staged PNG. A 378-byte inline image works the same on both. A live gpt-5-mini turn also found the staged image through exec. Thanks @synthalorian. Co-authored-by: Ayaan Zaidi <[email protected]> * fix(gateway): retain model lists across skills refreshes Configuration publications refresh skills because skills can depend on arbitrary config paths. Reuse the published model-list cache when the existing catalog facts still match, while rebuilding commands and other skill-dependent metadata. Model, auth, plugin, catalog and owner changes keep their existing invalidation and read-authority boundaries. Fixes the repeated projection work exposed by 044ae43 (openclaw#170341): scheduled main run 38339144048 rebuilt model lists after each of six UI preference writes. The prepared-model regression also reproduced the unnecessary second projection before this change. Preserve the original integration assertion and verify that skills-dependent commands refresh alongside retained model projections. Validation: prepared-model regression fails before the repair and passes after (2/2 tests; 257.74s on the loaded host). Targeted lint, formatting and diff checks pass. Independent Codex review completed with no actionable findings. The full Gateway freshness integration remains assigned to canonical CI. * test(gateway): resolve auth-policy session targets in workers The synchronous fixture lookup could create a database after a Gateway worker captured its absence, triggering the physical identity guard and closing admission before the initial turn. Use existing read-only worker discovery for both fixture targets, matching neighboring authority tests. Preserve all retained and revoked grant, final-write, and transcript assertions. No production guard or authorization behavior changes. * fix(plugins): retain inspected config for decision diagnostics Plugin inspection resolved the explicitly supplied config, then discarded it while projecting decision providers and consulted the runtime snapshot instead. Cold inspection could fail with an unprepared runtime config; a prepared but different runtime could also report the wrong configured model. Carry the resolved config through the existing inspection context. Cover single and all-plugin inspection with different explicit and ambient models. Plugin loading, decision execution, and lifecycle ownership are unchanged. Original ambient-config lookup: 0a54fc6 (openclaw#152237), exposed by 5dbf215 (openclaw#169714). Scheduled main 38334375513 repeats nine trust-diagnostics failures. Focused proof: loader.trust-diagnostics 11/11 and status 9/9 passed. The two new cases take 29ms and 15ms; loaded-host wrapper wall 1794.74s is dominated by worker build and module transforms. Independent review found no actionable defects. * fix: allow test builds in containers without systemd (openclaw#170640) --------- Co-authored-by: synth <[email protected]> Co-authored-by: Ayaan Zaidi <[email protected]> Co-authored-by: Peter Steinberger <[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.
What Problem This Solves
Fixes: cloud test preparation refuses to rebuild an isolated checkout when the Linux container has no systemd manager.
User Impact
Developers can prepare and run cloud tests without a nonexistent invoking Gateway blocking the build. Existing managed Gateway definitions and unavailable or running managers remain guarded.
Why This Change Was Made
Reuse the complete inventory's native manager-presence check before creating the synthetic invoking binding. Missing local manager endpoints establish absence; advertised managers, access failures, installed units, and overlapping live build outputs retain their existing checks.
Evidence
refuse: falseafterward.OPENCLAW_TSDOWN_MAX_OLD_SPACE_MB=4096 node scripts/prepare-vitest-runtime.mjs --require-current-headcompleted successfully in 164.6 seconds through all eight build steps, including the private QA runtime and 96 external plugins. The explicit heap uses the supported option because this cloud cgroup namespace hides the process memory limit from the planner.tsgo:corepassed; formatting passed; targeted type-aware lint passed. CI run 38347334094 passed on the exact head; its changed-node job completed in 375 seconds including setup/build/tests. Required GitHub gates passed and the PR merged through normal auto-squash.