Skip to content

V3.0.0/alm and marshaller#21

Merged
gimlichael merged 4 commits into
mainfrom
v3.0.0/alm-and-marshaller
Aug 4, 2024
Merged

V3.0.0/alm and marshaller#21
gimlichael merged 4 commits into
mainfrom
v3.0.0/alm-and-marshaller

Conversation

@gimlichael

@gimlichael gimlichael commented Aug 4, 2024

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Introduced a new method AddMarshaller<TService> for improved service registration in dependency injection.
  • Bug Fixes

    • Updated dependencies to newer versions, likely including bug fixes and performance improvements across multiple packages including xunit, Cuemon, and Microsoft.EntityFrameworkCore.
  • Chores

    • Removed unused package references and streamlined service configurations to enhance maintainability and clarity in the project structure.
    • Added a new configuration parameter level to the build pipeline for improved job execution control.

@coderabbitai

coderabbitai Bot commented Aug 4, 2024

Copy link
Copy Markdown

Walkthrough

The recent updates have focused on upgrading various package dependencies across multiple project files, ensuring the software remains current and functional. Key changes include enhancements to testing frameworks like xUnit and adjustments to dependencies related to Entity Framework Core and Cuemon libraries. Additionally, some services have been streamlined in their registration process, improving maintainability. Overall, these modifications aim to enhance performance, fix bugs, and align with best practices in dependency management.

Changes

Files/Paths Change Summary
Directory.Build.props, src/Savvyio.Core/Savvyio.Core.csproj, src/Savvyio.Extensions.DependencyInjection/Savvyio.Extensions.DependencyInjection.csproj, src/Savvyio.Extensions.EFCore.Domain.EventSourcing/Savvyio.Extensions.EFCore.Domain.EventSourcing.csproj, src/Savvyio.Extensions.EFCore.Domain/Savvyio.Extensions.EFCore.Domain.csproj, src/Savvyio.Extensions.EFCore/Savvyio.Extensions.EFCore.csproj, src/Savvyio.Extensions.Newtonsoft.Json/Savvyio.Extensions.Newtonsoft.Json.csproj, src/Savvyio.Extensions.SimpleQueueService/Savvyio.Extensions.SimpleQueueService.csproj, src/Savvyio.Extensions.Text.Json/Savvyio.Extensions.Text.Json.csproj, test/Savvyio.Assets.Dapper.Tests/Savvyio.Assets.Dapper.Tests.csproj, test/Savvyio.Assets.EfCore.Tests/Savvyio.Assets.EfCore.Tests.csproj, test/Savvyio.Assets.Tests/Savvyio.Assets.Tests.csproj, test/Savvyio.Commands.Tests/Savvyio.Commands.Tests.csproj, test/Savvyio.Core.Tests/Savvyio.Core.Tests.csproj, test/Savvyio.EventDriven.Tests/Savvyio.EventDriven.Tests.csproj, test/Savvyio.Extensions.Dapper.Tests/Savvyio.Extensions.Dapper.Tests.csproj, test/Savvyio.Extensions.DapperExtensions.Tests/Savvyio.Extensions.DapperExtensions.Tests.csproj, test/Savvyio.Extensions.DependencyInjection.Dapper.Tests/Savvyio.Extensions.DependencyInjection.Dapper.Tests.csproj, test/Savvyio.Extensions.DependencyInjection.DapperExtensions.Tests/Savvyio.Extensions.DependencyInjection.DapperExtensions.Tests.csproj, test/Savvyio.Extensions.DependencyInjection.EFCore.Tests/Savvyio.Extensions.DependencyInjection.EFCore.Tests.csproj Package versions updated for Cuemon and Entity Framework Core among others; includes removals and additions of references.
Directory.Build.targets Removed CoverletGetPathMap target, indicating a simplification of the build process.
src/Savvyio.Extensions.DependencyInjection/ServiceCollectionExtensions.cs Introduced AddMarshaller<TService> method for improved service registration in dependency injection.
test/Savvyio.Extensions.Newtonsoft.Json.Tests/Savvyio.Extensions.Newtonsoft.Json.Tests.csproj, test/Savvyio.Extensions.Text.Json.Tests/Savvyio.Extensions.Text.Json.Tests.csproj Removed Cuemon.Extensions.Newtonsoft.Json package reference; updated Cuemon.Extensions.IO version.
test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/EventDriven/AmazonEventBusNewtonsoftJsonSerializerContextTest.cs Simplified service configuration using AddMarshaller<NewtonsoftJsonMarshaller>().
.github/workflows/pipelines.yml Added a new job configuration parameter level set to normal, enhancing job configurability.

Sequence Diagram(s)

sequenceDiagram
    participant ServiceCollection
    participant Marshaller
    participant Application

    Application->>ServiceCollection: Request to register marshaller
    ServiceCollection->>Marshaller: AddMarshaller<NewtonsoftJsonMarshaller>()
    Marshaller-->>ServiceCollection: Configuration complete
    ServiceCollection-->>Application: Marshaller registered successfully
Loading

🐰 "In fields of code, where rabbits play,
We hop through updates, bright as day.
Versions renewed, like springtime's bloom,
Dependencies dance, dispelling gloom.
With marshallers added, oh what delight,
Our projects now shine, oh isn’t it bright? 🌼"


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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 as 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.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (7)
test/Savvyio.Extensions.DapperExtensions.Tests/Savvyio.Extensions.DapperExtensions.Tests.csproj (1)

The Microsoft.Data.Sqlite package is still in use.

The DapperExtensionsDataStoreTest.cs file relies on the Microsoft.Data.Sqlite package. Ensure that the removal of this package reference from the project file is intentional and that there are alternative solutions in place if necessary.

  • File: test/Savvyio.Extensions.DapperExtensions.Tests/DapperExtensionsDataStoreTest.cs
  • Line: 1 (using Microsoft.Data.Sqlite;)
Analysis chain

Line range hint 1-12:
Verify the impact of removing the Microsoft.Data.Sqlite package reference.

The removal of the Microsoft.Data.Sqlite package reference might impact tests relying on SQLite functionality. Ensure that the removal is intentional and that there are alternative solutions in place if necessary.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify if any test files rely on `Microsoft.Data.Sqlite` package.
# Test: Search for the usage of `Microsoft.Data.Sqlite` in the test files.

rg --type cs 'Microsoft.Data.Sqlite' test/Savvyio.Extensions.DapperExtensions.Tests/

Length of output: 193

src/Savvyio.Extensions.Text.Json/Savvyio.Extensions.Text.Json.csproj (1)

The Cuemon.Extensions.Reflection package is still being used in the codebase.

The following files still import Cuemon.Extensions.Reflection:

  • src/Savvyio.Extensions.Text.Json/Converters/SingleValueObjectConverter.cs
  • src/Savvyio.Extensions.Text.Json/Converters/RequestConverter.cs
  • src/Savvyio.Extensions.Text.Json/Converters/MessageConverter.cs

Removing the package reference would likely cause build errors. Please ensure that the removal is intentional and that all usages of Cuemon.Extensions.Reflection are either removed or replaced with alternative implementations.

Analysis chain

Line range hint 1-9:
Verify the impact of the package reference changes.

The update to the Cuemon.Extensions.Text.Json package version might include bug fixes or new features. The removal of the Cuemon.Extensions.Reflection package reference might indicate that its functionality is no longer needed. Ensure that the removal is intentional and that there are no breaking changes due to the update.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify if any files rely on the `Cuemon.Extensions.Reflection` package.
# Test: Search for the usage of `Cuemon.Extensions.Reflection` in the source files.

rg --type cs 'Cuemon.Extensions.Reflection' src/Savvyio.Extensions.Text.Json/

Length of output: 387


Script:

#!/bin/bash
# Description: Check the usage of `Cuemon.Extensions.Reflection` in the identified files to understand the context.

# Display lines around the usage of `Cuemon.Extensions.Reflection` in SingleValueObjectConverter.cs
rg --type cs -A 5 -B 5 'Cuemon.Extensions.Reflection' src/Savvyio.Extensions.Text.Json/Converters/SingleValueObjectConverter.cs

# Display lines around the usage of `Cuemon.Extensions.Reflection` in RequestConverter.cs
rg --type cs -A 5 -B 5 'Cuemon.Extensions.Reflection' src/Savvyio.Extensions.Text.Json/Converters/RequestConverter.cs

# Display lines around the usage of `Cuemon.Extensions.Reflection` in MessageConverter.cs
rg --type cs -A 5 -B 5 'Cuemon.Extensions.Reflection' src/Savvyio.Extensions.Text.Json/Converters/MessageConverter.cs

Length of output: 1306

test/Savvyio.Extensions.Text.Json.Tests/Savvyio.Extensions.Text.Json.Tests.csproj (1)

8-8: References to Cuemon.Extensions.Text.Json still exist in the codebase.

The Cuemon.Extensions.Text.Json package is still being used in several files. Ensure all references are removed or replaced before removing the package from the project file.

  • test/Savvyio.FunctionalTests/DistributedMediatorTest.cs
  • test/Savvyio.Extensions.Text.Json.Tests/MetadataDictionaryTest.cs
  • test/Savvyio.Core.Tests/OrphanedHandlerExceptionTest.cs
  • src/Savvyio.Extensions.Text.Json/JsonMarshaller.cs
  • src/Savvyio.Extensions.Text.Json/Bootstrapper.cs
  • src/Savvyio.Extensions.Text.Json/Converters/SingleValueObjectConverter.cs
  • src/Savvyio.Extensions.Text.Json/Converters/MessageConverter.cs
  • test/Savvyio.Commands.Tests/Savvyio.Commands.Tests.csproj
  • src/Savvyio.Extensions.Text.Json/Savvyio.Extensions.Text.Json.csproj
Analysis chain

Verify the impact of removing Cuemon.Extensions.Text.Json.

The Cuemon.Extensions.Text.Json package reference has been removed. Ensure that no functionality is broken due to this removal.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Text.Json`.

# Test: Search for usages of `Cuemon.Extensions.Text.Json` to ensure they are removed or replaced.
rg --type python --type cs --type csproj --fixed-strings "Cuemon.Extensions.Text.Json"

Length of output: 117


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Text.Json`.

# Test: Search for usages of `Cuemon.Extensions.Text.Json` to ensure they are removed or replaced.
rg --type cs --type csproj --fixed-strings "Cuemon.Extensions.Text.Json"

Length of output: 103


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Text.Json`.

# Test: Search for usages of `Cuemon.Extensions.Text.Json` to ensure they are removed or replaced.

# Search within C# files
rg --type cs --fixed-strings "Cuemon.Extensions.Text.Json"

# Search within project files
fd --extension csproj | xargs rg --fixed-strings "Cuemon.Extensions.Text.Json"

Length of output: 1138

test/Savvyio.Extensions.Newtonsoft.Json.Tests/Savvyio.Extensions.Newtonsoft.Json.Tests.csproj (1)

8-8: Verify the impact of removing Cuemon.Extensions.Newtonsoft.Json.

The Cuemon.Extensions.Newtonsoft.Json package reference has been removed, but there are still multiple usages of this package in the codebase. Please ensure that these references are updated or removed to prevent any potential issues.

  • test/Savvyio.FunctionalTests/DistributedMediatorTest.cs
  • test/Savvyio.Extensions.Newtonsoft.Json.Tests/MetadataDictionaryTest.cs
  • src/Savvyio.Extensions.Newtonsoft.Json/NewtonsoftJsonMarshaller.cs
  • src/Savvyio.Extensions.Newtonsoft.Json/Bootstrapper.cs
  • src/Savvyio.Extensions.Newtonsoft.Json/Converters/MessageConverter.cs
  • src/Savvyio.Extensions.Newtonsoft.Json/JsonConverterExtensions.cs
  • src/Savvyio.Extensions.Newtonsoft.Json/Converters/ValueObjectConverter.cs
  • src/Savvyio.Extensions.Newtonsoft.Json/Converters/AggregateRootConverter.cs
  • src/Savvyio.Extensions.Newtonsoft.Json/Converters/SingleValueObjectConverter.cs
Analysis chain

Verify the impact of removing Cuemon.Extensions.Newtonsoft.Json.

The Cuemon.Extensions.Newtonsoft.Json package reference has been removed. Ensure that no functionality is broken due to this removal.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Newtonsoft.Json`.

# Test: Search for usages of `Cuemon.Extensions.Newtonsoft.Json` to ensure they are removed or replaced.
rg --type python --type cs --type csproj --fixed-strings "Cuemon.Extensions.Newtonsoft.Json"

Length of output: 123


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Newtonsoft.Json`.

# Test: Search for usages of `Cuemon.Extensions.Newtonsoft.Json` to ensure they are removed or replaced.
rg --type cs --type csproj --fixed-strings "Cuemon.Extensions.Newtonsoft.Json"

Length of output: 109


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Newtonsoft.Json`.

# Test: Search for usages of `Cuemon.Extensions.Newtonsoft.Json` to ensure they are removed or replaced.
rg --type cs --type xml --fixed-strings "Cuemon.Extensions.Newtonsoft.Json"

Length of output: 1104

test/Savvyio.Core.Tests/Savvyio.Core.Tests.csproj (3)

12-12: Verify the removal of Cuemon.Extensions.Core.

The Cuemon.Extensions.Core package reference is still present in src/Savvyio.Core/Savvyio.Core.csproj. Ensure that it is removed from all relevant project files to avoid potential issues.

  • src/Savvyio.Core/Savvyio.Core.csproj
Analysis chain

Verify the impact of removing Cuemon.Extensions.Core.

The Cuemon.Extensions.Core package reference has been removed. Ensure that no functionality is broken due to this removal.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Core`.

# Test: Search for usages of `Cuemon.Extensions.Core` to ensure they are removed or replaced.
rg --type python --type cs --type csproj --fixed-strings "Cuemon.Extensions.Core"

Length of output: 112


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Core`.

# Test: Search for usages of `Cuemon.Extensions.Core` to ensure they are removed or replaced.
rg --type cs --type csproj --fixed-strings "Cuemon.Extensions.Core"

Length of output: 98


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Core`.

# Test: Search for usages of `Cuemon.Extensions.Core` in .cs files.
rg --type cs --fixed-strings "Cuemon.Extensions.Core"

# Test: Search for usages of `Cuemon.Extensions.Core` in .csproj files.
rg --glob "*.csproj" --fixed-strings "Cuemon.Extensions.Core"

Length of output: 226


12-12: Issues found with the removal of Cuemon.Security.Cryptography.

The Cuemon.Security.Cryptography package reference has been removed, but there are still references to it in the following files:

  • test/Savvyio.Domain.Tests/DomainEventDispatcherExtensionsTest.cs
  • test/Savvyio.Assets.Tests/Domain/Credentials.cs
  • src/Savvyio.Messaging/Cryptography/SignedMessageOptions.cs
  • src/Savvyio.Messaging/Cryptography/MessageExtensions.cs
  • src/Savvyio.EventDriven.Messaging/CloudEvents/Cryptography/CloudEventExtensions.cs

Ensure that these references are removed or replaced with appropriate alternatives to avoid potential issues.

Analysis chain

Verify the impact of removing Cuemon.Security.Cryptography.

The Cuemon.Security.Cryptography package reference has been removed. Ensure that no functionality is broken due to this removal.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Security.Cryptography`.

# Test: Search for usages of `Cuemon.Security.Cryptography` to ensure they are removed or replaced.
rg --type python --type cs --type csproj --fixed-strings "Cuemon.Security.Cryptography"

Length of output: 118


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Security.Cryptography`.

# Test: Search for usages of `Cuemon.Security.Cryptography` to ensure they are removed or replaced.
rg --type cs --type csproj --fixed-strings "Cuemon.Security.Cryptography"

Length of output: 104


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Security.Cryptography`.

# Test: Search for usages of `Cuemon.Security.Cryptography` to ensure they are removed or replaced.
rg --type cs --type xml --fixed-strings "Cuemon.Security.Cryptography"

Length of output: 561


12-12: References to Cuemon.Extensions.Text.Json still exist.

The Cuemon.Extensions.Text.Json package reference is still present in the following project files:

  • src/Savvyio.Extensions.Text.Json/Savvyio.Extensions.Text.Json.csproj
  • test/Savvyio.Commands.Tests/Savvyio.Commands.Tests.csproj

Ensure that the removal is consistent across the codebase to avoid any potential issues.

Analysis chain

Verify the impact of removing Cuemon.Extensions.Text.Json.

The Cuemon.Extensions.Text.Json package reference has been removed. Ensure that no functionality is broken due to this removal.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Text.Json`.

# Test: Search for usages of `Cuemon.Extensions.Text.Json` to ensure they are removed or replaced.
rg --type python --type cs --type csproj --fixed-strings "Cuemon.Extensions.Text.Json"

Length of output: 117


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Text.Json`.

# Test: Search for usages of `Cuemon.Extensions.Text.Json` to ensure they are removed or replaced.
rg --type cs --type csproj --fixed-strings "Cuemon.Extensions.Text.Json"

Length of output: 103


Script:

#!/bin/bash
# Description: Verify the impact of removing `Cuemon.Extensions.Text.Json`.

# Test: Search for usages of `Cuemon.Extensions.Text.Json` to ensure they are removed or replaced.
rg --type cs --glob "*.csproj" --fixed-strings "Cuemon.Extensions.Text.Json"

Length of output: 361

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 97fd9f3 and b05704c.

Files selected for processing (25)
  • Directory.Build.props (2 hunks)
  • Directory.Build.targets (2 hunks)
  • src/Savvyio.Core/Savvyio.Core.csproj (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection/Savvyio.Extensions.DependencyInjection.csproj (1 hunks)
  • src/Savvyio.Extensions.DependencyInjection/ServiceCollectionExtensions.cs (1 hunks)
  • src/Savvyio.Extensions.EFCore.Domain.EventSourcing/Savvyio.Extensions.EFCore.Domain.EventSourcing.csproj (1 hunks)
  • src/Savvyio.Extensions.EFCore.Domain/Savvyio.Extensions.EFCore.Domain.csproj (1 hunks)
  • src/Savvyio.Extensions.EFCore/Savvyio.Extensions.EFCore.csproj (1 hunks)
  • src/Savvyio.Extensions.Newtonsoft.Json/Savvyio.Extensions.Newtonsoft.Json.csproj (1 hunks)
  • src/Savvyio.Extensions.SimpleQueueService/Savvyio.Extensions.SimpleQueueService.csproj (1 hunks)
  • src/Savvyio.Extensions.Text.Json/Savvyio.Extensions.Text.Json.csproj (1 hunks)
  • test/Savvyio.Assets.Dapper.Tests/Savvyio.Assets.Dapper.Tests.csproj (1 hunks)
  • test/Savvyio.Assets.EfCore.Tests/Savvyio.Assets.EfCore.Tests.csproj (1 hunks)
  • test/Savvyio.Assets.Tests/Savvyio.Assets.Tests.csproj (1 hunks)
  • test/Savvyio.Commands.Tests/Savvyio.Commands.Tests.csproj (1 hunks)
  • test/Savvyio.Core.Tests/Savvyio.Core.Tests.csproj (1 hunks)
  • test/Savvyio.EventDriven.Tests/Savvyio.EventDriven.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.Dapper.Tests/Savvyio.Extensions.Dapper.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.DapperExtensions.Tests/Savvyio.Extensions.DapperExtensions.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.DependencyInjection.Dapper.Tests/Savvyio.Extensions.DependencyInjection.Dapper.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.DependencyInjection.DapperExtensions.Tests/Savvyio.Extensions.DependencyInjection.DapperExtensions.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.DependencyInjection.EFCore.Tests/Savvyio.Extensions.DependencyInjection.EFCore.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.Newtonsoft.Json.Tests/Savvyio.Extensions.Newtonsoft.Json.Tests.csproj (1 hunks)
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/EventDriven/AmazonEventBusNewtonsoftJsonSerializerContextTest.cs (2 hunks)
  • test/Savvyio.Extensions.Text.Json.Tests/Savvyio.Extensions.Text.Json.Tests.csproj (1 hunks)
Files skipped from review due to trivial changes (15)
  • Directory.Build.targets
  • src/Savvyio.Core/Savvyio.Core.csproj
  • src/Savvyio.Extensions.EFCore.Domain.EventSourcing/Savvyio.Extensions.EFCore.Domain.EventSourcing.csproj
  • src/Savvyio.Extensions.EFCore.Domain/Savvyio.Extensions.EFCore.Domain.csproj
  • src/Savvyio.Extensions.EFCore/Savvyio.Extensions.EFCore.csproj
  • src/Savvyio.Extensions.Newtonsoft.Json/Savvyio.Extensions.Newtonsoft.Json.csproj
  • src/Savvyio.Extensions.SimpleQueueService/Savvyio.Extensions.SimpleQueueService.csproj
  • test/Savvyio.Assets.Dapper.Tests/Savvyio.Assets.Dapper.Tests.csproj
  • test/Savvyio.Assets.Tests/Savvyio.Assets.Tests.csproj
  • test/Savvyio.Commands.Tests/Savvyio.Commands.Tests.csproj
  • test/Savvyio.EventDriven.Tests/Savvyio.EventDriven.Tests.csproj
  • test/Savvyio.Extensions.Dapper.Tests/Savvyio.Extensions.Dapper.Tests.csproj
  • test/Savvyio.Extensions.DependencyInjection.Dapper.Tests/Savvyio.Extensions.DependencyInjection.Dapper.Tests.csproj
  • test/Savvyio.Extensions.DependencyInjection.DapperExtensions.Tests/Savvyio.Extensions.DependencyInjection.DapperExtensions.Tests.csproj
  • test/Savvyio.Extensions.DependencyInjection.EFCore.Tests/Savvyio.Extensions.DependencyInjection.EFCore.Tests.csproj
Additional comments not posted (11)
src/Savvyio.Extensions.DependencyInjection/Savvyio.Extensions.DependencyInjection.csproj (1)

Line range hint 1-13:
Verify the impact of the package version update.

The update to the Cuemon.Extensions.DependencyInjection package version might include bug fixes, performance improvements, or new features. Ensure that there are no breaking changes due to the update.

test/Savvyio.Extensions.Text.Json.Tests/Savvyio.Extensions.Text.Json.Tests.csproj (1)

8-8: Verify compatibility with Cuemon.Extensions.IO version 8.3.2.

The package version has been updated from 8.3.1 to 8.3.2. Ensure that this update does not introduce any breaking changes or incompatibilities.

Verification successful

No breaking changes found with Cuemon.Extensions.IO version 8.3.2.

The package version update from 8.3.1 to 8.3.2 has been verified, and no breaking changes or incompatibilities were found in the codebase.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with `Cuemon.Extensions.IO` version `8.3.2`.

# Test: Check for breaking changes in the new version.
rg --type markdown --type text --fixed-strings "Cuemon.Extensions.IO 8.3.2" -g "CHANGELOG*"

Length of output: 122


Script:

#!/bin/bash
# Description: Verify compatibility with `Cuemon.Extensions.IO` version `8.3.2`.

# Test: Check for breaking changes or important notes in the new version.
rg --type markdown --fixed-strings "Cuemon.Extensions.IO 8.3.2" -g "CHANGELOG*"

Length of output: 81


Script:

#!/bin/bash
# Description: Verify compatibility with `Cuemon.Extensions.IO` version `8.3.2`.

# Test: Check for usage of `Cuemon.Extensions.IO` within the codebase to ensure nothing is broken by the update.
rg "Cuemon.Extensions.IO" -A 5

Length of output: 24368

test/Savvyio.Extensions.Newtonsoft.Json.Tests/Savvyio.Extensions.Newtonsoft.Json.Tests.csproj (1)

8-8: Verify compatibility with Cuemon.Extensions.IO version 8.3.2.

The package version has been updated from 8.3.1 to 8.3.2. Ensure that this update does not introduce any breaking changes or incompatibilities.

test/Savvyio.Core.Tests/Savvyio.Core.Tests.csproj (1)

12-12: Verify the impact of adding Savvyio.Extensions.Text.Json project reference.

The Savvyio.Extensions.Text.Json project reference has been added. Ensure that this addition aligns with the project's requirements and does not introduce any issues.

Verification successful

The addition of the Savvyio.Extensions.Text.Json project reference is correctly integrated and aligns with the project's requirements.

The references to Savvyio.Extensions.Text.Json are found across multiple test and source files, indicating proper integration.

  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/Commands/AmazonCommandQueueJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.Text.Json.Tests/MetadataDictionaryTest.cs
  • test/Savvyio.FunctionalTests/DistributedMediatorTest.cs
  • test/Savvyio.Extensions.DependencyInjection.EFCore.Domain.EventSourcing.Tests/ServiceCollectionExtensionsTest.cs
  • test/Savvyio.Extensions.DependencyInjection.SimpleQueueService.Tests/ServiceCollectionExtensionsTest.cs
  • test/Savvyio.Domain.EventSourcing.Tests/TracedAggregateRootTest.cs
  • src/Savvyio.Extensions.Text.Json/JsonMarshaller.cs
  • src/Savvyio.Extensions.Text.Json/JsonSerializerOptionsExtensions.cs
  • src/Savvyio.Extensions.Text.Json/Bootstrapper.cs
  • src/Savvyio.Extensions.Text.Json/Converters/MessageConverter.cs
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of adding `Savvyio.Extensions.Text.Json` project reference.

# Test: Search for usages of `Savvyio.Extensions.Text.Json` to ensure they are correctly integrated.
rg --type python --type cs --type csproj --fixed-strings "Savvyio.Extensions.Text.Json"

Length of output: 118


Script:

#!/bin/bash
# Description: Verify the impact of adding `Savvyio.Extensions.Text.Json` project reference.

# Test: Search for usages of `Savvyio.Extensions.Text.Json` to ensure they are correctly integrated.
rg --type cs --type csproj --fixed-strings "Savvyio.Extensions.Text.Json"

Length of output: 104


Script:

#!/bin/bash
# Description: Verify the impact of adding `Savvyio.Extensions.Text.Json` project reference.

# Test 1: Search for usages of `Savvyio.Extensions.Text.Json` within `.cs` files to ensure they are correctly integrated.
rg --type cs --fixed-strings "Savvyio.Extensions.Text.Json"

# Test 2: Search for usages of `Savvyio.Extensions.Text.Json` within `.csproj` files to ensure they are correctly integrated.
rg --glob '*.csproj' --fixed-strings "Savvyio.Extensions.Text.Json"

Length of output: 5579

test/Savvyio.Assets.EfCore.Tests/Savvyio.Assets.EfCore.Tests.csproj (2)

9-10: Approve package reference updates for .NET 8 target framework.

The versions of Microsoft.EntityFrameworkCore.InMemory and Microsoft.EntityFrameworkCore.Relational have been correctly updated from 8.0.6 to 8.0.7.


14-15: Approve package reference updates for .NET 6 target framework.

The versions of Microsoft.EntityFrameworkCore.InMemory and Microsoft.EntityFrameworkCore.Relational have been correctly updated from 6.0.31 to 6.0.32.

Directory.Build.props (2)

65-67: Approve package reference updates for xUnit and related packages.

The versions of xunit and xunit.runner.console have been correctly updated from 2.8.1 to 2.9.0, and xunit.runner.visualstudio from 2.8.1 to 2.8.2.


79-79: Approve package reference update for Cuemon.Extensions.Xunit.App.

The version of Cuemon.Extensions.Xunit.App has been correctly updated from 8.3.1 to 8.3.2.

test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/EventDriven/AmazonEventBusNewtonsoftJsonSerializerContextTest.cs (1)

228-228: Approve modifications to the ConfigureServices method.

The modifications streamline the service registration process, improving maintainability and readability by using services.AddMarshaller<NewtonsoftJsonMarshaller>().

src/Savvyio.Extensions.DependencyInjection/ServiceCollectionExtensions.cs (2)

55-73: LGTM! Ensure the method usage is verified.

The code changes are approved.

However, ensure that the AddMarshaller<TService> method is used correctly in the codebase.

Verification successful

The AddMarshaller<TService> method is used correctly in the codebase.

The method is utilized in multiple test files, ensuring its functionality is thoroughly tested.

  • test/Savvyio.FunctionalTests/DistributedMediatorTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/EventDriven/AmazonEventBusNewtonsoftJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/EventDriven/AmazonEventBusJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/Commands/AmazonCommandQueueJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/Commands/AmazonCommandQueueNewtonsoftJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.DependencyInjection.SimpleQueueService.Tests/ServiceCollectionExtensionsTest.cs
  • test/Savvyio.Extensions.DependencyInjection.EFCore.Domain.EventSourcing.Tests/ServiceCollectionExtensionsTest.cs
  • test/Savvyio.Domain.EventSourcing.Tests/TracedAggregateRootTest.cs
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the usage of the AddMarshaller<TService> method in the codebase.

# Test: Search for the method usage. Expect: Only occurrences of the new method.
rg --type cs -A 5 $'AddMarshaller<'

Length of output: 16489


63-73: LGTM! Ensure the method usage is verified.

The code changes are approved.

However, ensure that the AddMarshaller<TService> method is used correctly in the codebase.

Verification successful

Method usage verified.

The AddMarshaller<TService> method is correctly used in multiple test files and functional tests across the codebase.

  • test/Savvyio.FunctionalTests/DistributedMediatorTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/Commands/AmazonCommandQueueJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/Commands/AmazonCommandQueueNewtonsoftJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/EventDriven/AmazonEventBusNewtonsoftJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.SimpleQueueService.FunctionalTests/EventDriven/AmazonEventBusJsonSerializerContextTest.cs
  • test/Savvyio.Extensions.DependencyInjection.SimpleQueueService.Tests/ServiceCollectionExtensionsTest.cs
  • test/Savvyio.Extensions.DependencyInjection.EFCore.Domain.EventSourcing.Tests/ServiceCollectionExtensionsTest.cs
  • test/Savvyio.Domain.EventSourcing.Tests/TracedAggregateRootTest.cs
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the usage of the AddMarshaller<TService> method in the codebase.

# Test: Search for the method usage. Expect: Only occurrences of the new method.
rg --type cs -A 5 $'AddMarshaller<'

Length of output: 16489

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b05704c and dcb9d27.

Files selected for processing (1)
  • .github/workflows/pipelines.yml (1 hunks)
Additional comments not posted (1)
.github/workflows/pipelines.yml (1)

126-126: Verify the impact of the level: normal parameter.

The addition of the level: normal parameter in the dotnet-test step likely controls the verbosity or detail level of the test output. Ensure that this parameter is supported by the dotnet-test action and verify its impact on the test results.

@codecov

codecov Bot commented Aug 4, 2024

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2024

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@gimlichael gimlichael merged commit c1cf25f into main Aug 4, 2024
@gimlichael gimlichael deleted the v3.0.0/alm-and-marshaller branch August 4, 2024 18:46
@coderabbitai coderabbitai Bot mentioned this pull request Nov 13, 2024
@coderabbitai coderabbitai Bot mentioned this pull request Aug 29, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Jan 23, 2026
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