-
Notifications
You must be signed in to change notification settings - Fork 780
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
upgraded the build/CI to use net8.0 #4876
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4876 +/- ##
==========================================
- Coverage 82.95% 82.94% -0.02%
==========================================
Files 294 294
Lines 12206 12206
==========================================
- Hits 10126 10124 -2
- Misses 2080 2082 +2
Flags with carried forward coverage won't be shown. Click here to find out more. |
...rumentation.W3cTraceContext.Tests/OpenTelemetry.Instrumentation.W3cTraceContext.Tests.csproj
Outdated
Show resolved
Hide resolved
...porter.OpenTelemetryProtocol.Tests/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests.csproj
Outdated
Show resolved
Hide resolved
...porter.OpenTelemetryProtocol.Tests/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests.csproj
Outdated
Show resolved
Hide resolved
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.
LGTM to unblock net8 support, I've added few comments but these can be addressed in a follow up PR.
@@ -912,6 +914,7 @@ void ConfigureTestServices(IServiceCollection services) | |||
Assert.Equal(4, numberofSubscribedEvents); | |||
} | |||
|
|||
#if !NET8_0 |
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.
Any idea what's going on here? Was something fixed or broken in .NET 8?
@@ -14,7 +14,7 @@ | |||
// limitations under the License. | |||
// </copyright> | |||
|
|||
#if NET6_0_OR_GREATER | |||
#if NET6_0 || NET7_0 |
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.
Same question as above. Any idea what happened here? Seems kind of odd something would change for .NET 8.
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.
@CodeBlanch:
I've updated the code to only run when !OSX || !NET8_0.
#4437 (comment)
I'm still trying to understand why.
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.
What error did you see if we don't make the change? @Yun-Ting
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.
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.
These seem to be flaky tests or transient error, which are not specific to TFMs.
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.
I merged this PR but please continue to look into this. I'm worried that we might have stumbled onto a .NET 8 bug and if so we should report it back to the team ASAP!
Towards #4437
Related to #4868
Changes
Upgraded the build/CI to use the .NET 8 SDK.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes