test(e2e): model boot restart before recovery - #8049
Conversation
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.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 (2)
📝 WalkthroughWalkthroughThe lifecycle fixture now models post-reboot Docker startup explicitly, polls sandbox readiness, and runs ChangesPost-reboot recovery
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit 9516565 in the TypeScript / code-coverage/cliThe overall coverage in commit 9516565 in the Updated |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Second-opinion E2E selections are advisory. They do not change the primary assessment or E2E / PR Gate. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Summary
The post-reboot E2E fixture now models the boot-owned restart of the preserved OpenShell container before checking recovery. The previous fixture retried
nemoclaw <name> statusagainst a stopped container even though no actor could start it, so the lane failed deterministically instead of testing automatic post-reboot recovery.Changes
Ready.nemoclaw <name> statusonce after the boot transition so status remains responsible for restoring OpenClaw, host forwarding, and the delivery path.Type of Change
Quality Gates
Documentation Writer Review
no-docs-neededtest/e2e/fixtures/phases/lifecycle.tsand behavior-oriented coverage intest/e2e/support/e2e-phase-lifecycle.test.ts. No user-visible product surface changes.DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpx vitest run --project e2e-support test/e2e/support/e2e-phase-lifecycle.test.tspassed 23/23;npm run test:e2e-phases:checkpassed with 114 tests across 71 files; CLI and plugin builds passed.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result: Aggregatee2e-supportreached 1,888 passing tests; two Linux/systemd fixture cases are incompatible with the macOS login-shell harness and one unrelated Hermes swap test timed out. The changed lifecycle suite is green; Linux CI is the authoritative broad gate.npm run docsbuilds without warnings (doc changes only)Signed-off-by: Senthil Ravichandran senthilr@nvidia.com
Summary by CodeRabbit