fix(ci): keep KISS artifacts outside OTA gate

This commit is contained in:
mikecarper committed 2026-09-21 16:29:49 -07:00
1 parent 68d99b4f2c
commit 8652633595
3 files changed
+33 -5

No files matched your search

+6
View File
@@ -366,6 +366,12 @@ class MessageNavigationTest(unittest.TestCase):
home = source[source.index("class HomeScreen :"):]
home_navigation = home[home.index(" bool handleInput(char c) override {"):]
home_navigation = home_navigation.split("#ifdef COMPANION_EXCLUSIVE_WIFI_BLE", 1)[0]
# This focused navigation harness intentionally omits HomeScreen's
# radio-page timing state. Entering the radio page resets that state
# in production, but it is unrelated to the button routing exercised
# below, so remove only that call from the extracted fragment.
home_navigation = home_navigation.replace(
"if (_page == HomePage::RADIO) resetRadioProfileDisplayPage();\n", "")
home_navigation = home_navigation.replace("{\n", "{\n Screen::handleInput(c);\n", 1)
implementation += ("class HomeScreen : public Screen { public: UITask* _task; "
"enum HomePage {FIRST,MESSAGES,RECENT,RADIO,DISCOVERY,Count}; int _page=0; "
+11
View File
@@ -27,6 +27,17 @@ resolve_command_targets build-firmwares-logging-matrix >/dev/null
|| fail "USB-updated Companion was excluded"
[ "${#OTA_EXCLUDED_TARGETS[@]}" = 2 ] || fail "missing exclusion report"
# KISS is a host-controlled modem, so including it in a logging build does
# not turn it into a self-updating infrastructure node. Its cable-only
# maintenance path must not reject an otherwise valid KISS artifact.
REQUIRE_OTA_UPDATES=1
requires_wireless_self_update Heltec_t096_kiss_modem \
&& fail "KISS modem incorrectly requires wireless self-update"
requires_wireless_self_update nrf_repeater \
|| fail "standalone nRF repeater lost wireless self-update requirement"
requires_wireless_self_update esp_companion_radio_full \
&& fail "Companion incorrectly requires wireless self-update"
parse_cli_options build-firmwares-logging-matrix --allow-no-ota
resolve_command_targets "${PARSED_COMMAND_ARGS[@]}" >/dev/null
[ "${#RESOLVED_BUILD_TARGETS[@]}" = 5 ] || fail "development override lost targets"