ci(e2e): extend Hermes runner telemetry#7515
Conversation
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
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 (2)
📝 WalkthroughWalkthroughThe PR revises controller child-run authorization to use check output summaries and cache-spanning polling, and adds runner-comparison telemetry to ChangesE2E workflow contracts
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant E2EWorkflow
participant PRGate
participant GitHubChecks
participant ChildRun
E2EWorkflow->>ChildRun: dispatch E2E workflow
PRGate->>GitHubChecks: poll controller check output
GitHubChecks-->>PRGate: return summary containing child run URL
PRGate->>E2EWorkflow: authorize matching child run
sequenceDiagram
participant AgentTurnLatency
participant BedrockHermes
participant RunnerComparison
AgentTurnLatency->>RunnerComparison: initialize
AgentTurnLatency->>RunnerComparison: finalize after live test
BedrockHermes->>RunnerComparison: initialize
BedrockHermes->>RunnerComparison: finalize after live test
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit 429521c in the TypeScript / code-coverage/cliThe overall coverage in commit 429521c in the Show a code coverage summary of the most impacted files.
Updated |
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.
|
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
|
Exact-head credentialed E2E passed.
Because GitHub dispatches the trusted workflow definition from |
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
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 `@tools/e2e/operations-workflow-boundary.mts`:
- Around line 206-222: Update the controller polling validation around
maxAttempts and pollSeconds to require exactly 45 attempts and 2-second delays,
while preserving the existing safe-integer and cache-spanning duration checks.
In test/e2e/support/e2e-operations-workflow-boundary.test.ts lines 181-199, add
independent mutations for each configuration value and assert the boundary
validator rejects both changes.
🪄 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: 7da21c8c-8a49-4f82-a87d-84fcb47f934b
📒 Files selected for processing (6)
.github/workflows/e2e.yamltest/e2e/README.mdtest/e2e/support/e2e-operations-workflow-boundary.test.tstest/pr-e2e-gate.test.tstools/e2e/operations-workflow-boundary.mtstools/e2e/pr-e2e-gate.mts
🚧 Files skipped from review as they are similar to previous changes (1)
- test/e2e/README.md
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Summary
Agent-turn latency and the Hermes Bedrock compatibility lane already emitted semantic progress samples, but their workflows never initialized or finalized the bounded runner-comparison ledger. This change gives both trusted-main executions the same phase-attributed CPU, memory, disk, Docker, and pressure summary used by the existing heavy Hermes lanes.
Related Issue
Part of #7140. This PR does not close the epic because the optimized Hermes image, matched before/after cohorts, and remaining lane-specific work are still pending.
Changes
agent-turn-latency.bedrock-runtime-compatible-anthropic; the OpenClaw shard remains excluded.hermes-slackout of scope so fixed self-hosted runner capacity is not published without a separate maintainer decision.Type of Change
Quality Gates
test/e2e/README.mddocuments the operator-facing contract.b60f48ccdd319b65575ea37f606083aeff616b08against base2f6298ee165f4821f635be962fedff5e165701ee. Repository, branch, alternate-checkout, matrix, numeric-schema, and best-effort finalizer boundaries remain fail closed; no permission, secret, dependency, or runner-routing expansion was found.Documentation Writer Review
no-docs-neededtest/e2e/README.mdnow records the internal operator contract; no CLI, configuration, API, supported behavior, or user procedure changes.DGX Station Hardware Evidence
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/runner-comparison-workflow-boundary.test.ts test/e2e/support/runner-comparison.test.ts test/e2e/support/e2e-workflow.test.ts test/e2e/support/upload-e2e-artifacts-workflow-boundary.test.ts test/e2e/support/trusted-hermes-swap-workflow-boundary.test.ts(158 passed)npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result: Not applicable; this is a narrow workflow-boundary change covered by the focused suites.npm run typecheck:cli,npm run test:titles:check,npm run source-shape:check, Biome, andgit diff --checkpassed.npm run docsbuilds without warnings (doc changes only)Signed-off-by: Apurv Kumaria akumaria@nvidia.com
Summary by CodeRabbit