Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Nitro CLI] Fix client download command / Forward exit code - #9280

#9280
Merged
tobias-tengler merged 3 commits into
mainChilliCream/graphql-platform:mainfrom
tte/fix-no-exit-code-being-returned-from-cliChilliCream/graphql-platform:tte/fix-no-exit-code-being-returned-from-cliCopy head branch name to clipboard
Mar 1, 2026
Merged

[Nitro CLI] Fix client download command / Forward exit code#9280
tobias-tengler merged 3 commits into
mainChilliCream/graphql-platform:mainfrom
tte/fix-no-exit-code-being-returned-from-cliChilliCream/graphql-platform:tte/fix-no-exit-code-being-returned-from-cliCopy head branch name to clipboard

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 1, 2026 13:49
@tobias-tengler tobias-tengler changed the title [Nitro CLI] Fix client download command [Nitro CLI] Fix client download command / Forward exit code Mar 1, 2026

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.

Pull request overview

This PR updates Nitro CLI runtime behavior to better align with JSON payload naming and to correctly propagate command exit codes from the System.CommandLine pipeline.

Changes:

  • Configure NitroCLIJsonContext source generation to use camelCase JSON property naming.
  • Update Program.Main to return the InvokeAsync exit code (Task<int>) rather than discarding it.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Nitro/CommandLine/src/CommandLine/Services/Configuration/NitroCLIJsonContext.cs Sets camelCase naming policy for source-generated JSON serialization/deserialization used by CLI config + client download parsing.
src/Nitro/CommandLine/src/CommandLine/Program.cs Returns the System.CommandLine invocation exit code to the host process.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tobias-tengler
tobias-tengler merged commit 9d86d36 into main Mar 1, 2026
114 of 115 checks passed
@tobias-tengler
tobias-tengler deleted the tte/fix-no-exit-code-being-returned-from-cli branch March 1, 2026 13:59
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.