chore(deps): major update dependency coverlet.collector to 10.0.1#185
Merged
Conversation
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| csharpier | 20 | 1 | 0 | 16.17s | ||
| dotnet-format | yes | 1 | no | 0.68s | ||
| roslynator | 2 | 1 | 0 | 25.45s | ||
| ✅ DOCKERFILE | hadolint | 1 | 0 | 0 | 0.12s | |
| ✅ JSON | jsonlint | 4 | 0 | 0 | 0.16s | |
| prettier | 4 | 1 | 0 | 0.63s | ||
| markdownlint | 1 | 12 | 0 | 0.89s | ||
| ✅ MARKDOWN | markdown-table-formatter | 1 | 0 | 0 | 1.2s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 0.28s | |
| ✅ REPOSITORY | grype | yes | no | no | 54.47s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 1.14s | |
| ✅ REPOSITORY | syft | yes | no | no | 2.61s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.46s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.25s | |
| ✅ XML | xmllint | 1 | 0 | 0 | 0.21s | |
| ✅ YAML | prettier | 1 | 0 | 0 | 0.53s | |
| ✅ YAML | v8r | 1 | 0 | 0 | 2.81s | |
| ✅ YAML | yamllint | 1 | 0 | 0 | 0.58s |
Detailed Issues
⚠️ CSHARP / csharpier - 1 error
Error ./src/Cheetah.WebApi.Test/Cheetah.WebApi.Test.csproj - Was not formatted.
----------------------------- Expected: Around Line 2 -----------------------------
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
----------------------------- Actual: Around Line 2 -----------------------------
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
Error ./src/Cheetah.WebApi/Cheetah.WebApi.csproj - Was not formatted.
----------------------------- Expected: Around Line 18 -----------------------------
<PackageReference Include="Cheetah.Kafka" Version="2.4.0-upgrade-to-dotnet-10-SNAPSHOT14" />
<PackageReference Include="Cheetah.OpenSearch" Version="2.0.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.1" />
----------------------------- Actual: Around Line 18 -----------------------------
<PackageReference Include="Cheetah.Kafka" Version="2.4.0-upgrade-to-dotnet-10-SNAPSHOT14" />
<PackageReference Include="Cheetah.OpenSearch" Version="2.0.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.1" />
Error ./src/Cheetah.WebApi/Infrastructure/Installers/KafkaInstaller.cs - Was not formatted.
----------------------------- Expected: Around Line 47 -----------------------------
x.SetValueDeserializer(_ => Deserializers.Utf8);
x.ConfigureClient(cfg =>
{
----------------------------- Actual: Around Line 47 -----------------------------
x.SetValueDeserializer(_ => Deserializers.Utf8);
x.ConfigureClient(cfg =>·
{
Error ./src/Cheetah.WebApi/Infrastructure/Installers/ServiceInstaller.cs - Was not formatted.
----------------------------- Expected: Around Line 38 -----------------------------
{
if (hostEnvironment.IsDevelopment())
{
----------------------------- Actual: Around Line 38 -----------------------------
{
if (hostEnvironment.IsDevelopment()) {
cfg.WithConnectionSettings(settings => {
Error ./src/Cheetah.WebApi/Presentation/Controllers/KafkaControllerV2.cs - Was not formatted.
----------------------------- Expected: Around Line 53 -----------------------------
var consumerOptions = new ConsumerOptions<Ignore, string>();
consumerOptions.ConfigureClient(cfg =>
{
----------------------------- Actual: Around Line 53 -----------------------------
var consumerOptions = new ConsumerOptions<Ignore, string>();
consumerOptions.ConfigureClient(cfg =>·
{
Error ./src/Cheetah.WebApi/Program.cs - Was not formatted.
----------------------------- Expected: Around Line 117 -----------------------------
Predicate = _ => true,
ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse,
}
----------------------------- Actual: Around Line 117 -----------------------------
Predicate = _ => true,
ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse
}
Checked 20 files in 15910ms.
⚠️ CSHARP / dotnet-format - 1 error
Welcome to .NET 10.0!
---------------------
SDK Version: 10.0.108
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Unhandled exception: System.IO.FileNotFoundException: Could not find a MSBuild project file or solution file in ''. Specify which to use with the <workspace> argument.
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindWorkspace(String searchDirectory, String workspacePath)
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindWorkspace(String searchDirectory, String workspacePath)
at Microsoft.CodeAnalysis.Tools.FormatCommandCommon.ParseWorkspaceOptions(ParseResult parseResult, FormatOptions formatOptions)
at Microsoft.CodeAnalysis.Tools.Commands.RootFormatCommand.FormatCommandDefaultHandler.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
⚠️ MARKDOWN / markdownlint - 12 errors
README.md:23:97 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:9898"]
README.md:29:6 error MD034/no-bare-urls Bare URL used [Context: "https://docs.github.com/en/pac..."]
README.md:107:27 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/swagger"]
README.md:108:26 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1751/swagger"]
README.md:109:21 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/health"]
README.md:110:27 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1861/metrics"]
README.md:111:24 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1852/swagger..."]
README.md:148 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "3. Access the Application"]
README.md:150:27 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/swagger"]
README.md:151:26 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1751/swagger"]
README.md:152:21 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/health"]
README.md:153:27 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1861/metrics"]
⚠️ JSON / prettier - 1 error
Checking formatting...
[warn] src/.config/dotnet-tools.json
[warn] src/Cheetah.WebApi/Properties/launchSettings.json
[warn] src/Cheetah.WebApi/appsettings.json
[warn] src/Cheetah.WebApi/swagger.json
[warn] Code style issues found in 4 files. Run Prettier with --write to fix.
⚠️ CSHARP / roslynator - 1 error
ould not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(52,39): error CS0246: The type or namespace name 'ConsumerOptions<,>' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(52,55): error CS0246: The type or namespace name 'Ignore' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(109,40): error CS0246: The type or namespace name 'Null' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(113,21): error CS0246: The type or namespace name 'Message<,>' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(113,29): error CS0246: The type or namespace name 'Null' could not be found (are you missing a using directive or an assembly reference?)
Infrastructure/Installers/KafkaInstaller.cs(23,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddCheetahKafka' and no accessible extension method 'AddCheetahKafka' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
Infrastructure/Installers/ServiceInstaller.cs(34,22): error CS1061: 'IServiceCollection' does not contain a definition for 'AddCheetahOpenSearch' and no accessible extension method 'AddCheetahOpenSearch' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
Core/Config/KafkaConsumerConfig.cs(5,18): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig'
Core/Config/KafkaConsumerConfig.cs(7,29): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig.Position'
Core/Config/KafkaConsumerConfig.cs(8,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig.Topic'
Core/Config/KafkaConsumerConfig.cs(9,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig.ConsumerName'
Core/Config/KafkaProducerConfig.cs(5,18): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig'
Core/Config/KafkaProducerConfig.cs(7,29): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig.Position'
Core/Config/KafkaProducerConfig.cs(8,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig.Topic'
Core/Config/KafkaProducerConfig.cs(9,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig.ProducerName'
Core/Config/PrometheusConfig.cs(3,18): warning CS1591: Missing XML comment for publicly visible type or member 'PrometheusConfig'
Core/Config/PrometheusConfig.cs(5,29): warning CS1591: Missing XML comment for publicly visible type or member 'PrometheusConfig.Position'
Core/Config/PrometheusConfig.cs(6,20): warning CS1591: Missing XML comment for publicly visible type or member 'PrometheusConfig.Port'
Core/Config/WebApiConfig.cs(9,18): warning CS1591: Missing XML comment for publicly visible type or member 'WebApiConfig'
Core/Config/WebApiConfig.cs(11,29): warning CS1591: Missing XML comment for publicly visible type or member 'WebApiConfig.Position'
Core/Models/DateAndValue.cs(5,14): warning CS1591: Missing XML comment for publicly visible type or member 'DateAndValue<T>'
Core/Models/DateAndValue.cs(7,27): warning CS1591: Missing XML comment for publicly visible type or member 'DateAndValue<T>.Date'
Core/Models/DateAndValue.cs(8,14): warning CS1591: Missing XML comment for publicly visible type or member 'DateAndValue<T>.Value'
Infrastructure/Installers/FluentValidationInstaller.cs(9,25): warning CS1591: Missing XML comment for publicly visible type or member 'FluentValidationInstaller'
Infrastructure/Installers/FluentValidationInstaller.cs(11,28): warning CS1591: Missing XML comment for publicly visible type or member 'FluentValidationInstaller.InstallFluentValidation(IServiceCollection)'
Infrastructure/Installers/HealthCheckInstaller.cs(6,25): warning CS1591: Missing XML comment for publicly visible type or member 'HealthCheckInstaller'
Infrastructure/Installers/HealthCheckInstaller.cs(8,28): warning CS1591: Missing XML comment for publicly visible type or member 'HealthCheckInstaller.InstallHealthChecks(IServiceCollection)'
Infrastructure/Installers/KafkaInstaller.cs(12,25): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaInstaller'
Infrastructure/Installers/KafkaInstaller.cs(14,28): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaInstaller.InstallKafka(IServiceCollection, IConfigurationRoot)'
Infrastructure/Installers/OpenApiInstaller.cs(16,25): warning CS1591: Missing XML comment for publicly visible type or member 'OpenApiInstaller'
Infrastructure/Installers/OpenApiInstaller.cs(18,28): warning CS1591: Missing XML comment for publicly visible type or member 'OpenApiInstaller.InstallOpenAPI(IServiceCollection)'
Infrastructure/Installers/ServiceInstaller.cs(13,25): warning CS1591: Missing XML comment for publicly visible type or member 'ServiceInstaller'
Infrastructure/Installers/ServiceInstaller.cs(15,28): warning CS1591: Missing XML comment for publicly visible type or member 'ServiceInstaller.InstallServices(IServiceCollection, IHostEnvironment, IConfigurationRoot)'
Presentation/Controllers/DefaultController.cs(6,14): warning CS1591: Missing XML comment for publicly visible type or member 'DefaultController'
Presentation/Controllers/DefaultController.cs(9,27): warning CS1591: Missing XML comment for publicly visible type or member 'DefaultController.RedirectToSwagger()'
Presentation/Controllers/ErrorController.cs(8,14): warning CS1591: Missing XML comment for publicly visible type or member 'ErrorController'
Presentation/Controllers/ErrorController.cs(11,26): warning CS1591: Missing XML comment for publicly visible type or member 'ErrorController.HandleErrorDevelopment(IHostEnvironment)'
Presentation/Controllers/ErrorController.cs(27,26): warning CS1591: Missing XML comment for publicly visible type or member 'ErrorController.HandleError()'
Presentation/Controllers/KafkaController.cs(28,16): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaController.KafkaController(IConsumer<Ignore, string>, IProducer<Null, string>, IOptions<KafkaProducerConfig>, ILogger<KafkaController>)'
Presentation/Controllers/KafkaControllerV2.cs(30,16): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaController2.KafkaController2(IOptions<KafkaProducerConfig>, IOptions<KafkaConsumerConfig>, ILogger<KafkaController>, KafkaClientFactory)'
Presentation/Controllers/OpenSearchController.cs(15,18): warning CS1591: Missing XML comment for publicly visible type or member 'OpenSearchController'
Presentation/Controllers/OpenSearchController.cs(19,16): warning CS1591: Missing XML comment for publicly visible type or member 'OpenSearchController.OpenSearchController(IOpenSearchClient)'
Program.cs(21,18): warning CS1591: Missing XML comment for publicly visible type or member 'Program'
Program.cs(23,28): warning CS1591: Missing XML comment for publicly visible type or member 'Program.Main(string[])'
Analyzed project 'src/Cheetah.WebApi/Cheetah.WebApi.csproj' (in 2.7 s)
2 CS0103
6 CS0234
27 CS0246
2 CS1061
37 CS1591 Missing XML comment for publicly visible type or member
74 diagnostics found
(Truncated to last 8000 characters out of 13992)
Notices
📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.5.0 --custom-flavor-setup --custom-flavor-linters CSHARP_DOTNET_FORMAT,CSHARP_CSHARPIER,CSHARP_ROSLYNATOR,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,XML_XMLLINT,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
c643e14 to
c07852b
Compare
5c1ac8c to
c94151b
Compare
c94151b to
0fe7c1a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.0.1→10.0.1Release Notes
coverlet-coverage/coverlet (coverlet.collector)
v10.0.1Improvements
Fixed
Maintenance
Diff between 10.0.0 and 10.0.1
v10.0.0Improvements
--coverlet-file-prefixoption for unique report files #1869Fixed
Maintenance
Diff between 8.0.1 and 10.0.0
Configuration
📅 Schedule: (in timezone Europe/Copenhagen)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.