Skip to content

feat(metrics): Add regression test for metrics recording#7362

Open
dentiny wants to merge 3 commits intoapache:mainfrom
dentiny:hjiang/add-regression-metrics
Open

feat(metrics): Add regression test for metrics recording#7362
dentiny wants to merge 3 commits intoapache:mainfrom
dentiny:hjiang/add-regression-metrics

Conversation

@dentiny
Copy link
Copy Markdown
Contributor

@dentiny dentiny commented Apr 7, 2026

Rationale for this change

I'm been fixing a few metrics-related bugs in the past weeks, and think it'd be good if we could have regression test.

What changes are included in this PR?

In the added unit tests, I focus on failure cases, for example, (1) several cases on server failure; (2) client/server drops requests due to timeout, etc.

Are there any user-facing changes?

No

AI Usage Statement

I wrote down a list of scenarios to test, opus generates the test code for me.

@dentiny dentiny requested a review from Xuanwo as a code owner April 7, 2026 03:16
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/feat The PR implements a new feature or has a title that begins with "feat" labels Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant