fix(e2e): pass --no-verify to inference set in switch E2E tests#4143
fix(e2e): pass --no-verify to inference set in switch E2E tests#4143hunglp6d wants to merge 1 commit into
Conversation
The hermes-inference-switch-e2e and openclaw-inference-switch-e2e nightly jobs fail because the verification request to the nvidia-prod endpoint for model z-ai/glm-5.1 times out. These tests validate the inference switch mechanism, not external model availability, so pass --no-verify to skip the remote endpoint health check. Signed-off-by: Hung Le <hple@nvidia.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: None Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 2 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
This is an automated advisory review. A human maintainer must make the final merge decision. |
|
Closed as a duplicate of #4111 |
Summary
The
hermes-inference-switch-e2eandopenclaw-inference-switch-e2enightly jobs fail because thenemohermes inference set/nemoclaw inference setverification request to thenvidia-prodendpoint for modelz-ai/glm-5.1times out athttps://integrate.api.nvidia.com/v1/chat/completions. These E2E tests validate the inference switch mechanism (route, config patching, hashes, live requests viainference.local), not external model endpoint availability. Adding--no-verifyskips the remote health check that is orthogonal to the test surface.Related Issue
Fixes #4145
Changes
test/e2e/test-hermes-inference-switch.sh: add--no-verifytonemohermes inference setcalltest/e2e/test-openclaw-inference-switch.sh: add--no-verifytonemoclaw inference setcallValidation
The
--no-verifyflag is a first-class CLI option (seesrc/lib/actions/inference-set.ts:309,src/lib/cli/public-display-defaults.ts:74). It is already used throughout the onboard flow (src/lib/onboard.ts:5550, 5637, 5714, 5796, 5840) and in sandbox connect (src/lib/actions/sandbox/connect.ts:277). The E2E tests continue to validate the full switch path — route assertion, config.yaml patching, config hash integrity, Hermes gateway PID stability,.envimmutability, and live inference throughinference.local— the only step removed is the upfront remote endpoint probe.42ac98dc84b9493cb50dcb3edd0f7c0f8d1831c5hermes-inference-switch-e2e (#77559129270),openclaw-inference-switch-e2e (#77559129278)Type of Change
Verification
npx prek run --all-filespassesnpm testpassesAI Disclosure
Signed-off-by: Hung Le hple@nvidia.com