fix(onboard): bound gateway preflight probes#6754
Conversation
Signed-off-by: ogarciarevett <ogarciarevett@gmail.com>
|
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 (5)
📝 WalkthroughWalkthroughOnboarding preflight now formats port conflicts through the shared error renderer and applies a five-second timeout to gateway reuse inspection probes. Tests cover the rendered port message and timeout options passed to all three OpenShell capture calls. ChangesOnboarding preflight diagnostics
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
|
Thanks for the detailed report and repro steps. We have a fix in review at #6759, which adds an early foreign-listener check, preserves gateway reuse, and adds regression coverage for the hang path. I’ll keep this issue open until that PR merges so GitHub can close it automatically. |
Summary
Onboarding now bounds OpenShell gateway metadata probes so an unrelated listener cannot stall preflight indefinitely. Port-conflict failures also use the shared stderr-aware failure style.
Related Issue
Fixes #6752
Changes
failLinehelper.Type of Change
Quality Gates
Verification
Verifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run check:diffpassed when hooks were skipped or unavailablenpx vitest run --project cli src/lib/onboard/gateway-reuse.test.ts src/lib/onboard/preflight-messages.test.ts(9 passed);npm run test:changed(1,057 passed)npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result: Not applicable to this focused onboarding change.npm run docsbuilds without warnings (doc changes only)Signed-off-by: ogarciarevett ogarciarevett@gmail.com
Summary by CodeRabbit
Bug Fixes
Tests