Repository navigation
test(e2e): reduce duplicate stopped-sandbox upgrade coverage - #14462
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. Walkthrough
Merge Risk:
|
Authoring session — opening
|
|
@coderabbitai review Please review commit e5b9061. Draft review was skipped; this requests the automated review for the published candidate. |
Action performed
|
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage/plugin
View coverage of the 10 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
|
Qualified commit: PR base and trusted workflow:
The v0.0.123 evidence records one running survivor plus one stopped sandbox, both workspace markers, stopped-state restoration and lifecycle use, authenticated agent turns, credential non-exposure and a changed systemd service invocation. Cleanup summaries contain no failures, and the workflow Docker-auth cleanup steps passed. Cleanup evidence has the existing callback/command-success limits; it does not establish independent absence for every resource. These selections cover the deterministic Advisor floor and all required/optional gateway-upgrade recommendations, including the three duplicate unresolved requests caused by the Advisor inventory's manual-only classification. The trusted planner accepts the existing target, as this retained execution demonstrates. Staging and dedicated hardware were not selected. No E2E retry was used. This is runtime evidence, not merge readiness. Refreshed Advisor verification findings are duplicates of one fast-test gap: enforce the retained stopped-sandbox count. A one-line guard repair is being prepared; this evidence remains bound to the commit above and will not be relabeled as a pass for a later commit. |
Signed-off-by: Rebecca Sliter <[email protected]>
|
@coderabbitai review Please review the latest commit 615336b, which adds the retained stopped-sandbox guard requested by Advisor. The prior request covered e5b9061 only. |
Action performed
|
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
|
Qualified commit: Combined qualification run 43527075804, attempt 1 completed successfully: 10 jobs passed, 31 unselected jobs skipped, no failures. All six selected live scenarios passed. PR base and trusted workflow:
The immutable v2 dispatch receipt and all six product-artifact hashes and identities were verified. The v0.0.123 artifact records the running survivor and one stopped sandbox, both preserved markers, restored stopped phase, start/stop usability, authenticated agent turns, credential non-exposure and a changed systemd service invocation. Every cleanup summary has zero failures; all six workflow Docker-auth cleanup steps passed. Cleanup evidence retains its existing callback/command-success limits and does not independently establish absence of every resource. Staging and dedicated hardware were unselected. No E2E retry was used. Final Advisor run 43529448929 has nine clear code-finding ledgers. Its required floor is The retained-count guard also passed the two focused support suites (62 tests). A temporary zero-stopped mutation failed the guard, and the fixture bytes were restored. Independent human approval remains required before merge. |
prekshivyas
left a comment
There was a problem hiding this comment.
Reviewed commit 26060ae. No actionable code findings. The retained mixed-state coverage and documented cardinality tradeoff are consistent; all 67 focused local tests passed. Approval covers the code review. Fresh CI, Advisor, and live qualification for this merged commit remain outstanding; the earlier live evidence applies to 615336b.
Outcome
The v0.0.123 gateway upgrade fixture uses one running sandbox and one stopped sandbox. It keeps the recovery assertions and 35-minute installer deadline while removing one repeated stopped-sandbox rebuild. A fast boundary test enforces the retained stopped-sandbox count.
Reason
Full run 43485160707 exhausted the installer deadline in both attempts while the third sandbox waited for post-restore Doctor. The preceding full run passed the same scenario, but its installer took 32 minutes 34 seconds. The terminating deadline is established; the cause of the increased runtime remains unresolved.
Changes
additionalStoppedSandboxesfrom two to one for the reviewed v0.0.123 fixture.The v0.0.89 fixture, historical version pins, Doctor migrations, live assertions, retry policy and deadlines remain unchanged.
Verification
Latest commit:
615336ba5cf27a32cae5ca2f6f7559418161efcb.node node_modules/vitest/vitest.mjs run --project e2e-support test/e2e/support/openshell-gateway-upgrade-workflow-boundary.test.ts test/e2e/support/openshell-gateway-upgrade-old-installer.test.ts --maxWorkers=2: 62 passed after the guard repair.git diff --check, installed commit hooks, publication validation and CLI typecheck passed. Hooks ran inside the verified credential-isolation boundary. Plugin and JavaScript-config checks legitimately skipped the incremental test-only repair. Both commits are GitHub Verified and signed off.Final-commit qualification run 43527075804 passed all six selected live scenarios: both historical gateway-upgrade variants, cloud onboarding, the OpenClaw end-to-end scenario, and OpenClaw/Hermes security posture. The v0.0.123 installer completed in 19m 50.131s under the unchanged 35-minute deadline; v0.0.89 completed in 9m 56.408s. The run finished with 10 successful jobs, 31 unselected skips and no failures. No live retry was used. Exact candidate, base, workflow, receipt, artifact and cleanup records were verified. Commit-bound evidence records the selectors and individual job results. Staging and dedicated hardware were excluded.
Final-commit CI passed. CodeRabbit completed without actionable findings, and all nine Advisor code-finding ledgers are clear. The Advisor planning gate remains red because three planning entries describe the existing manual gateway-upgrade selector as unsupported. The trusted planner accepted that selector and both variants passed in the final-commit run. These coverage requests are fulfilled; the inherited inventory discrepancy is recorded separately. This PR changes neither the inventory nor the gate and claims no passing result for that gate. Independent eligible human approval is still required.
Review notes
Author self-review covered NVIDIA/NemoClaw commit
615336ba5cf27a32cae5ca2f6f7559418161efcb, including sensitive pathtools/e2e/openshell-gateway-upgrade-fixture.mts, the owning README and the boundary test. It traced both fixture variants and the affected loops. The guard resolves the two duplicate Advisor verification findings from the previous candidate. No additional source defect was identified. This is not independent review; automated evaluation and independent human approval remain required.Signed-off-by: Rebecca Sliter [email protected]
Summary by CodeRabbit
Documentation
Tests