You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wasn't sure I could explain this well so I created a reproduction at https://github.com/danelson/ocb_version_issue.
I think this can break anytime a release is made with a breaking change to an API that you consume in a custom component while still referencing that lower version.
What did you expect to see?
I expect both configs to act the same (I am not sure the semantics are the same tho).
What did you see instead?
Bad config pulls in latest API version and build fails.
What version did you use?
v0.96.0
The text was updated successfully, but these errors were encountered:
Error: component dependency not found in go mod file: 'github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage'. Use --skip-strict-versioning to temporarily disable this check. This flag will be removed in a future minor version
Possibly related to the change for #9896? In which case perhaps this can be closed as it will not be possible to have the "breaking" config once --skip-strict-versioning is removed?
Describe the bug
When a version is specified in the builder config for
gomod
, it does not seem to be respected byimport
.Consider a config that looks something like the following:
A possible breaking config
vs.
A good config
Steps to reproduce
I wasn't sure I could explain this well so I created a reproduction at https://github.com/danelson/ocb_version_issue.
I think this can break anytime a release is made with a breaking change to an API that you consume in a custom component while still referencing that lower version.
What did you expect to see?
I expect both configs to act the same (I am not sure the semantics are the same tho).
What did you see instead?
Bad config pulls in latest API version and build fails.
What version did you use?
v0.96.0
The text was updated successfully, but these errors were encountered: