Skip to content

Publish the CLI tool as Relayer.Cli to match the NuGet trusted publishing pattern - #797

Merged
thomhurst merged 1 commit into
mainfrom
release-tool-package-id
Nov 15, 2026
Merged

thomhurst merged 1 commit into
mainfrom
release-tool-package-id

Conversation

@thomhurst

Copy link
Copy Markdown
Owner

The v0.1.0 release stopped with a 403 when pushing dotnet-relayer (run). Our nuget.org trusted publishing policy only accepts package IDs matching Relayer*, so 18 packages were never pushed.

  • Rename src/dotnet-relayer to src/Relayer.Cli. Package ID, assembly and PDB are now Relayer.Cli, which keeps verify_packages.py working unchanged. ToolCommandName is still dotnet-relayer, so the command people run doesn't change. The Relayer.Tool namespace is unchanged.
  • Update the solution, the test project reference and the docs that install or run the tool.
  • The package list in website/docs/contributing/releases.md was missing nine packages; it now lists all of them and notes the Relayer* rule.

Builds on: .NET SDK PackAsTool/ToolCommandName; no Relayer feature duplicated.

Checked: full dotnet pack passes verify_packages.py; dotnet tool install Relayer.Cli from the local feed installs dotnet-relayer; TopologyCommandTests, SchemaTests, SentHistoryTests pass (68); website builds.

Per-message cost: none (packaging only).

After merge, the remaining packages ship with a new release tag.

…ublishing pattern

The v0.1.0 release push was rejected with 403 at dotnet-relayer because the
nuget.org trusted publishing policy only allows package IDs matching Relayer*.
Rename the project to Relayer.Cli; the installed command stays dotnet-relayer.
Also list every published package on the releases page.
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e98830ef-dec5-46da-962d-19b8a3ae76e9
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@thomhurst

thomhurst commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T02:22:42.600739Z 64b9194 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Review of #797 (rename dotnet-relayer project/package to Relayer.Cli).

Checked against the head:

  • Project files are pure renames (100% similarity). ToolCommandName stays dotnet-relayer, so the installed dotnet relayer command is unchanged. The package ID now defaults to Relayer.Cli, which matches the nuget.org trusted publishing pattern the docs cite.
  • Relayer.slnx and the PostgreSql test project reference are updated. A repo-wide grep finds no remaining src/dotnet-relayer paths, in workflows, scripts or docs.
  • Docs (install command, dotnet pack/dotnet run paths, package list in releases.md) are consistent with the rename. The remaining dotnet-relayer mentions correctly refer to the command name.
  • No per-message path is touched, so there is no performance impact. This is a build and packaging change only.

Nit, non-blocking: postgres-schema.md still says "No NuGet packages are published yet" next to the new package-ID text. That predates this PR.

No actionable issues.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 64b9194a5a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@thomhurst
thomhurst marked this pull request as ready for review November 15, 2026 02:21
@thomhurst
thomhurst enabled auto-merge (squash) November 15, 2026 02:21
@thomhurst
thomhurst merged commit bd03cd6 into main Nov 15, 2026
26 of 28 checks passed
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