Skip to content
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

Ensure all HealthChecks libraries have a .NETCoreApp TFM. #2185

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

eerhardt
Copy link
Collaborator

@eerhardt eerhardt commented Apr 1, 2024

This ensures that when libraries and apps who depend on the HealthChecks libraries get the correct transitive dependences for .NETCoreApp TFMs (for example Microsoft.Bcl.AsyncInterfaces).

This follows the following guidance:

✔️ CONSIDER multi-targeting even if your source code is the same for all targets, when your project has any library or package dependencies.

Fix #2180
Fix #2084
Fix #2163

cc @DamianEdwards

This ensures that when libraries and apps who depend on the HealthChecks libraries get the correct transitive dependences for .NETCoreApp TFMs (for example Microsoft.Bcl.AsyncInterfaces).

This follows the following [guidance](https://learn.microsoft.com/dotnet/standard/library-guidance/cross-platform-targeting):

✔️ CONSIDER multi-targeting even if your source code is the same for all targets, when your project has any library or package dependencies.

Fix #2180
Fix #2084
Fix #2163
Copy link
Collaborator

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for your contribution @eerhardt !

@unaizorrilla
Copy link
Collaborator

LGTM

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.73%. Comparing base (e8702a2) to head (e038a89).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2185      +/-   ##
==========================================
+ Coverage   64.11%   66.73%   +2.62%     
==========================================
  Files         248      154      -94     
  Lines        8359     3547    -4812     
  Branches      586      374     -212     
==========================================
- Hits         5359     2367    -2992     
+ Misses       2852     1101    -1751     
+ Partials      148       79      -69     
Flag Coverage Δ
ApplicationStatus 28.67% <ø> (+2.00%) ⬆️
ArangoDb 28.30% <ø> (+1.79%) ⬆️
Aws.S3 15.52% <ø> (+1.24%) ⬆️
Aws.SecretsManager 15.82% <ø> (+1.27%) ⬆️
Aws.Sns 15.97% <ø> (+1.20%) ⬆️
Aws.Sqs 16.66% <ø> (+1.38%) ⬆️
Aws.SystemsManager 15.82% <ø> (+1.27%) ⬆️
Azure.IoTHub 13.82% <ø> (+1.00%) ⬆️
AzureApplicationInsights 16.56% <ø> (+1.85%) ⬆️
AzureBlobStorage 26.42% <ø> (?)
AzureDigitalTwin 37.15% <ø> (+1.38%) ⬆️
AzureEventHubs 17.46% <ø> (?)
AzureFileStorage 26.42% <ø> (?)
AzureKeyVault 30.48% <ø> (+1.23%) ⬆️
AzureQueueStorage 26.42% <ø> (?)
AzureSearch 17.60% <ø> (+1.49%) ⬆️
AzureServiceBus 72.48% <ø> (+1.13%) ⬆️
AzureTableStorage 27.97% <ø> (?)
Consul 24.32% <ø> (+1.74%) ⬆️
CosmosDb 29.45% <ø> (+1.34%) ⬆️
DocumentDb 16.00% <ø> (+1.35%) ⬆️
DynamoDb 13.29% <ø> (+1.16%) ⬆️
Elasticsearch 41.12% <ø> (+1.62%) ⬆️
EventStore ?
EventStore.gRPC ?
Gcp.CloudFirestore 13.33% <ø> (+1.23%) ⬆️
Gremlin 25.00% <ø> (+1.92%) ⬆️
Hangfire 12.10% <ø> (+1.12%) ⬆️
IbmMQ 30.76% <ø> (ø)
InfluxDB 15.54% <ø> (+0.54%) ⬆️
Kafka 23.52% <ø> (+1.49%) ⬆️
Kubernetes ?
MongoDb 32.85% <ø> (+1.07%) ⬆️
MySql 33.33% <ø> (+1.70%) ⬆️
Nats 72.77% <ø> (+2.91%) ⬆️
Npgsql ?
OpenIdConnectServer 41.26% <ø> (+1.98%) ⬆️
Oracle 63.92% <ø> (+3.31%) ⬆️
Prometheus.Metrics ?
Publisher.ApplicationInsights 15.27% <ø> (+0.50%) ⬆️
Publisher.CloudWatch 20.33% <ø> (+1.31%) ⬆️
Publisher.Datadog 16.33% <ø> (+1.33%) ⬆️
Publisher.Prometheus ?
Publisher.Seq ?
RabbitMQ 49.56% <ø> (+1.88%) ⬆️
RavenDb 73.42% <ø> (+2.68%) ⬆️
Redis 68.47% <ø> (+2.75%) ⬆️
SendGrid 13.19% <ø> (+1.27%) ⬆️
SignalR 25.97% <ø> (+1.75%) ⬆️
SqlServer 30.43% <ø> (+1.86%) ⬆️
Sqlite 28.20% <100.00%> (+1.82%) ⬆️
System 43.58% <ø> (+1.02%) ⬆️
UI ?
Uris ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adamsitnik adamsitnik merged commit 14256f3 into master Apr 2, 2024
49 checks passed
@adamsitnik adamsitnik deleted the AddNet6Tfms branch April 2, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment