Skip to content

Conversation

martincostello
Copy link
Member

Changes

Ensure that .NET 8 is installed on the runner. The workflows currently assume it is installed, which causes failures on ARM64 runners where it is not installed by default.

Found in open-telemetry/opentelemetry-dotnet-contrib#2832 and also #6307.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, nullable enabled, static analysis, etc.)
  • Unit tests added/updated
  • Appropriate CHANGELOG.md files updated for non-trivial changes
  • Changes in public API reviewed (if applicable)

Ensure that .NET 8 is installed on the runner. The workflows currently assume it is installed, which causes failures on ARM64 runners where it is not installed by default.
@github-actions github-actions bot added the infra Infra work - CI/CD, code coverage, linters label Jun 10, 2025
Copy link

codecov bot commented Jun 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.69%. Comparing base (1f9fa9f) to head (b07d3df).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6313      +/-   ##
==========================================
- Coverage   86.72%   86.69%   -0.03%     
==========================================
  Files         258      258              
  Lines       11879    11879              
==========================================
- Hits        10302    10299       -3     
- Misses       1577     1580       +3     
Flag Coverage Δ
unittests-Project-Experimental 86.62% <ø> (+0.02%) ⬆️
unittests-Project-Stable 86.68% <ø> (+0.12%) ⬆️
unittests-Solution 86.62% <ø> (+0.19%) ⬆️
unittests-UnstableCoreLibraries-Experimental 85.87% <ø> (+0.09%) ⬆️

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

see 2 files with indirect coverage changes

@martincostello martincostello marked this pull request as ready for review June 10, 2025 12:48
@Copilot Copilot AI review requested due to automatic review settings June 10, 2025 12:48
@martincostello martincostello requested a review from a team as a code owner June 10, 2025 12:48
Copy link

@Copilot Copilot AI left a 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 ensures that .NET 8 is installed on the GitHub runner to prevent failures on ARM64 runners.

  • Adds a dedicated step to install .NET 8.0.x using actions/setup-dotnet
  • Retains an existing step for setting up other .NET runtimes
Comments suppressed due to low confidence (1)

.github/workflows/Component.BuildTest.yml:56

  • The step name 'Setup previous .NET runtimes' is ambiguous given that it installs .NET 8.0.x. Consider renaming it to 'Setup .NET 8' for clarity.
-    - name: Setup previous .NET runtimes

@alanwest alanwest merged commit 3f86f47 into open-telemetry:main Jun 11, 2025
49 checks passed
@martincostello martincostello deleted the ensure-dotnet-8-installed branch June 12, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Infra work - CI/CD, code coverage, linters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants