Closed jade-guiton-dd closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.64%. Comparing base (
1d87709
) to head (1ce1ece
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
You can double check e.g. here: https://github.com/open-telemetry/opentelemetry-collector/actions/runs/11858185454/job/33048223148?pr=11683 that the generated replaces look reasonable
Description
make check-contrib
usego mod edit
to allow running theopentelemetry-collector-contrib
unit tests against the local version of the core libraries. It also removes thereplace
statements after tests have been run. At the moment, this is done with two long handwrittengo mod edit
commands. But this very easily gets out-of-date: for reference, we currently only-replace
70 modules out of the 73 in versions.yaml, and only-dropreplace
63 out of those.This PR changes the
Makefile
to programatically generate the commands, to avoid needing to keep them up to date.This was split off from PR #11670.
You can check the output in the
contrib-tests
CI job output.