Repository navigation
fix(ci): Linux service ownership tests fail before inspection - #147398
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 4:58 PM ET / 20:58 UTC. ClawSweeper reviewWhat this changesUpdates Linux service-install and update tests to simulate systemd transport discovery and clear queued capability responses between install cases. Merge readiness✅ Ready for maintainer review Keep open: this is a focused, still-needed fixture repair supporting the linked Windows fix. The ownership assertions remain intact, and no actionable patch defect was found. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw inspects the installed Gateway service before installation or update admission. These tests supply simulated systemd responses while checking ownership decisions and whether configuration or state may be changed. flowchart TD
A[Install and update test cases] --> B[Synthetic session bus]
B --> C[Strict manager version fixture]
C --> D[Real service inspection]
D --> E[Ownership decision]
E --> F[Assert allowed operation or unchanged state]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +10. Total +10 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep transport simulation at the existing strict fixture boundary so the real inspection path continues to enforce ownership and state-preservation contracts. Do we have a high-confidence way to reproduce the issue? Yes, from source: the existing Linux inspection path performs transport discovery before the fixtures' mocked bus calls, and the install suite can retain queued one-shot capability responses. Tests were not executed during this read-only review. Is this the best way to solve the issue? Yes. Reusing the strict shared probe and resetting the fixture queue repairs setup without bypassing production inspection or weakening assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5469328b6c31. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…1-prep * commit '912ae8d96e5964dfdcdf419b79613fb941cdf0a8': (350 commits) fix: keep workspace preparation responsive during cleanup (openclaw#147358) docs: alphabetize donors and sponsors and add Red Hat logo (openclaw#147302) fix(plugins): retain update authority through doctor effects (openclaw#144316) refactor(qa): share Multipass mount retry lifecycle (openclaw#147084) fix(memory): emit one JSON result for command failures (openclaw#147366) improve(plugins): speed up cold metadata loading (openclaw#147411) fix(sessions): avoid duplicate work after waited child replies (openclaw#147394) fix(agents): retain outstanding child results in parent context (openclaw#112623) test: preserve native workflow loader selection (openclaw#147403) fix: reduce repeated work while polling session pull requests (openclaw#147373) test(qa): preserve task cancellation across process replacement (openclaw#147382) fix: prevent sidebar refresh storms during session activity (openclaw#147400) refactor: simplify skills CLI formatting (openclaw#147368) fix: prevent Git checkout certificate failures behind egress proxy (openclaw#147410) fix(qa): stop live threads after their process leader exits (openclaw#147386) refactor(release): share agent turn retry lifecycle (openclaw#147076) fix(ui): keep uploaded images aligned with their prompts (openclaw#147389) fix(fs): guard skill reads and bound worker bundle staging (openclaw#147336) fix(ci): restore Linux service ownership fixtures (openclaw#147398) fix(plugins): preserve manifest permissions when building plugins (openclaw#147393) ...
Related: #137374
What Problem This Solves
Fixes Linux CLI service-ownership tests that fail before reaching their intended inspection assertions.
User Impact
No runtime behavior changes. This restores existing CI coverage needed to validate the Windows launcher repair.
Why This Change Was Made
The two CLI fixtures now model the existing nonactivating systemd manager-version probe using its strict shared test fixture and a synthetic bus address. The install suite also clears queued capability responses between cases. Existing ownership assertions are unchanged; no production code or workflows are modified.
Evidence
aafc527573cd75e0f23f15740b00d513b1ed4f54: both full files in original order, 103 passed, 0 failed, 0 skipped. Structured output confirms all 18 transport-regression cases passed.check:changedgates passed, including theconfig-cliandservicestype graphs, formatting, lint, guards, and dead-export scans.openclaw/ci-gate. Final maintainer and automated review found no actionable patch defects.