Repository navigation
fix(e2e): select the synthetic Doctor user bus - #150698
Conversation
Supply the disposable Doctor-switch fixture bus address so the real transport selector reaches its strict shim. Add focused transport and rejection controls; no production or persisted-state migration change. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 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: blocked before merge. Reviewed September 17, 2026, 3:07 AM ET / 07:07 UTC. ClawSweeper reviewWhat this changesThe PR gives the Doctor install-switch test scenario an explicit synthetic user-bus address and adds regression coverage for transport selection and rejected probes. Merge readiness⛔ Blocked before merge - 1 item remains This remains a useful, focused fixture repair: current main still lacks the synthetic bus address. No introduced correctness or security defect was found, and the protected maintainer label excludes automatic closure. Priority: P2 Review scores
Verification
How this fits togetherThe Doctor Docker harness checks service maintenance across package and Git installations using mounted service-manager shims. Its scenario environment feeds the production transport selector, which must select the synthetic bus before service inspection can proceed. flowchart TD
A[Doctor Docker harness] --> B[Disposable account environment]
B --> C[Explicit synthetic bus address]
C --> D[Transport selection]
D --> E[Mounted bus shim]
E --> F[Service inspection]
D --> G[Reject unavailable transport]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +152, Other +4. Total +156 across 2 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep synthetic transport setup in the disposable scenario while preserving the strict shim and production service-manager contract. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the missing-address path from the scenario to a machine-scoped probe rejected by its shim; the PR also reports a failing-before regression. This review did not execute it. Is this the best way to solve the issue? Yes. Supplying the existing selector's expected fixture input is narrower than weakening shim validation or changing production fallback behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7a3160e58277. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Compatibility clarification for The complete commit diff contains only two environment exports and two explanatory comments in the disposable scenario, plus its regression test. It changes no production schema, SQL, migration, serialization, or persisted product-state code. The production transport selector and strict bus shim are unchanged. The regression runs the setup under a test-owned temporary home and the real selector against that shim. Its original positive case fails before the setup change; all four tests pass afterward, including missing/unavailable bus and unsupported-probe rejection. Full Docker or upgrade qualification is not claimed. There is therefore no changed persistent data model to migrate. This records the scope evidence for maintainer judgment; it does not alter the bot's verdict or labels, waive any validation gate, or claim that pending CI has passed. |
Supply the disposable Doctor-switch fixture bus address so the real transport selector reaches its strict shim. Add focused transport and rejection controls; no production or persisted-state migration change. Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Related: #145370. Split from #150347 at the maintainer's request so the Doctor and plugin-generator repairs have separate scopes.
What Problem This Solves
Fixes the Doctor-switch Docker fixture selecting an unsupported machine-scoped bus probe instead of its mounted synthetic user-bus shim.
User Impact
No production behavior, schema, stored-state, or migration change. This only supplies the disposable test scenario's synthetic bus address and verifies its transport selection.
Why This Change Was Made
The real transport selector needs an explicit session-bus address to reach the existing strict fixture shim. Set that address and its synthetic runtime directory under the scenario's test account home. No real bus, service-manager socket, or host configuration is created or accessed by the regression.
The change is limited to the scenario's environment setup and one targeted test file. It contains no kitchen-sink generator or installation-policy changes.
Evidence
c4987966826340590b00b6fa973684172d12300e, the positive transport case fails withsystemd-user-bus-unavailable; three negative controls pass.This is focused synthetic fixture proof, not full Docker or release qualification. The complete normal changed-check plan on this pinned base passed, including root test types, all script lint, changed-test lint, Docker boundaries, formatting, and dead-export scans. Independent scoped review accepted the exact two-file change with no findings before commit. The normal commit hook preserved those reviewed bytes. Exact-head CI run 35192589450 (attempt 1) completed successfully, including
openclaw/ci-gate. This is PR CI proof, not a merge or release-qualification claim.