From 90ccd5be0d865f6dca70e2852d3d0946ea10a7c8 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 19 Sep 2026 15:05:51 -0700 Subject: [PATCH] ci(mobile): run mobile checks on desktop xterm source-patch edits regenerate-xterm-patches-mobile.mjs derives the mobile patch from the desktop `ColorContrastCache.ts` stanza and `xterm-upstream.json`, so an edit to either changes what the mobile patch check expects while mobile.yml never triggers. --- .github/workflows/mobile.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.yml index 968610bfb8d..1f1ef1cc297 100644 --- a/.github/workflows/mobile.yml +++ b/.github/workflows/mobile.yml @@ -10,6 +10,11 @@ on: paths: - 'mobile/**' - 'config/scripts/xterm-patch-text*' + # Why: regenerate-xterm-patches-mobile.mjs derives the mobile patch from the desktop + # contrast stanza and this manifest, so a desktop-only edit moves what the mobile + # check expects and must re-run it. + - 'config/patches/xterm-src/**' + - 'config/patches/xterm-upstream.json' # Mobile launch contracts exercise the real host dispatcher and durable receipt store. - 'src/main/agent-launch/**' - 'src/main/runtime/rpc/**' @@ -48,6 +53,8 @@ on: paths: - 'mobile/**' - 'config/scripts/xterm-patch-text*' + - 'config/patches/xterm-src/**' + - 'config/patches/xterm-upstream.json' - '.github/workflows/mobile.yml' concurrency: