fix(onboard): refresh compatible route on messaging resume - #5878
Conversation
|
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 (2)
📝 WalkthroughWalkthroughProvider-inference resume handling now refreshes compatible-endpoint routes when OpenClaw messaging is active, and uses the hydrated gateway credential to decide whether host smoke is skipped. Tests cover messaging-selected, messagingPlan-based, shortcut, Hermes, and hydrated-credential resume paths. ChangesCompatible-endpoint resume refresh
Sequence Diagram(s)sequenceDiagram
participant "handleProviderInferenceState" as handleProviderInferenceState
participant "deps.hydrateCredentialEnv" as hydrateCredentialEnv
participant "setupInference" as setupInference
participant "logger" as logger
handleProviderInferenceState->>hydrateCredentialEnv: hydrate credentialEnv
handleProviderInferenceState->>handleProviderInferenceState: check compatible-endpoint + messaging state
alt refresh required
handleProviderInferenceState->>setupInference: rerun with forceInferenceSetup and skipHostInferenceSmoke
handleProviderInferenceState->>logger: log resume refresh message
else shortcut
handleProviderInferenceState->>handleProviderInferenceState: keep compatible-endpoint resume skip
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in the Show a code coverage summary of the most covered files.
TypeScript / code-coverage/cliThe overall coverage in the Show a code coverage summary of the most covered files.
Updated |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Auto-dispatched E2E: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: Dispatch required Vitest E2E scenarios:
Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorBase: Required Vitest E2E scenarios
Optional Vitest E2E scenarios
Relevant changed files
|
PR Review Advisor — Changes requestedMerge posture: Do not merge yet Action checklist
Findings index
Review findings by urgency: 0 required fixes, 2 items to resolve/justify, 0 in-scope improvements
|
Selective E2E Results — ✅ All requested jobs passedRun: 28257142916
|
cv
left a comment
There was a problem hiding this comment.
LGTM after addressing any feedback comments
Summary
Validation
Nightly context
Addresses channels-add-remove-e2e post-add rebuild failure where the recreated sandbox reached an empty/non-JSON inference.local response and provider details did not report the selected endpoint.
Summary by CodeRabbit