Skip to content

[release/10.0] Add test helper and test cases to validate EventSource IDs#65427

Open
github-actions[bot] wants to merge 6 commits intorelease/10.0from
backport/pr-65408-to-release/10.0
Open

[release/10.0] Add test helper and test cases to validate EventSource IDs#65427
github-actions[bot] wants to merge 6 commits intorelease/10.0from
backport/pr-65408-to-release/10.0

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 13, 2026

Backport of #65408 to release/10.0

/cc @danegsta

Add test helper and test cases to validate EventSource IDs

Adds new test helper and unit tests to validate EventSource IDs in our PR and CI builds

Description

Adds a new test helper and unit tests to validate EventSource IDs via reflection to catch ID configuration issues during unit tests/PR and CI builds. This lets us catch mismatched or duplicate ID values via unit tests.

Fixes #65407

Customer Impact

EventSource ID configuration is fragile and introduces nasty runtime bugs when things go wrong. An EventSource ID bug (#65391) shipped in 10.0.103 (since fixed) and these new tests would have caught it during PR.

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

This is new test coverage (which itself has new test coverage).

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

@github-actions github-actions bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Feb 13, 2026
@danegsta danegsta added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Servicing-consider Shiproom approval is required for the issue and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Feb 13, 2026
@dotnet-policy-service
Copy link
Contributor

Hi @@github-actions[bot]. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge.

To learn more about how to prepare a servicing PR click here.

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

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Servicing-consider Shiproom approval is required for the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants