From dd8e7987954c3e1df27d2ebe29d52aeea1480096 Mon Sep 17 00:00:00 2001 From: Devis Lucato Date: Mon, 1 Dec 2025 16:01:26 +0100 Subject: [PATCH] feat: include node information in upsert command response MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add node ID to the JSON response of the upsert (put) command to inform users which node was used for the operation. Changes: - Modified UpsertCommand to include node.Id in response output - Response now shows: {id, node, completed, queued, error} - All 301 tests pass with 81.99% coverage 🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier) Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com> --- src/Main/CLI/Commands/UpsertCommand.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/CLI/Commands/UpsertCommand.cs b/src/Main/CLI/Commands/UpsertCommand.cs index b039a2c1d..2e7f13b1d 100644 --- a/src/Main/CLI/Commands/UpsertCommand.cs +++ b/src/Main/CLI/Commands/UpsertCommand.cs @@ -108,6 +108,7 @@ public override async Task ExecuteAsync( formatter.Format(new { id = result.Id, + node = node.Id, completed = result.Completed, queued = result.Queued, error = string.IsNullOrEmpty(result.Error) ? null : result.Error