Skip to content

Update Spectre.Console.Cli to v0.55.0#985

Merged
christianhelle merged 2 commits into
mainfrom
spectre-cli-0.55.0
Apr 10, 2026
Merged

Update Spectre.Console.Cli to v0.55.0#985
christianhelle merged 2 commits into
mainfrom
spectre-cli-0.55.0

Conversation

@christianhelle

@christianhelle christianhelle commented Apr 10, 2026

Copy link
Copy Markdown
Owner
  • Update Spectre.Console.Cli to v0.55.0
  • Fix breaking changes from Spectre.Console.Cli update

Summary by CodeRabbit

  • Chores
    • Updated Spectre.Console.Cli dependency to version 0.55.0.

@coderabbitai

coderabbitai Bot commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 63bf7de2-8493-4355-89c1-e45e7d9bfb3d

📥 Commits

Reviewing files that changed from the base of the PR and between 6b59a94 and 08392e6.

📒 Files selected for processing (3)
  • src/Refitter.Tests/GenerateCommandTests.cs
  • src/Refitter/GenerateCommand.cs
  • src/Refitter/Refitter.csproj

📝 Walkthrough

Walkthrough

Changes method accessibility in GenerateCommand from public to protected for Validate and ExecuteAsync, updates corresponding test assertions to verify the new protected visibility, and upgrades the Spectre.Console.Cli NuGet dependency from version 0.53.1 to 0.55.0.

Changes

Cohort / File(s) Summary
Method Visibility Changes
src/Refitter/GenerateCommand.cs, src/Refitter.Tests/GenerateCommandTests.cs
Changed Validate and ExecuteAsync method accessibility from public override to protected override. Updated test assertions to verify protected visibility using BindingFlags.NonPublic and method.IsFamily checks instead of method.IsPublic.
Dependency Updates
src/Refitter/Refitter.csproj
Upgraded Spectre.Console.Cli NuGet package from version 0.53.1 to 0.55.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • #695: Modifies the same GenerateCommand.Validate and GenerateCommand.ExecuteAsync methods with related accessibility changes.

Suggested labels

enhancement, .NET

Poem

🐰 Protected paths now guard the way,
No public eyes shall call today,
With Spectre upgraded, crisp and bright,
The methods hide from outer sight!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update Spectre.Console.Cli to v0.55.0' accurately reflects the primary change in the pull request - upgrading the Spectre.Console.Cli dependency. However, it does not mention the secondary changes (making methods protected) which are necessary fixes for breaking changes from the upgrade.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch spectre-cli-0.55.0

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Apr 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.15%. Comparing base (114ed14) to head (08392e6).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #985   +/-   ##
=======================================
  Coverage   93.15%   93.15%           
=======================================
  Files          27       27           
  Lines        1797     1797           
=======================================
  Hits         1674     1674           
  Misses         49       49           
  Partials       74       74           
Flag Coverage Δ
unittests 93.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@christianhelle
christianhelle merged commit 4d1acb6 into main Apr 10, 2026
14 of 15 checks passed
@christianhelle
christianhelle deleted the spectre-cli-0.55.0 branch April 10, 2026 09:14
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