Skip to content

Conversation

@gimlichael
Copy link
Member

This pull request introduces support for NATS integration, upgrades dependencies across multiple packages, and updates documentation and CI/CD pipelines accordingly. The main highlights are the addition of NATS-related projects, improved pipeline coverage for NATS integration tests, and the bump of several dependencies to their latest compatible versions.

NATS Integration Support:

  • Added Savvyio.Extensions.DependencyInjection.NATS and Savvyio.Extensions.NATS to project references in .docfx/docfx.json and listed them in multiple README files for documentation and discoverability. [1] [2] [3] [4] [5] [6] [7]
  • Introduced a new integration test job for NATS in the GitHub Actions workflow to ensure NATS functionality is properly tested in CI.

Dependency and Release Management:

  • Updated release notes for multiple packages (Savvyio.App, Savvyio.Commands.Messaging, Savvyio.Commands, Savvyio.Core, Savvyio.Domain.EventSourcing, Savvyio.Domain, Savvyio.EventDriven.Messaging) to version 4.2.0, indicating upgrades to the latest compatible dependencies for all supported TFMs. [1] [2] [3] [4] [5] [6] [7]

CI/CD Pipeline Enhancements:

  • Updated the GitHub Actions workflow to require the new NATS integration test job for SonarCloud, Codecov, CodeQL, and deployment steps, ensuring full pipeline coverage for the new integration.

Docker and Build Improvements:

  • Updated the NGINX base image version in .docfx/Dockerfile.docfx to 1.29.0-alpine and parameterized the version for flexibility. [1] [2]

These changes collectively improve the project's messaging capabilities, keep dependencies up-to-date, and enhance the reliability and maintainability of the build and deployment process.

@gimlichael gimlichael requested a review from Copilot August 25, 2025 21:29
@gimlichael gimlichael self-assigned this Aug 25, 2025
@coderabbitai
Copy link

coderabbitai bot commented Aug 25, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Warning

Rate limit exceeded

@gimlichael has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 13 minutes and 34 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 59dcde9 and ed686c2.

⛔ Files ignored due to path filters (2)
  • .nuget/Savvyio.Extensions.DependencyInjection.NATS/icon.png is excluded by !**/*.png
  • .nuget/Savvyio.Extensions.NATS/icon.png is excluded by !**/*.png
📒 Files selected for processing (107)
  • .docfx/Dockerfile.docfx (2 hunks)
  • .docfx/docfx.json (1 hunks)
  • .github/workflows/pipelines.yml (3 hunks)
  • .nuget/Savvyio.App/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.App/README.md (1 hunks)
  • .nuget/Savvyio.Commands.Messaging/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Commands.Messaging/README.md (1 hunks)
  • .nuget/Savvyio.Commands/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Commands/README.md (1 hunks)
  • .nuget/Savvyio.Core/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Core/README.md (1 hunks)
  • .nuget/Savvyio.Domain.EventSourcing/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Domain.EventSourcing/README.md (1 hunks)
  • .nuget/Savvyio.Domain/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Domain/README.md (1 hunks)
  • .nuget/Savvyio.EventDriven.Messaging/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.EventDriven.Messaging/README.md (1 hunks)
  • .nuget/Savvyio.EventDriven/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.EventDriven/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.Dapper/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.Dapper/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DapperExtensions/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DapperExtensions/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.Dapper/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.Dapper/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.DapperExtensions/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.DapperExtensions/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.Domain/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.Domain/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.EFCore.Domain.EventSourcing/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.EFCore.Domain.EventSourcing/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.EFCore.Domain/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.EFCore.Domain/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.EFCore/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.EFCore/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.NATS/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.NATS/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.QueueStorage/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.QueueStorage/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.RabbitMQ/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.RabbitMQ/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.SimpleQueueService/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection.SimpleQueueService/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.DependencyInjection/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.Dispatchers/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.Dispatchers/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.EFCore.Domain.EventSourcing/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.EFCore.Domain.EventSourcing/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.EFCore.Domain/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.EFCore.Domain/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.EFCore/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.EFCore/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.NATS/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.NATS/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.Newtonsoft.Json/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.QueueStorage/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.QueueStorage/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.RabbitMQ/PackageReleaseNotes.txt (2 hunks)
  • .nuget/Savvyio.Extensions.RabbitMQ/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.SimpleQueueService/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.SimpleQueueService/README.md (1 hunks)
  • .nuget/Savvyio.Extensions.Text.Json/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Extensions.Text.Json/README.md (1 hunks)
  • .nuget/Savvyio.Messaging/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Messaging/README.md (1 hunks)
  • .nuget/Savvyio.Queries/PackageReleaseNotes.txt (1 hunks)
  • .nuget/Savvyio.Queries/README.md (1 hunks)
  • CHANGELOG.md (1 hunks)
  • Directory.Packages.props (1 hunks)
  • README.md (2 hunks)
  • Savvyio.sln (3 hunks)
  • src/Savvyio.App/Savvyio.App.csproj (2 hunks)
  • src/Savvyio.Extensions.DependencyInjection.NATS/Commands/NatsCommandQueue.cs (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection.NATS/Commands/NatsCommandQueueOptions.cs (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection.NATS/EventDriven/NatsEventBus.cs (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection.NATS/EventDriven/NatsEventBusOptions.cs (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection.NATS/Savvyio.Extensions.DependencyInjection.NATS.csproj (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection.NATS/ServiceCollectionExtensions.cs (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection.RabbitMQ/EventDriven/RabbitMqEventBus.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/Commands/NatsCommandQueue.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/Commands/NatsCommandQueueOptions.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/EventDriven/NatsEventBus.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/EventDriven/NatsEventBusOptions.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/GlobalSuppressions.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/NatsMessage.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/NatsMessageOptions.cs (1 hunks)
  • src/Savvyio.Extensions.NATS/Savvyio.Extensions.NATS.csproj (1 hunks)
  • src/Savvyio.Extensions.RabbitMQ/Commands/RabbitMqCommandQueue.cs (1 hunks)
  • src/Savvyio.Extensions.RabbitMQ/Commands/RabbitMqCommandQueueOptions.cs (1 hunks)
  • src/Savvyio.Extensions.RabbitMQ/RabbitMqMessage.cs (1 hunks)
  • test/Savvyio.Extensions.DependencyInjection.NATS.Tests/Assets/BusMarker.cs (1 hunks)
  • test/Savvyio.Extensions.DependencyInjection.NATS.Tests/Assets/QueueMarker.cs (1 hunks)
  • test/Savvyio.Extensions.DependencyInjection.NATS.Tests/Savvyio.Extensions.DependencyInjection.NATS.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.DependencyInjection.NATS.Tests/ServiceCollectionExtensionsTest.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.FunctionalTests/Assets/CreateMemberCommand.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.FunctionalTests/Assets/MemberCreated.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.FunctionalTests/Commands/NatsCommandQueueJsonSerializerContextTest.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.FunctionalTests/Commands/NatsCommandQueueNewtonsoftJsonSerializerContextTest.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.FunctionalTests/EventDriven/NatsEventBusJsonSerializerContextTest.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.FunctionalTests/EventDriven/NatsEventBusNewtonsoftJsonSerializerContextTest.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.FunctionalTests/Savvyio.Extensions.NATS.FunctionalTests.csproj (1 hunks)
  • test/Savvyio.Extensions.NATS.Tests/Commands/NatsCommandQueueOptionsTest.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.Tests/NatsMessageOptionsTest.cs (1 hunks)
  • test/Savvyio.Extensions.NATS.Tests/Savvyio.Extensions.NATS.Tests.csproj (1 hunks)
  • testenvironments.json (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch v4.2.0/support-for-nats

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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

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

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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

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

This pull request introduces comprehensive NATS integration support for the Savvy I/O framework, adding both NATS Work-Queue Stream (for commands) and NATS Core Publish-Subscribe (for integration events) capabilities. The PR also includes dependency updates across the entire project and improvements to CI/CD infrastructure.

  • Added new NATS extension packages with full command queue and event bus implementations
  • Updated all package dependencies to their latest compatible versions for supported target frameworks
  • Enhanced CI/CD pipeline with NATS integration testing support

Reviewed Changes

Copilot reviewed 107 out of 109 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/Savvyio.Extensions.NATS/* Core NATS integration package with base classes, command queue, and event bus implementations
src/Savvyio.Extensions.DependencyInjection.NATS/* Dependency injection extensions for NATS with generic marker support
test/Savvyio.Extensions.NATS.*Tests/* Comprehensive unit and functional tests for NATS functionality
Directory.Packages.props Package dependency updates across all supported target frameworks
.nuget/*/ Updated documentation and release notes for all packages to version 4.2.0

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codecov
Copy link

codecov bot commented Aug 25, 2025

Codecov Report

❌ Patch coverage is 57.51634% with 65 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.81%. Comparing base (59dcde9) to head (ed686c2).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...vvyio.Extensions.NATS/Commands/NatsCommandQueue.cs 16.98% 44 Missing ⚠️
...avvyio.Extensions.NATS/EventDriven/NatsEventBus.cs 26.08% 17 Missing ⚠️
src/Savvyio.Extensions.NATS/NatsMessage.cs 66.66% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   75.59%   74.81%   -0.79%     
==========================================
  Files         167      175       +8     
  Lines        3483     3633     +150     
  Branches      348      360      +12     
==========================================
+ Hits         2633     2718      +85     
- Misses        848      913      +65     
  Partials        2        2              

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
27 Security Hotspots
52.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@gimlichael gimlichael merged commit 1f70381 into main Aug 25, 2025
387 of 392 checks passed
@gimlichael gimlichael deleted the v4.2.0/support-for-nats branch August 25, 2025 22:32
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