V10.0.4/ci automation#22
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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. 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
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.pyto (1) set triggered-source packages toTRIGGER_VERSIONand (2) fetch latest stable NuGet versions for other Codebelt-related packages. - Expand
SOURCE_PACKAGE_MAPto recognize additional Codebelt packages. - Update
Microsoft.NET.Test.Sdkpackage 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. |
| @@ -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() | |||
There was a problem hiding this comment.
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).
|



This pull request enhances the
.github/scripts/bump-nuget.pyscript 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 inDirectory.Packages.props.Key changes:
Script enhancements and logic changes:
is_codebelt_packageandget_latest_nuget_versionto identify Codebelt packages and fetch their latest versions from NuGet, with caching for efficiency.Package mapping updates:
SOURCE_PACKAGE_MAPto include new Codebelt packages, such asCodebelt.Extensions.Carter,Codebelt.Extensions.AspNetCore.Newtonsoft.Json,Codebelt.Extensions.AspNetCore.Text.Yaml, andCodebelt.SharedKernel.Dependency update:
Microsoft.NET.Test.Sdkto version18.3.0inDirectory.Packages.props.