Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 20, 2025

Performed the following updates:

  • Updated System.CommandLine from 2.0.0-beta4.22272.1 to 2.0.0-beta5.25306.1 in /src/PowerUtils.BenchmarkDotnet.Reporter.csproj

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

…5.25306.1

---
updated-dependencies:
- dependency-name: System.CommandLine
  dependency-version: 2.0.0-beta5.25306.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from NelsonBN June 20, 2025 06:59
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 20, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 20, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@github-actions
Copy link

github-actions bot commented Jun 20, 2025

Test Summary

154 tests   154 ✅  0s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit 7409227.

♻️ This comment has been updated with latest results.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@NelsonBN NelsonBN requested a review from Copilot June 21, 2025 13:53

This comment was marked as outdated.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@NelsonBN NelsonBN requested a review from Copilot June 21, 2025 14:17
Copy link
Contributor

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 PR bumps the System.CommandLine dependency from 2.0.0-beta4 to 2.0.0-beta5 and refactors command option initialization and handling accordingly.

  • Updated the csproj package reference.
  • Replaced inline option creation with dedicated option classes (e.g., BaselineOption, TargetOption, etc.).
  • Adjusted command registration using SetAction and updated tests to match the new options and behavior.

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/PowerUtils.BenchmarkDotnet.Reporter.Tests/ToolCommandsTest.cs Renamed test expecting 4 options to 6 options and removed individual option validations.
tests/PowerUtils.BenchmarkDotnet.Reporter.Tests/Options/OptionsTests.cs Added tests for individual options using the new option class properties.
tests/PowerUtils.BenchmarkDotnet.Reporter.Tests/Options/FormatOptionTests.cs Added tests validating formats option with new C# syntax array literals.
src/ToolCommands.cs Refactored from inline option creation with SetHandler to using dedicated option classes and SetAction.
src/Program.cs Changed command invocation to use Parse(args).Invoke() and updated DI configuration.
src/PowerUtils.BenchmarkDotnet.Reporter.csproj Updated the System.CommandLine package version.
src/Options/*.cs Introduced new option classes for baseline, target, formats, output, mean threshold, and allocation threshold.
src/Commands/ComparerCommand.cs Updated command interface and implementation to return an int exit code.
.vscode/launch.json Updated sample argument values to reflect case-insensitive handling of formats.

@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
PBReporter 96% 78% 576
Summary 96% (654 / 683) 78% (345 / 444) 576

@github-actions
Copy link

@sonarqubecloud
Copy link

@NelsonBN NelsonBN merged commit 40fa9eb into main Jun 21, 2025
9 checks passed
@NelsonBN NelsonBN deleted the dependabot/nuget/src/main/System.CommandLine-2.0.0-beta5.25306.1 branch June 21, 2025 14:23
@NelsonBN
Copy link
Member

🎉 This PR is included in version 1.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant