Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test(benchmark): pin tachometer full-endpoint coverage for agentperf - #357

Open
nv-yna wants to merge 1 commit into
NVIDIA:mainfrom
nv-yna:yna/agentperf-tachometer-pin
Open

test(benchmark): pin tachometer full-endpoint coverage for agentperf#357
nv-yna wants to merge 1 commit into
NVIDIA:mainfrom
nv-yna:yna/agentperf-tachometer-pin

Conversation

@nv-yna

@nv-yna nv-yna commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

What

Follow-up to #350/#353. Two tests pinning the contract that the agentperf benchmark type's client-polled metrics set is empty, so Tachometer's complement under observability.enabled is the full endpoint set.

Why

Today the behavior falls out of AgentPerfRunner not inheriting AIPerfBenchmarkRunner — nothing fails if someone reparents the runner or starts injecting AIPERF_SERVER_METRICS_URLS for it. Either change would silently drop worker endpoints from observability captures while no client actually polls them (the agentperf client never scrapes /metrics).

make check: 1493 passed.

🤖 Generated with Claude Code

The agentperf client never polls /metrics, so the client-polled set must
stay empty and Tachometer's complement must be the full endpoint set.
Today that falls out of AgentPerfRunner not inheriting
AIPerfBenchmarkRunner; these tests make the contract explicit so a
reparent or a stray AIPERF_SERVER_METRICS_URLS injection fails loudly
instead of silently dropping worker metrics from observability runs.

Signed-off-by: Yuewei Na <[email protected]>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@c9e21e7). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #357   +/-   ##
=======================================
  Coverage        ?   72.28%           
=======================================
  Files           ?       96           
  Lines           ?    13230           
  Branches        ?        0           
=======================================
  Hits            ?     9563           
  Misses          ?     3667           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants