test(e2e): align release fixtures with readiness checks - #6994
Conversation
|
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)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe E2E tests configure fake OpenAI-compatible servers for gateway-network access and update Hermes readiness checks to use authenticated model inventory requests. Dashboard-enabled installation assertions now also require inference-route health. ChangesFake server network addressing
Hermes inference verification
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 remains at 96%, unchanged from the TypeScript / code-coverage/cliThe overall coverage in the Show a code coverage summary of the most impacted files.
Updated |
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/live/hermes-inference-switch-helpers.ts`:
- Around line 87-98: The expectAuthenticatedBaselineInventoryRequest matcher
must require the readiness request to be an authenticated GET /v1/models call.
Add method: "GET" to its expected request shape, and update the command-shape
test to cover that a POST /v1/models does not satisfy the matcher.
🪄 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: b90c2396-476f-48e3-8407-1ca25dabb734
📒 Files selected for processing (6)
test/e2e/live/concurrent-gateway-ports.test.tstest/e2e/live/double-onboard.test.tstest/e2e/live/hermes-e2e.test.tstest/e2e/live/hermes-inference-switch-helpers.tstest/e2e/live/hermes-inference-switch.test.tstest/e2e/support/hermes-inference-switch-command-shape.test.ts
PR Review Advisor — InformationalAdvisor assessment: Informational / high confidence Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: 1 warning · 0 suggestionsWarningsWarnings do not block.
|
Summary
Align the v0.0.84 live E2E fixtures with gateway-network reachability and inventory-only readiness checks. The affected tests previously used runner loopback addresses or asserted superseded completion and deployment text, producing deterministic release-gate failures despite the intended runtime behavior.
Changes
host.openshell.internalwhile binding their authenticated fixture servers for gateway access./v1/modelsinventory request as Hermes baseline readiness evidence instead of requiring a token-consuming chat completion.Type of Change
Quality Gates
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run check:diffpassed when hooks were skipped or unavailablenpx vitest run --project e2e-support test/e2e/support/hermes-inference-switch-command-shape.test.ts(19 passed)npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Prekshi Vyas prekshiv@nvidia.com
Summary by CodeRabbit
/v1/models) requests instead of chat-completions readiness.