fix(onboard): settle OpenClaw pairing after rebuild - #11215
Conversation
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
|
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. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
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 (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe rebuild flow no longer uses ChangesRebuild pairing restoration
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Severity of issue fixed: Medium Sequence Diagram(s)sequenceDiagram
participant RebuildE2E as rebuild-openclaw.test.ts
participant Finalization as finalization handler
participant Pairing as OpenClaw pairing
participant Agent as nemoclaw agent
RebuildE2E->>Finalization: complete rebuild finalization
Finalization->>Pairing: settle ordinary OpenClaw pairing
Pairing-->>Finalization: pairing settles
Finalization-->>RebuildE2E: continue post-verification
RebuildE2E->>Agent: request response after rebuild
Agent-->>RebuildE2E: return JSON answer 42
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The rebuild pairing and readiness changes have no unresolved merge-blocking risk identified. 🚥 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 1 functions across 3 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 328b47e in the TypeScript / code-coverage/cliThe overall line coverage in commit 328b47e in the Show a line coverage summary of the most impacted files.
Updated |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
|
PR Review Advisor finished for commit |
Outcome
Rebuilding an ordinary OpenClaw sandbox settles canonical CLI pairing before onboarding reports success. The first agent command after rebuild no longer requires manual recovery.
This is the clean maintainer replacement for #10493. That fork branch contains 302 obsolete divergent commits and cannot be refreshed without rewriting contributor history. The implementation remains credited to @jiaqiang000.
Related issue
Fixes #10479
Changes
Scope
This restores the existing rebuild contract. It adds no product surface, retry mechanism, registry, or new live target. The effective diff is 9 files, +79/-212.
Verification
Exact candidate:
328b47ec5ea442e7f069de0416e2b0c408a3ff6cRecorded base:
2cbc32c1573d8da6e5d2c62592fcb023a888d002NODE_OPTIONS=--max-old-space-size=8192 npm run check:diffpassed, including CLI typecheck and the repository's pre-commit and pre-push validation.rebuild-openclawE2E run 34608282431 passed with correlation2c86e95a-f2a1-4374-a20f-367269465293using trusted workflowc5d9cb2b1873a5e2397cd67656c505304e848818. Retained evidence binds the tested candidate to328b47ec5ea442e7f069de0416e2b0c408a3ff6c: the post-rebuild agent returned42, the workspace marker survived, token rotation passed, and cleanup removed the rebuilt sandbox, OpenShell sandbox, gateway, old image, and restored state files with no failures.Review notes
rebuild-openclawE2E, which passed at the exact candidate above.npm run review:localattempt was unavailable because its temporary OpenShell gateway refused connections. It produced no findings. Exact local checks, required CI, CodeRabbit, managed-image validation, and the focused live E2E all passed.Signed-off-by: Rebecca Sliter 571084+rsliter@users.noreply.github.com
Summary by CodeRabbit
Bug Fixes
Tests