Skip to content

V10.0.4/ci automation#22

Merged
gimlichael merged 2 commits intomainfrom
v10.0.4/ci-automation
Feb 28, 2026
Merged

V10.0.4/ci automation#22
gimlichael merged 2 commits intomainfrom
v10.0.4/ci-automation

Conversation

@gimlichael
Copy link
Copy Markdown
Member

This pull request enhances the .github/scripts/bump-nuget.py script to improve how Codebelt-related NuGet package versions are updated. Now, the script not only bumps packages from the triggering source repository to a specified version but also fetches and updates all other Codebelt-related packages to their latest stable versions from NuGet. Additionally, some new Codebelt packages are recognized, and there is a minor dependency update in Directory.Packages.props.

Key changes:

Script enhancements and logic changes:

  • The script now updates all Codebelt-related packages: triggered source packages are set to the specified version, while other Codebelt packages are updated to their latest stable version from NuGet. Third-party packages remain unchanged. [1] [2] [3] [4]
  • Added helper functions is_codebelt_package and get_latest_nuget_version to identify Codebelt packages and fetch their latest versions from NuGet, with caching for efficiency.

Package mapping updates:

  • Expanded the SOURCE_PACKAGE_MAP to include new Codebelt packages, such as Codebelt.Extensions.Carter, Codebelt.Extensions.AspNetCore.Newtonsoft.Json, Codebelt.Extensions.AspNetCore.Text.Yaml, and Codebelt.SharedKernel.

Dependency update:

  • Updated Microsoft.NET.Test.Sdk to version 18.3.0 in Directory.Packages.props.

@gimlichael gimlichael self-assigned this Feb 28, 2026
Copilot AI review requested due to automatic review settings February 28, 2026 03:43
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 28, 2026

Warning

Rate limit exceeded

@gimlichael has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 10 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between d73a919 and c49f0f0.

📒 Files selected for processing (2)
  • .github/scripts/bump-nuget.py
  • Directory.Packages.props
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch v10.0.4/ci-automation

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.45%. Comparing base (d73a919) to head (c49f0f0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   95.45%   95.45%           
=======================================
  Files          11       11           
  Lines         198      198           
  Branches       10       10           
=======================================
  Hits          189      189           
  Misses          9        9           

☔ 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
Copy Markdown

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

Enhances the CI automation for service updates by improving the NuGet bump script to update the triggered repo’s packages to a specified version while refreshing other Codebelt-related packages to their latest stable NuGet versions.

Changes:

  • Extend .github/scripts/bump-nuget.py to (1) set triggered-source packages to TRIGGER_VERSION and (2) fetch latest stable NuGet versions for other Codebelt-related packages.
  • Expand SOURCE_PACKAGE_MAP to recognize additional Codebelt packages.
  • Update Microsoft.NET.Test.Sdk package version in central package management.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/scripts/bump-nuget.py Adds Codebelt package detection + NuGet-latest lookup to broaden automated dependency bumping behavior.
Directory.Packages.props Updates a centrally-managed dependency version.

Comment on lines 99 to 113
@@ -70,7 +109,7 @@ def main():
target_version = TRIGGER_VERSION.lstrip("v")

print(f"Trigger: {TRIGGER_SOURCE} @ {target_version}")
print(f"Only updating packages from: {TRIGGER_SOURCE}")
print(f"Triggered packages set to {target_version}; other Codebelt packages fetched from NuGet.")
print()
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

TRIGGER_SOURCE is only checked for being non-empty; if it’s an unsupported value (not a key in SOURCE_PACKAGE_MAP), the script will silently treat all packages as “non-triggered” and only apply NuGet-latest updates, which can produce an unintended bump while still printing a “Trigger:” banner. Consider validating TRIGGER_SOURCE against SOURCE_PACKAGE_MAP early and exiting with a clear error (or at least warning and skipping triggered-source logic).

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link
Copy Markdown

@gimlichael gimlichael merged commit 21b3188 into main Feb 28, 2026
27 checks passed
@gimlichael gimlichael deleted the v10.0.4/ci-automation branch February 28, 2026 12:08
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