From 3da0905ba6fac38b9965052cc58db0d8cd3961f8 Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 21 Jun 2026 00:34:25 +0000 Subject: [PATCH] fix(hwlab): expose trigger rerun guidance --- scripts/src/hwlab-node-help.ts | 5 +++++ scripts/src/hwlab-node-impl.ts | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/src/hwlab-node-help.ts b/scripts/src/hwlab-node-help.ts index 52c72576..6dc3fde9 100644 --- a/scripts/src/hwlab-node-help.ts +++ b/scripts/src/hwlab-node-help.ts @@ -30,6 +30,7 @@ export function hwlabNodeHelp(): Record { "bun scripts/cli.ts hwlab nodes control-plane public-exposure --node D601 --lane v03 --dry-run", "bun scripts/cli.ts hwlab nodes control-plane public-exposure --node D601 --lane v03 --confirm", "bun scripts/cli.ts hwlab nodes control-plane trigger-current --node G14 --lane v03 --confirm", + "bun scripts/cli.ts hwlab nodes control-plane trigger-current --node D601 --lane v03 --confirm --rerun", "bun scripts/cli.ts hwlab nodes control-plane runtime-migration --node D601 --lane v03 --dry-run", "bun scripts/cli.ts hwlab nodes control-plane runtime-migration --node D601 --lane v03 --confirm", "bun scripts/cli.ts hwlab nodes control-plane allow-endpoint-bridge --node G14 --lane v03 --confirm", @@ -55,6 +56,10 @@ export function hwlabNodeHelp(): Record { "bun scripts/cli.ts hwlab nodes observability workbench-summary --node D601 --lane v03", "bun scripts/cli.ts hwlab nodes observability performance-summary --node D601 --lane v03", ], + notes: [ + "`trigger-current` skips an already succeeded PipelineRun for the same HWLAB source commit by default.", + "Use `--rerun` for a deliberate YAML-first config-only publish when UniDesk node/lane render inputs changed but the HWLAB source commit did not." + ], }; } diff --git a/scripts/src/hwlab-node-impl.ts b/scripts/src/hwlab-node-impl.ts index 3d7a7eac..05b9c554 100644 --- a/scripts/src/hwlab-node-impl.ts +++ b/scripts/src/hwlab-node-impl.ts @@ -2664,9 +2664,15 @@ function nodeRuntimeTriggerCurrent(scoped: ReturnType