Skip to content

V9.0.2/package maintenance #10

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

Merged
merged 7 commits into from
Apr 16, 2025
Merged

V9.0.2/package maintenance #10

merged 7 commits into from
Apr 16, 2025

Conversation

gimlichael
Copy link
Member

@gimlichael gimlichael commented Apr 3, 2025

This pull request includes several updates to package references, test configurations, and environment settings. The main changes involve updating package versions, modifying test configurations, and updating environment configurations.

Package Updates:

  • Updated xunit.runner.visualstudio package reference to include PrivateAssets and IncludeAssets attributes in Directory.Build.props.
  • Updated versions for several packages in Directory.Packages.props, including Codebelt.Extensions.Xunit.App, Cuemon.AspNetCore, Cuemon.Extensions.AspNetCore.Mvc, and Microsoft.NET.Test.Sdk.

Test Configuration Changes:

Environment Configuration Updates:

  • Updated the wslDistribution to Ubuntu-24.04 and the dockerImage to gimlichael/ubuntu-testrunner:net8.0.407-9.0.202 in testenvironments.json.

Summary by CodeRabbit

  • Chores
    • Refined dependency configurations and updated package versions to improve compatibility and asset management.
    • Upgraded development environment settings to support newer system platforms.
    • Enhanced CI/CD workflows by upgrading runner environments and consolidating job steps into reusable workflows with updated permissions.
  • Tests
    • Adjusted test initialization parameters to enhance stability and execution accuracy.

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

coderabbitai bot commented Apr 3, 2025

Walkthrough

This pull request modifies project files by updating package references and versions, alters test method invocations to include an additional parameter for host configuration, and adjusts environment settings. The Directory.Build.props now defines xunit.runner.visualstudio with new attributes, while Directory.Packages.props upgrades several package versions. Changes in test files add hostFixture: null to the invocation of WebHostTestFactory.Create. The testing environments configuration in testenvironments.json is updated with newer Ubuntu and Docker image versions. The GitHub Actions workflow is refactored to use reusable workflows, upgrade runners to Ubuntu 24.04, and adjust permissions. Release notes and changelog are updated for version 9.0.2.

Changes

File(s) Summary
Directory.Build.props Reworked the xunit.runner.visualstudio PackageReference by expanding it into a multi-line format and adding <PrivateAssets>all</PrivateAssets> and <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>.
Directory.Packages.props Updated package versions for:
- Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml: 9.0.1 → 9.0.2
- Codebelt.Extensions.Xunit.App: 9.0.1 → 10.0.0
- Cuemon.AspNetCore: 9.0.1 → 9.0.4
- Cuemon.Extensions.AspNetCore.Mvc (and related formatters): 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
test/Codebelt.Extensions.Asp.Versioning.Tests/ApiVersionReaderTest.cs and .../ProblemDetailsFactoryTest.cs Modified test methods by adding hostFixture: null as a named argument in calls to WebHostTestFactory.Create. No logic or assertions changed.
testenvironments.json Updated environment configurations:
- "WSL-Ubuntu": wslDistribution changed from "Ubuntu-22.04" to "Ubuntu-24.04".
- "Docker-Ubuntu": dockerImage updated from "gimlichael/ubuntu-testrunner:net8.0.405-9.0.102" to "gimlichael/ubuntu-testrunner:net8.0.408-9.0.203".
.github/workflows/pipelines.yml Refactored jobs to use reusable workflow calls for sonarcloud, codecov, codeql, and deploy; upgraded Ubuntu runners from 22.04 to 24.04; added repository-level read permission for contents; adjusted job permissions; renamed jobs to call-* style.
.nuget/Codebelt.Extensions.Asp.Versioning/PackageReleaseNotes.txt and CHANGELOG.md Added new version 9.0.2 release notes and changelog entry indicating updated dependencies targeting .NET 9 and .NET 8.

Sequence Diagram(s)

sequenceDiagram
    participant TestMethod as Test Method
    participant WebHost as WebHostTestFactory
    TestMethod->>WebHost: Call Create(..., hostFixture: null)
    WebHost-->>TestMethod: Return configured test host
Loading

Poem

Hoppity-hop, a change unveiled,
In props and tests our code sailed.
Attributes and versions finely tuned,
With hostFixture: null joyfully imbued.
Environments march to Ubuntu's new beat,
Workflows streamlined, runners upbeat.
A rabbit's cheer in every line we meet! 🐇✨


📜 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 f4c788b and 4f3146d.

📒 Files selected for processing (1)
  • .github/workflows/pipelines.yml (4 hunks)

Note

🎁 Summarized by CodeRabbit Free

Your organization has reached its limit of developer seats under the Pro Plan. For new users, CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please add seats to your subscription by visiting https://app.coderabbit.ai/login.If you believe this is a mistake and have available seats, please assign one to the pull request author through the subscription management page using the link above.

🪧 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.

Copy link

codecov bot commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.69%. Comparing base (3f74edf) to head (d512569).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   89.69%   89.69%           
=======================================
  Files           4        4           
  Lines          97       97           
  Branches        9        9           
=======================================
  Hits           87       87           
  Misses         10       10           

☔ 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.

Copy link

@gimlichael gimlichael merged commit 711464c into main Apr 16, 2025
19 checks passed
@gimlichael gimlichael deleted the v9.0.2/package-maintenance branch April 16, 2025 13:04
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.

1 participant