From 6a1c4422079b075fb7900890fa09819f41aee8b1 Mon Sep 17 00:00:00 2001 From: mbelinky <132747814+mbelinky@users.noreply.github.com> Date: Wed, 18 Feb 2026 20:30:52 +0100 Subject: [PATCH] fix(cli): colorize push.test failures as errors --- CHANGELOG.md | 1 + src/cli/nodes-cli/register.push.ts | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 827c1e2749e..391291777ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Docs: https://docs.openclaw.ai ### Changes +- Gateway/APNs: add a push-test pipeline for APNs delivery validation in gateway flows. (#20307) Thanks @mbelinky. - iOS/Watch: add an Apple Watch companion MVP with watch inbox UI, watch notification relay handling, and gateway command surfaces for watch status/send flows. (#20054) Thanks @mbelinky. - Gateway/CLI: add paired-device hygiene flows with `device.pair.remove`, plus `openclaw devices remove` and guarded `openclaw devices clear --yes [--pending]` commands for removing paired entries and optionally rejecting pending requests. (#20057) Thanks @mbelinky. - Skills: harden coding-agent skill guidance by removing shell-command examples that interpolate untrusted issue text directly into command strings. diff --git a/src/cli/nodes-cli/register.push.ts b/src/cli/nodes-cli/register.push.ts index 4cf6fa79da7..a4a6fa37626 100644 --- a/src/cli/nodes-cli/register.push.ts +++ b/src/cli/nodes-cli/register.push.ts @@ -75,8 +75,9 @@ export function registerNodesPushCommand(nodes: Command) { typeof parsed.environment === "string" && parsed.environment.trim().length > 0 ? parsed.environment.trim() : "unknown"; - const { ok: okLabel } = getNodesTheme(); - defaultRuntime.log(okLabel(`push.test status=${status} ok=${ok} env=${env}`)); + const { ok: okLabel, error: errorLabel } = getNodesTheme(); + const label = ok ? okLabel : errorLabel; + defaultRuntime.log(label(`push.test status=${status} ok=${ok} env=${env}`)); if (reason) { defaultRuntime.log(`reason: ${reason}`); }