[aws] Combine Extensions.AWS, Instrumentation.AWS, & Instrumentation.AWSLambda into a single tag - #2203
Merged
Merged
Conversation
… generator not present for netstandard2.0 builds of Lambda.
github-actions
Bot
requested review from
Oberon00,
ppittle,
rypdal and
srprash
October 10, 2024 17:09
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2203 +/- ##
===========================================
+ Coverage 73.91% 85.28% +11.36%
===========================================
Files 267 35 -232
Lines 9615 761 -8854
===========================================
- Hits 7107 649 -6458
+ Misses 2508 112 -2396
Flags with carried forward coverage won't be shown. Click here to find out more. |
Kielek
approved these changes
Oct 10, 2024
Kielek
left a comment
Member
There was a problem hiding this comment.
LGTM. I would wait for some feedback from component owners before merge.
Member
|
Given our recent discussion in the SIG about release strategy, I agree this change make sense. I'd still like to review the other AWS packages - it may yet make sense for those to release separately. Thanks for the change and write up! |
ppittle
approved these changes
Oct 11, 2024
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Use the same tag prefix (
MinVerTagPrefix) forOpenTelemetry.Extensions.AWS,OpenTelemetry.Instrumentation.AWS, &OpenTelemetry.Instrumentation.AWSLambda.Add STJ reference at
6.0.10/8.0.5forOpenTelemetry.Instrumentation.AWSLambdasince it uses the source generator.Details
@srprash @ppittle @Oberon00 @rypdal
My goal here is to resolve the last build breaks due to vulnerable STJ package versions:
The reason this is happening is
OpenTelemetry.Instrumentation.AWSandOpenTelemetry.Instrumentation.AWSLambdareferenceOpenTelemetry.Extensions.AWSthrough NuGet, they don't useProjectReference.There isn't anything necessarily wrong with that, but it is a code smell IMO. Tightly coupled projects should be released together.
Examples:
OpenTelemetry.Instrumentation.AspNet & OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule
OpenTelemetry.PersistentStorage.Abstractions & OpenTelemetry.PersistentStorage.FileSystem
What this PR is doing is using the same
MinVerTagPrefixforOpenTelemetry.Extensions.AWS,OpenTelemetry.Instrumentation.AWS, &OpenTelemetry.Instrumentation.AWSLambdaso they will always be versioned and released together.We could just put out a NuGet for
OpenTelemetry.Extensions.AWSto resolve the issue but I feel this is better design and overall better for users. Less chance for mismatched versions and conflicts for the coupled projects and their dependencies.Please approve this PR if this works for AWS group!
PS: We could version all of the AWS packages together. Might simplify the versioning/upgrade story for everything. But I only did the coupled ones here. Happy to do them all if that is something AWS group wants.
Merge requirement checklist