test(e2e): add Hermes live Vitest migration [ANCHOR-5]#5256
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR adds a new ChangesHermes E2E Vitest scenario
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
PR Review AdvisorFindings: 0 needs attention, 1 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
Consider writing more tests for
This is an automated advisory review. A human maintainer must make the final merge decision. |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: Dispatch required Vitest E2E scenarios:
Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorBase: Required Vitest E2E scenarios
Optional Vitest E2E scenarios
Relevant changed files
|
Supersedes #5227 due to an unsigned historical commit that cannot be rewritten under branch rules. This branch has the identical final diff with verified signed history.
Summary
Migrate
test/e2e/test-hermes-e2e.shwith simple live Vitest coverage.Related Issues
Refs #5098
Contract mapping
NEMOCLAW_AGENT=hermes.test/e2e-scenario/live/hermes-e2e.test.tsrunsbash install.sh --non-interactivewith Hermes env.agent=hermes, inference provider and policy are configured.nemoclaw list/status, session JSON,openshell inference get, andopenshell policy get --fullassertions.nemoclawandopenshellcommands.inference.localchat return PONG.curl https://inference.local/v1/chat/completionsassertions.nemoclaw <sandbox> logsandbin/lib/agent-defsmanifest checks.Simplicity check
hermes-e2efree-standing Vitest job ine2e-vitest-scenarios.yaml; legacy shell script deletion and nightly shell retirement are deferred to Epic: Migrate legacy bash E2E into the Vitest E2E system #5098 Phase 11.Verification
npm ci --ignore-scriptsnpm run build:clinpx vitest run --project e2e-vitest-support test/e2e-scenario/support-tests/e2e-scenarios-workflow.test.ts test/e2e-scenario/support-tests/e2e-scenario-matrix.test.ts --silent=false --reporter=defaultenv -u NVIDIA_API_KEY NEMOCLAW_RUN_E2E_SCENARIOS=1 npx vitest run --project e2e-scenarios-live test/e2e-scenario/live/hermes-e2e.test.ts --silent=false --reporter=defaultnpx biome check test/e2e-scenario/live/hermes-e2e.test.ts .github/workflows/e2e-vitest-scenarios.yamlgit diff --checkLive validation
Selective
hermes-e2edispatch in E2E / Vitest Scenarios is pending after PR creation.Summary by CodeRabbit
Tests
Chores