Repository navigation
fix(gateway-state): restore column-agnostic Ready check in isSandboxReady - #2222
Conversation
…eady PR #466 refactored isSandboxReady to delegate to parseSandboxStatus, which only checks column 2 (cols[1]) for the status. The previous implementation checked all columns via cols.includes("Ready"). When openshell sandbox list outputs the status in a column other than the second, the readyCheck never returns true, causing openshell sandbox create to hang indefinitely after image upload. Restore the column-agnostic check while keeping the parseSandboxRow helper. Fixes: sandbox creation hang on all nightly E2E tests since #466. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
isSandboxReadyto delegate toparseSandboxStatus, which hardcodes the status to column 2 (cols[1]). The previous implementation usedcols.includes("Ready")to check all columns.openshell sandbox listoutputs the status in a column other than the second, the readyCheck never returns true, causingopenshell sandbox createto hang indefinitely after image upload — the sandbox becomes Ready but NemoClaw never detects it.49ec8955(fix(connect): add readiness poll with timeout before connecting (Fixes #430) #466) with confirmed good run on the prior commit.cols.includes("Ready") && !cols.includes("NotReady")check while keeping theparseSandboxRowhelper.Bisect results
bd82e1f0(pre-#466)ff18fb8f(midpoint)49ec8955(#466)37ca70e6(pre-#466, docs)Test plan
vitest run test/onboard-readiness.test.ts— 34 passed🤖 Generated with Claude Code
Summary by CodeRabbit