Skip to content

Conversation

@gimlichael
Copy link
Member

@gimlichael gimlichael commented Apr 3, 2025

This pull request includes updates to package references and test environments. The most important changes include modifications to Directory.Build.props, Directory.Packages.props, and testenvironments.json.

Package Reference Updates:

  • Directory.Build.props: The xunit.runner.visualstudio package reference now includes PrivateAssets and IncludeAssets attributes to control asset flow.
  • Directory.Packages.props: Updated versions for several packages, including Codebelt.Extensions.Xunit.App, Cuemon.Core, Microsoft.NET.Test.Sdk, and xunit.runner.visualstudio.

Test Environment Updates:

  • testenvironments.json: Updated the WSL distribution to Ubuntu-24.04 and the Docker image to gimlichael/ubuntu-testrunner:net8.0.407-9.0.202.

Summary by CodeRabbit

  • Chores
    • Updated several internal package versions and refined dependency configurations for improved build asset management.
    • Upgraded CI/CD workflows to use newer runner environments and reusable workflow templates, enhancing build efficiency and security.
  • Tests
    • Enhanced testing environment settings with an updated Linux distribution and Docker image, ensuring optimized test performance and compatibility.

@gimlichael gimlichael self-assigned this Apr 3, 2025
@coderabbitai
Copy link

coderabbitai bot commented Apr 3, 2025

## Walkthrough
The changes update project configuration and testing environments. In the MSBuild property files, the `xunit.runner.visualstudio` package reference in `Directory.Build.props` is enhanced with additional child elements to control asset inclusion, and several package versions in `Directory.Packages.props` have been incremented. Additionally, the testing environments configuration in `testenvironments.json` has been updated with a new WSL distribution version and an updated Docker image tag. The GitHub Actions workflow `.github/workflows/pipelines.yml` was refactored to use reusable workflow calls, upgraded runner environments to `ubuntu-24.04`, added scoped permissions, and renamed the deploy job to `call-nuget`. Release notes and changelog were also updated for version 9.0.2.

## Changes
| File(s)                                | Change Summary                                                                                                                                                                                                                                                                                                                                                                  |
|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Directory.Build.props                  | Modified `<PackageReference>` for `xunit.runner.visualstudio` to include `<PrivateAssets>all</PrivateAssets>` and `<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>`.                                                                                                                                                               |
| Directory.Packages.props               | Updated package versions: `Codebelt.Extensions.Xunit.App` 9.0.1 → 10.0.0, `Cuemon.Core` 9.0.1 → 9.0.4, `Microsoft.NET.Test.Sdk` 17.12.0 → 17.13.0, `xunit.runner.visualstudio` 3.0.1 → 3.0.2.                                                                                                                                                                                    |
| testenvironments.json                  | Updated test environments: `"wslDistribution"` for "WSL-Ubuntu" from `"Ubuntu-22.04"` to `"Ubuntu-24.04"`, and `"dockerImage"` for "Docker-Ubuntu" from `"gimlichael/ubuntu-testrunner:net8.0.405-9.0.102"` to `"gimlichael/ubuntu-testrunner:net8.0.408-9.0.203"`.                                                                                                              |
| .github/workflows/pipelines.yml       | Upgraded runner OS from `ubuntu-22.04` to `ubuntu-24.04` in `build`, `pack`, and `test` jobs; replaced explicit steps in `sonarcloud`, `codecov`, `codeql`, and `deploy` (renamed `call-nuget`) jobs with reusable workflow calls; added scoped permissions and inputs; added top-level `permissions: contents: read`.                                                                 |
| .nuget/Codebelt.Unitify/PackageReleaseNotes.txt | Added release notes for version 9.0.2 indicating updated dependencies targeting .NET 9 and .NET 8.                                                                                                                                                                                                                                                                            |
| CHANGELOG.md                          | Added new changelog entry for version 9.0.2 dated 2025-04-16 describing the update as a service release focusing on package dependencies.                                                                                                                                                                                                                                     |

## Poem
> In a burrow of code where the changes delight,  
> I hop through configs from morning to night.  
> Package versions and assets, all set anew,  
> Docker images and WSL, fresh as the dew.  
> With a flick of my tail and a joyful cheer,  
> I celebrate updates—oh, what a brilliant year!  
> 🐇✨

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Free

📥 Commits

Reviewing files that changed from the base of the PR and between 37890d2 and e17fadf.

📒 Files selected for processing (6)
  • .github/workflows/pipelines.yml (4 hunks)
  • .nuget/Codebelt.Unitify/PackageReleaseNotes.txt (1 hunks)
  • CHANGELOG.md (1 hunks)
  • Directory.Build.props (1 hunks)
  • Directory.Packages.props (1 hunks)
  • testenvironments.json (1 hunks)

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@codecov
Copy link

codecov bot commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.33%. Comparing base (37890d2) to head (e17fadf).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   83.33%   83.33%           
=======================================
  Files          19       19           
  Lines         666      666           
  Branches       51       51           
=======================================
  Hits          555      555           
  Misses        110      110           
  Partials        1        1           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link

@gimlichael gimlichael merged commit 9abb8c6 into main Apr 16, 2025
19 checks passed
@gimlichael gimlichael deleted the v9.0.2/package-maintenance branch April 16, 2025 19:25
@coderabbitai coderabbitai bot mentioned this pull request Jun 16, 2025
@coderabbitai coderabbitai bot mentioned this pull request Aug 20, 2025
@coderabbitai coderabbitai bot mentioned this pull request Oct 20, 2025
@coderabbitai coderabbitai bot mentioned this pull request Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants