Repository navigation
fix(e2e): serialize hosted agent proofs - #5931
Conversation
Signed-off-by: Carlos Villela <cvillela@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 (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthrough
ChangesNightly E2E job ordering and contract test
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 docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in the Show a code coverage summary of the most covered files.
TypeScript / code-coverage/cliThe overall coverage in the Show a code coverage summary of the most covered files.
Updated |
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
|
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: None Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorBase: Required Vitest E2E scenarios
Optional Vitest E2E scenarios
Relevant changed files
|
PR Review Advisor — No blocking findingsMerge posture: No blocking advisor findings Action checklist
Test follow-ups to resolve or justifyIf these cover changed behavior, prefer adding them in this PR; otherwise state why existing coverage is enough or link the follow-up.
This is an automated, non-binding review; it still expects maintainers and agents to respond to each required or warning item. Treat suggestions as current-PR improvements when they touch changed code; defer only with maintainer rationale or a linked follow-up. A human maintainer must make the final merge decision. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/e2e-release-gate-workflow.test.ts`:
- Around line 29-32: The workflow contract test is over-constrained by asserting
exact `needs` array order, which makes it fail on harmless YAML reordering.
Update the assertions in the `test/e2e-release-gate-workflow.test.ts` check
around `cloudJob.needs` and `tuiJob.needs` to verify the dependency membership
order-insensitively while still confirming the expected items are present, so
the test validates behavior rather than serialization order.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 3eff97c8-9c23-40e4-873f-1cda287af2b3
📒 Files selected for processing (2)
.github/workflows/nightly-e2e.yamltest/e2e-release-gate-workflow.test.ts
PR Review Advisor (Nemotron Ultra) — No blocking findingsMerge posture: No blocking advisor findings Action checklist
Findings index
Review findings by urgency: 0 required fixes, 1 item to resolve/justify, 1 in-scope improvement
|
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Selective E2E Results — ✅ All requested jobs passedRun: 28323562654
|
Selective E2E Results — ✅ All requested jobs passedRun: 28323756583
|
|
Automated review disposition and runtime evidence:
Local validation after the review fix: Biome passed, 32 targeted workflow tests passed, CLI typecheck passed, and normal commit/push hooks passed. Both commits are GitHub Verified. |
|
Nemotron advisor disposition:
This resolves the sole warning by design rationale and the test suggestions through existing coverage plus current runtime evidence. |
## Summary Serialize the two load-sensitive hosted agent proofs in the full Nightly E2E gate. The cloud agent proof now waits for peak hosted lifecycle jobs, and the strict TUI proof then waits for the cloud proof, while selective dispatch remains supported. ## Changes - Defer cloud-e2e until the three peak hosted lifecycle jobs finish. - Defer openclaw-tui-chat-correlation-e2e until cloud-e2e also finishes. - Preserve selective dispatch with always() guards and the existing job selector. - Extend workflow contract coverage for both dependency chains and guard expressions. ## Type of Change - [x] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates - [x] Tests added or updated for changed behavior - [ ] Existing tests cover changed behavior — justification: - [ ] Tests not applicable — justification: - [ ] Docs updated for user-facing behavior changes - [x] Docs not applicable — justification: internal release-gate workflow scheduling only; no user-facing behavior changes. - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [x] Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: reviewed the workflow diff; it changes only job dependencies and guard expressions, with no secret, endpoint, model, or provider wiring changes. - [ ] Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue: ## Verification - [x] PR description includes the DCO sign-off declaration and every commit appears as Verified in GitHub - [x] Git hooks passed during commit and push, or npx prek run --from-ref main --to-ref HEAD passes - [x] Targeted tests pass for changed behavior - [ ] Full npm test passes (broad runtime changes only) - [x] Quality Gates section completed with required justifications or waivers - [x] No secrets, API keys, or credentials committed - [ ] npm run docs builds without warnings (doc changes only) - [ ] Doc pages follow the style guide (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) Targeted local verification: - npx biome check test/e2e-release-gate-workflow.test.ts - npm test -- --run test/e2e-release-gate-workflow.test.ts test/e2e-advisor-dispatch.test.ts test/validate-e2e-coverage.test.ts (32 tests passed) - npm run typecheck:cli - git diff --check Runtime evidence on 4db5d5d: - Full Nightly run 28316894368 completed with 67 successful jobs, 4 skipped jobs, and only cloud-e2e failing. Its direct hosted API and sandbox-routed inference probes passed; the OpenClaw-mediated turn alone returned an empty reply after its 90-second timeout at peak load. The newly deferred strict TUI proof passed in that same full run. - Drained targeted cloud-e2e run 28317776042 passed on the identical main SHA. - Targeted strict TUI run 28315707926 passed with the prior peak-job deferral. --- Signed-off-by: Carlos Villela <cvillela@nvidia.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Updated nightly E2E job ordering so the cloud validation lane runs after its required upstream checks, while remaining eligible under selective dispatch conditions. * Ensured the correlation E2E job waits for the cloud E2E lane before starting, reducing out-of-order execution risk. * **Tests** * Strengthened workflow contract tests to validate the exact dependency chain, job-level execution conditions, and that referenced dependency jobs exist. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Summary
Serialize the two load-sensitive hosted agent proofs in the full Nightly E2E gate. The cloud agent proof now waits for peak hosted lifecycle jobs, and the strict TUI proof then waits for the cloud proof, while selective dispatch remains supported.
Changes
Type of Change
Quality Gates
Verification
Targeted local verification:
Runtime evidence on 4db5d5d:
Signed-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit