Skip to content

[chore] Use mdatagen for configopaque and configtelemetry - #15696

Open
inshining wants to merge 2 commits into
open-telemetry:mainfrom
inshining:chore/mdatagen-configopaque-configtelemetry
Open

[chore] Use mdatagen for configopaque and configtelemetry#15696
inshining wants to merge 2 commits into
open-telemetry:mainfrom
inshining:chore/mdatagen-configopaque-configtelemetry

Conversation

@inshining

Copy link
Copy Markdown

Description

Completes the mdatagen migration for the config/ packages. configopaque and configtelemetry were the only two left using a hand-written package_test.go after #15639.

Link to tracking issue

No dedicated tracking issue
this follows the same pattern established in #15632 and #15639. Happy to open a tracking issue first if maintainers would prefer that.

Testing

go test -count=1 ./... passes for both config/configopaque and config/configtelemetry.

Authorship

  • I, a human, wrote this pull request description myself.

These were the last two config packages still using a hand-written
package_test.go. Adds the //go:generate directive and replaces the
hand-written goleak TestMain with the mdatagen-generated
generated_package_test.go, completing the migration started in open-telemetry#15632
and open-telemetry#15639.

Assisted-by: Claude Opus 5
@inshining
inshining requested a review from a team as a code owner August 1, 2026 12:14
@inshining
inshining requested a review from jmacd August 1, 2026 12:14
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.

1 participant