test(e2e): keep EXDEV forwards on canonical OpenShell - #11552
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe EXDEV test wrapper now intercepts only ChangesEXDEV command routing
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant OpenClawCLI
participant NodePreloadInterceptor
participant FixtureExecutable
participant CanonicalOpenShellCLI
OpenClawCLI->>NodePreloadInterceptor: run sandbox create
NodePreloadInterceptor->>FixtureExecutable: redirect create command
OpenClawCLI->>CanonicalOpenShellCLI: run forward or list
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The EXDEV test routing change preserves canonical OpenShell handling outside sandbox creation, with the changed flows covered by focused validation. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 4 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 855d5fc in the Show a line coverage summary of the most impacted files.
TypeScript / code-coverage/cliThe overall line coverage in commit 855d5fc in the Updated |
|
Verification evidence for commit
The change keeps the canonical OpenShell executable for forward ownership verification. Only sandbox creation uses the fixture's image and tmpfs wrapper. Production code is unchanged. The E2E dispatch receipt identifies the tested commit above, base Advisor review remains pending. Attempt 1 failed before producing any of the nine specialist reviews. Each job reported |
cjagwani
left a comment
There was a problem hiding this comment.
Approved: the create-only preload keeps image/tmpfs rewriting on sandbox creation while forward and list operations retain canonical OpenShell identity. Focused E2E-support validation passed 27/27, and the exact trusted EXDEV lifecycle passed onboarding, restart, recreation, canonical listener ownership, and cleanup. Required checks and commit verification are green.\n\n
Outcome
The custom-plugin EXDEV test can verify dashboard forward ownership during onboarding and recreation. Its image and tmpfs wrapper runs only for sandbox creation; forwarding uses the canonical OpenShell executable.
Reason
Main run 34587100109 failed onboarding after #11427 added forward ownership verification. The fixture selected a wrapper as its OpenShell executable, but the listener ran the real binary. Existing wrapper tests checked arguments without exercising that executable selection.
Related issues
Refs #6108. Regression from #11427.
Changes
sandbox createspawn through the existing image and tmpfs wrapper. A global executable override cannot preserve forward identity.Verification
npm run e2e:assertions:check: passed; existing live assertion budget unchanged.NODE_OPTIONS=--max-old-space-size=8192 npm run validate:prpassed on855d5fce999acab6b21260902a580a4aa8826888, using canonical main41c5625e8b831ed213cd5c381385973adc58659c. The larger heap is required by this host’s TypeScript check.855d5fce999acab6b21260902a580a4aa8826888, including all 12 CLI shards, coverage, static checks, builds, and type checks.passreceipt were verified against the unchanged PR.NVIDIA/NemoClaw(ownerNVIDIA, organization); candidate855d5fce999acab6b21260902a580a4aa8826888; basee6068115cc5e02e0d05abdb46ea4509138847617; trusted workflow70cfff5f946a9bb31d1147f78ffbda914a2efaa2. Selector:jobs=openclaw-plugin-runtime-exdev, empty targets, mock inference. Correlation:e40a0daf-e1bb-4a56-bfe0-711faf7da239./sandbox/.profile: Permission deniedfollowed byexec relay closed before the command reported an exit status; none produced review artifacts. The same startup failure occurs in the independent PR #11212 Advisor run. Keep this fixture fix unchanged; a maintainer decision is needed for the shared runtime blocker and subsequent full Advisor rerun.Signed-off-by: San Dang sdang@nvidia.com
Summary by CodeRabbit