-
Notifications
You must be signed in to change notification settings - Fork 357
[Infra] GetTargetFrameworkIdentifier for baselines #3083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Infra] GetTargetFrameworkIdentifier for baselines #3083
Conversation
Make TFM-specific public API baselines not use the specific TFM version. See open-telemetry#3079 (comment).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the public API baseline configuration to use target framework identifiers instead of specific target framework monikers (TFMs). This allows for more flexible TFM-specific public API baselines that don't tie to specific framework versions.
- Adds MSBuild function call to extract framework identifier from target framework
- Enables framework-specific API baselines without version-specific constraints
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3083 +/- ##
==========================================
- Coverage 69.81% 69.61% -0.20%
==========================================
Files 410 420 +10
Lines 16266 16315 +49
==========================================
+ Hits 11356 11358 +2
- Misses 4910 4957 +47 Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
See #3079 (comment).
Changes
Make TFM-specific public API baselines not use the specific TFM version.
Merge requirement checklist
Unit tests added/updatedAppropriateCHANGELOG.mdfiles updated for non-trivial changesChanges in public API reviewed (if applicable)