Skip to content

Actually use requested number of versions to test muzzle#1396

Merged
trask merged 3 commits into
open-telemetry:masterfrom
iNikem:greedy-muzzle
Oct 16, 2020
Merged

Actually use requested number of versions to test muzzle#1396
trask merged 3 commits into
open-telemetry:masterfrom
iNikem:greedy-muzzle

Conversation

@iNikem

@iNikem iNikem commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

Fixes #1389

@iNikem iNikem closed this Oct 15, 2020
@iNikem iNikem reopened this Oct 15, 2020

@trask trask left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

Comment on lines +273 to +278
if (predicate.test(range.lowestVersion)) {
result.add(range.lowestVersion.toString())
}
if (predicate.test(range.highestVersion)) {
result.add(range.highestVersion.toString())
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think maybe good not to apply predicate test to highestVersion, so we can find out early that we may issue with future version.

Though then we tend to just limit the max version, and we never get notified when a non-"beta" version is released, which is worse.

So ignore me, all good 😄.

@trask trask merged commit 29ec067 into open-telemetry:master Oct 16, 2020
@iNikem iNikem deleted the greedy-muzzle branch October 19, 2020 04:43
schmikei pushed a commit to schmikei/opentelemetry-java-instrumentation that referenced this pull request Apr 17, 2025
Co-authored-by: Joao Grassi <5938087+joaopgrassi@users.noreply.github.com>
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.

Muzzle is too eager?

4 participants