Repository navigation
fix(onboard): retry empty readiness probes - #12758
Conversation
Signed-off-by: Rebecca Sliter <[email protected]>
|
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 configuration
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughCompleted executable probes with nonzero exit status and empty output are retried during sandbox readiness checks. Signaled probes remain failures. Tests and troubleshooting guidance cover these cases. ChangesSandbox readiness polling
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to Empty readiness responses can be retried while signal-terminated probes still stop startup. No merge-blocking issue is identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit b281fa7 in the Show a line coverage summary of the most impacted files.
TypeScript / code-coverage/cliThe overall line coverage in commit b281fa7 in the Show a line coverage summary of the most impacted files.
Updated |
Signed-off-by: Rebecca Sliter <[email protected]>
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
Outcome
Managed sandbox startup now treats an empty nonzero executable-readiness response as transient within the existing bounded wait. Explicit execution failures and nonempty terminal diagnostics still stop startup immediately.
Reason
Exact-commit Images run 37564161755 reached a running, healthy Hermes sandbox, then received one empty nonzero response from its first executable probe. The existing classifier ended startup instead of allowing the bounded readiness loop to observe the next healthy probe.
Related issues
Refs #12698
Changes
Verification
npx vitest run --project cli src/lib/onboard/sandbox-fresh-readiness.test.ts src/lib/onboard/sandbox-gpu-create-flow.test.ts— 60 tests passed.npm run docs— passed.npm run checks:repository— all 18 repository checks passed.npm run test:changed— growth guardrails passed.NODE_OPTIONS=--max-old-space-size=8192 npm run typecheck:cli— passed.NODE_OPTIONS=--max-old-space-size=8192 npm run validate:pr— commit hooks, builds, publication validation, and CLI TypeScript checks passed.b281fa70da45e816f690e33289e1ed965f31db3d.d5d2e2fd5b352f46730f4d51a9c583b5fbd6a3de, merge commit1e5587933d734fbf96ca16c41cd24ab91b8f2125, and repair commits05f78be023321b646b6da03afa51e90683a0c5e7andb281fa70da45e816f690e33289e1ed965f31db3dare Verified.Review notes
The initial growth-guardrail failure was base drift, not a candidate defect: current main added a conditional to unrelated
src/lib/tunnel/services.test.tsafter the implementation base. Merge commit1e5587933d734fbf96ca16c41cd24ab91b8f2125integrates canonical basec51ba38a830b6b85201cc632bdc8fc148380a0ff; the replacement growth check passes.The first exact-commit Advisor run found two P1 findings in documentation and recreated-path regression coverage. Both are repaired in
05f78be023321b646b6da03afa51e90683a0c5e7; the replacement Advisor run37638023278and its blocker gate pass.This changes the managed-sandbox readiness boundary. The repair is limited to completed nonzero probes with empty normalized output. The existing bounded loop still owns retry limits, and explicit failures plus all nonempty terminal diagnostics remain failures.
Signed-off-by: Rebecca Sliter [email protected]
Summary by CodeRabbit