Skip to content

Fix style errors in the Nitro CLI - #10439

Merged
glen-84 merged 1 commit into
mainfrom
gai/nitro-cli-style-errors
Sep 28, 2026
Merged

glen-84 merged 1 commit into
mainfrom
gai/nitro-cli-style-errors

Conversation

@glen-84

@glen-84 glen-84 commented Sep 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes redundant namespace qualifiers in MailWakeDaemonCoordinator, MailDetailView, and SendMailCommandTests.
  • Removes explicit generic type arguments from Task.FromResult in the FakeMailStore, FakeMemoryStore, and FakeTaskStore test fakes.

Test plan

  • dotnet build src/Nitro/CommandLine/Nitro.CommandLine.slnx succeeds.

Copilot AI lite review requested due to automatic review settings September 28, 2026 08:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified that would block approval.

Review effort: Lite
Findings: None

What changed in this PR

This PR fixes redundant C# style qualifiers in the Nitro CLI and simplifies Task.FromResult calls without changing behavior.

Changes:

  • Simplifies generic inference in three test fakes.
  • Removes redundant namespace qualifiers in tests and production code.
  • Updates an XML documentation reference.
File Description
src/​Nitro/​CommandLine/​test/​CommandLine.Tests/​Tui/​Shell/​FakeTaskStore.cs Updated as part of this pull request.
src/​Nitro/​CommandLine/​test/​CommandLine.Tests/​Tui/​Agents/​FakeMemoryStore.cs Updated as part of this pull request.
src/​Nitro/​CommandLine/​test/​CommandLine.Tests/​Tui/​Agents/​FakeMailStore.cs Updated as part of this pull request.
src/​Nitro/​CommandLine/​test/​CommandLine.Tests/​Commands/​Agent/​Mail/​SendMailCommandTests.cs Updated as part of this pull request.
src/​Nitro/​CommandLine/​src/​CommandLine/​Tui/​Mail/​MailDetailView.cs Updated as part of this pull request.
src/​Nitro/​CommandLine/​src/​CommandLine/​Services/​Notify/​MailWakeDaemonCoordinator.cs Updated as part of this pull request.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Patch coverage

100.0% of changed lines covered (1/1)

File Covered Changed Patch %
…/src/CommandLine/Services/Notify/MailWakeDaemonCoordinator.cs 1 1 100.0% 🟢

Project coverage: 58.8% (298810/508055 lines)

@github-actions

Copy link
Copy Markdown
Contributor

✅ Nitro CLI E2E snapshots: no flow recordings changed vs main.

@glen-84
glen-84 merged commit be4d784 into main Sep 28, 2026
161 checks passed
@glen-84
glen-84 deleted the gai/nitro-cli-style-errors branch September 28, 2026 08:38
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