test(e2e): migrate common-egress agent scenario#5360
Conversation
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
|
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. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR introduces a new free-standing Vitest E2E job for common-egress-agent scenarios. It adds 1,043 lines total: a comprehensive test suite with OpenClaw and Hermes agent assertions, a GitHub Actions workflow job definition, workflow-boundary validation rules, and dispatch-selector test coverage to ensure the job integrates correctly into the e2e-vitest-scenarios workflow. ChangesCommon Egress Agent E2E Test Suite and CI Integration
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorFailed: Could not parse JSON from advisor output; see /home/runner/work/NemoClaw/NemoClaw/artifacts/e2e-advisor/e2e-advisor-raw-output.txt |
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: None Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorFailed: Could not parse JSON from advisor output; see /home/runner/work/NemoClaw/NemoClaw/artifacts/e2e-advisor/e2e-scenario-advisor-raw-output.txt |
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. |
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Vitest E2E Scenario Results — ✅ All jobs passedRun: 27437547928
|
Summary
Migrates
test/e2e/test-common-egress-agent-e2e.shinto a focused live Vitest scenario. The new test preserves the legacy OpenClaw balanced/open and Hermes open common-egress agent-turn contracts while using existing fixture clients for artifacts, cleanup, redaction, and live skip gates.Related Issue
Refs #5098
Changes
test/e2e-scenario/live/common-egress-agent.test.tswith OpenClaw SSH agent-turn checks, Hermes API-server agent checks, policy assertions, live-secret gating, and legacy skip/keep-sandbox knobs.common-egress-agent-vitestto the free-standing E2E Vitest workflow, inventory, report fan-in, and selector support tests.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit
Tests
Chores