Skip to content

Conversation

@gimlichael
Copy link
Member

@gimlichael gimlichael commented Jul 10, 2025

This pull request includes updates to dependencies, workflows, and Docker configurations to ensure compatibility and improve maintainability. The key changes involve upgrading package versions, updating Dockerfile configurations, and modifying CI/CD workflows.

Dependency Updates:

  • Updated dependencies across multiple .nuget release notes files to version 9.0.5, highlighting compatibility with .NET 9 and .NET 8, and upgraded dependencies for supported target frameworks. (PackageReleaseNotes.txt files: [1] [2] [3] [4]
  • Incremented package versions in Directory.Packages.props for Codebelt.Extensions.Xunit, Cuemon libraries, and Microsoft.AspNetCore.Mvc.NewtonsoftJson. (Directory.Packages.props: [1] [2]

Workflow Updates:

  • Updated references in .github/workflows/pipelines.yml to use version v2 of SonarCloud and CodeQL workflows for improved CI/CD integration. (pipelines.yml: [1] [2]

Docker Configuration Updates:

  • Modified .docfx/Dockerfile.docfx to use a dynamic NGINX_VERSION argument for better flexibility and maintainability. (Dockerfile.docfx: [1] [2]
  • Updated testenvironments.json to use a newer Docker image version for the Ubuntu test runner. (testenvironments.json: testenvironments.jsonL12-R12)

Changelog Update:

  • Added a new entry for version 9.0.5 in CHANGELOG.md, summarizing the service update focused on package dependencies. (CHANGELOG.md: CHANGELOG.mdR10-R13)

Summary by CodeRabbit

  • Chores
    • Updated package dependencies to the latest compatible versions across all supported frameworks.
    • Upgraded Docker image and workflow configurations for improved compatibility and maintainability.
    • Refreshed test environment Docker image tags.
    • Updated package release notes and changelog to reflect new version 9.0.5 and dependency updates.

@gimlichael gimlichael self-assigned this Jul 10, 2025
@coderabbitai
Copy link

coderabbitai bot commented Jul 10, 2025

Walkthrough

This update increments dependency versions across multiple package management files, updates Dockerfile build configuration to use a dynamic NGINX version argument, revises CI/CD workflow action versions, and refreshes release notes and changelogs for several packages. Test environment Docker image tags are also updated.

Changes

File(s) Change Summary
.docfx/Dockerfile.docfx Added NGINX_VERSION build argument; FROM directives now use this argument for dynamic versioning.
.github/workflows/pipelines.yml Updated reusable workflow versions for sonarcloud and codeql jobs from v1 to v2.
Directory.Packages.props Incremented versions for Codebelt.Extensions.Xunit, Cuemon packages, and Microsoft.AspNetCore.Mvc.NewtonsoftJson.
testenvironments.json Updated Docker image tag for "Docker-Ubuntu" test environment.
.nuget/Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt
.nuget/Codebelt.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt
.nuget/Codebelt.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt
.nuget/Codebelt.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt
Added 9.0.5 release notes entries specifying .NET 9/8 support and dependency upgrades.
CHANGELOG.md Added entry for version 9.0.5 noting service update and dependency focus.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant Docker Build
    participant NGINX Image Registry

    Developer->>Docker Build: Build Docker image with NGINX_VERSION arg
    Docker Build->>NGINX Image Registry: Pull nginx:${NGINX_VERSION}-alpine
    NGINX Image Registry-->>Docker Build: Return nginx image
    Docker Build-->>Developer: Build completes with specified nginx version
Loading

Possibly related PRs

Poem

Hopping through the fields of code,
Dependencies fresh, our tails in a node.
NGINX now dances to an argument’s song,
Workflows updated, they bounce along.
With Docker and notes all spick and span,
We rabbits rejoice—update when you can!
🐇✨


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 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.
    • Explain this complex logic.
    • 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 explain this code block.
    • @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 explain its main purpose.
    • @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.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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 generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this 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

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
.docfx/Dockerfile.docfx (2)

1-4: Nice parameterisation – small tweak keeps multi-stage builds consistent

Introducing ARG NGINX_VERSION is great. For clarity and cache-friendliness, add a second ARG NGINX_VERSION just before the final FROM so the value is visible in that stage’s build context:

+ARG NGINX_VERSION
 FROM nginx:${NGINX_VERSION} AS final

Docker will still reuse the global arg, but redeclaring is a common pattern and avoids “unused ARG” lint warnings.


13-13: Preserve explicit architecture targeting in the final stage

The base stage keeps --platform=$BUILDPLATFORM, but the final stage drops a platform hint. If you rely on multi-arch images (e.g., arm64 runners), consider mirroring the option:

-FROM nginx:${NGINX_VERSION} AS final
+FROM --platform=$TARGETPLATFORM nginx:${NGINX_VERSION} AS final

This ensures the produced image matches the requested target platform during cross-compilation.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 157c10c and a5cc3f6.

📒 Files selected for processing (9)
  • .docfx/Dockerfile.docfx (2 hunks)
  • .github/workflows/pipelines.yml (2 hunks)
  • .nuget/Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Codebelt.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Codebelt.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Codebelt.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt (1 hunks)
  • CHANGELOG.md (1 hunks)
  • Directory.Packages.props (2 hunks)
  • testenvironments.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: call-test (ubuntu-24.04, Release) / 🧪 Test
  • GitHub Check: call-test (windows-2022, Debug) / 🧪 Test
  • GitHub Check: call-test (ubuntu-24.04, Debug) / 🧪 Test
  • GitHub Check: call-test (windows-2022, Release) / 🧪 Test
  • GitHub Check: call-pack (Release) / 📦 Pack
  • GitHub Check: call-pack (Debug) / 📦 Pack
🔇 Additional comments (8)
testenvironments.json (1)

12-12: Verify that the new test-runner image tag exists and is publicly available

The tag was bumped to net8.0.412-9.0.302. Please confirm the image has been pushed to Docker Hub/GAR; otherwise the CI matrix will fail when it tries to pull the runner.

.github/workflows/pipelines.yml (1)

67-67: Good to track latest reusable workflows – double-check breaking-change notes

Jumping from v1 to v2 for both SonarCloud and CodeQL is usually safe, but these major bumps occasionally deprecate inputs/outputs. Scan the release notes to confirm that:
• output names consumed downstream (needs.*.outputs.*) are unchanged
• new permission requirements are satisfied.

No action required if nothing changed.

Also applies to: 85-85

CHANGELOG.md (1)

10-13: Changelog entry looks good

Entry is concise and follows the existing style.

.nuget/Codebelt.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt (1)

1-6: Release notes updated correctly

Version header and dependency note align with the changelog.

.nuget/Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt (1)

1-6: Release-notes entry is clear and consistent
The new 9.0.5 section follows the established format and accurately communicates the dependency-upgrade scope. No further action required.

.nuget/Codebelt.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt (1)

1-6: Changelog addition looks correct
Version header, availability statement, and ALM note match the conventions used in prior entries.

.nuget/Codebelt.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt (1)

1-6: Entry aligns with related packages
The 9.0.5 notice keeps wording and formatting in sync with sibling packages. No issues spotted.

Directory.Packages.props (1)

27-31: Cross-TFM consistency check for ASP.NET Core NewtonsoftJson
You raised Microsoft.AspNetCore.Mvc.NewtonsoftJson to 9.0.7 for net9 and 8.0.18 for net8. Double-check that:

  1. No net7 or earlier targets still reference the older line.
  2. The chosen patch releases are the latest available hotfixes for each TFM at publish time.

Comment on lines +6 to +15
<PackageVersion Include="Codebelt.Extensions.Xunit" Version="10.0.4" />
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.4" />
<PackageVersion Include="Cuemon.AspNetCore.Mvc" Version="9.0.7" />
<PackageVersion Include="Cuemon.Core" Version="9.0.7" />
<PackageVersion Include="Cuemon.Extensions.AspNetCore" Version="9.0.7" />
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Authentication" Version="9.0.7" />
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc" Version="9.0.7" />
<PackageVersion Include="Cuemon.Extensions.Core" Version="9.0.7" />
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.7" />
<PackageVersion Include="Cuemon.IO" Version="9.0.7" />
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Confirm NuGet availability of the bumped versions
All Codebelt and Cuemon packages were lifted to new patch versions. NuGet publishing sometimes lags the PR merge, so it’s worth validating that every referenced version is already on nuget.org to avoid CI/restore failures.


🏁 Script executed:

#!/usr/bin/env bash
# Validate that every newly-bumped package@version actually exists on NuGet

pkgs=(
  "Codebelt.Extensions.Xunit:10.0.4"
  "Codebelt.Extensions.Xunit.App:10.0.4"
  "Cuemon.AspNetCore.Mvc:9.0.7"
  "Cuemon.Core:9.0.7"
  "Cuemon.Extensions.AspNetCore:9.0.7"
  "Cuemon.Extensions.AspNetCore.Authentication:9.0.7"
  "Cuemon.Extensions.AspNetCore.Mvc:9.0.7"
  "Cuemon.Extensions.Core:9.0.7"
  "Cuemon.Extensions.IO:9.0.7"
  "Cuemon.IO:9.0.7"
)

for pv in "${pkgs[@]}"; do
  IFS=: read -r name ver <<<"$pv"
  url="https://api.nuget.org/v3-flatcontainer/$(echo "$name" | tr '[:upper:]' '[:lower:]')/${ver}/$name.nuspec"
  code=$(curl -s -o /dev/null -w "%{http_code}" "$url")
  [[ "$code" == "200" ]] && echo "$name $ver found" || echo "$name $ver NOT FOUND"
done

Length of output: 5318


🚨 Bumped package versions not yet published on NuGet
The following packages referenced in Directory.Packages.props (lines 6–15) returned HTTP 404 from nuget.org. They must be published before merging to prevent CI/restore failures:

  • Codebelt.Extensions.Xunit 10.0.4
  • Codebelt.Extensions.Xunit.App 10.0.4
  • Cuemon.AspNetCore.Mvc 9.0.7
  • Cuemon.Core 9.0.7
  • Cuemon.Extensions.AspNetCore 9.0.7
  • Cuemon.Extensions.AspNetCore.Authentication 9.0.7
  • Cuemon.Extensions.AspNetCore.Mvc 9.0.7
  • Cuemon.Extensions.Core 9.0.7
  • Cuemon.Extensions.IO 9.0.7
  • Cuemon.IO 9.0.7

Please publish these versions to nuget.org (or adjust to existing versions) before merging.

🤖 Prompt for AI Agents
In Directory.Packages.props between lines 6 and 15, the package versions
specified are not yet published on nuget.org, causing HTTP 404 errors during
restore. To fix this, either publish these package versions to nuget.org before
merging or update the version numbers in this file to reference existing
published versions to ensure successful package restore.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 10, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
2 Accepted issues

Measures
2 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@gimlichael gimlichael merged commit f5828c5 into main Jul 10, 2025
15 checks passed
@gimlichael gimlichael deleted the v9.0.5/service-update branch July 10, 2025 23:01
@coderabbitai coderabbitai bot mentioned this pull request Aug 19, 2025
@coderabbitai coderabbitai bot mentioned this pull request Sep 15, 2025
@coderabbitai coderabbitai bot mentioned this pull request Nov 12, 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