From 5bb6a54475732f61007cd8f45090e1fe205e269d Mon Sep 17 00:00:00 2001 From: Andrei Radulescu Date: Sun, 2 Aug 2026 17:22:10 +0300 Subject: [PATCH 1/4] ci: install headless raylib dependencies --- .github/workflows/tests.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 85475189f8cbb6..c8f37b6a7ac33b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -102,6 +102,7 @@ jobs: steps: - uses: actions/checkout@v7 - run: ./tools/op.sh setup + - run: sudo apt-get install -y --no-install-recommends libegl1 libgles2 - name: Build openpilot run: scons - name: Run unit tests @@ -212,6 +213,7 @@ jobs: steps: - uses: actions/checkout@v7 - run: ./tools/op.sh setup + - run: sudo apt-get install -y --no-install-recommends libegl1 libgles2 - name: Build openpilot run: scons - name: Create UI Report From 3bb582f9a64ba00df713b057d792f4e14cb0e464 Mon Sep 17 00:00:00 2001 From: Matt Purnell Date: Fri, 31 Jul 2026 01:24:21 -0500 Subject: [PATCH 2/4] ui replay: show updater checking and downloading states on software page --- openpilot/selfdrive/ui/tests/diff/replay_script.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openpilot/selfdrive/ui/tests/diff/replay_script.py b/openpilot/selfdrive/ui/tests/diff/replay_script.py index 109f32e47ada96..91e6d3b921d1ca 100644 --- a/openpilot/selfdrive/ui/tests/diff/replay_script.py +++ b/openpilot/selfdrive/ui/tests/diff/replay_script.py @@ -138,6 +138,10 @@ def setup_update_available(available: bool = True) -> None: params.remove("UpdaterTargetBranch") +def set_updater_state(state: str) -> None: + Params().put("UpdaterState", state, block=True) + + def setup_calibration_params() -> None: params = Params() # live calibration @@ -479,6 +483,9 @@ def type_keyboard() -> None: # === Settings - Software === script.setup(lambda: setup_update_available(False), wait_after=0) # start with no update available script.click(278, 720) # software + script.setup(lambda: set_updater_state("checking...")) # updater mid-check + script.setup(lambda: set_updater_state("downloading...")) # updater mid-download + script.setup(lambda: set_updater_state("idle"), wait_after=0) for _ in range(2): script.click(720, 120) # toggle current release notes script.setup(setup_update_available) # set update available From 4bd500cb76ee51df6159e0112755193aae0436cf Mon Sep 17 00:00:00 2001 From: Matt Purnell Date: Fri, 31 Jul 2026 01:24:21 -0500 Subject: [PATCH 3/4] ui: fix value text eliding when it fits ButtonAction sizes the value label rect to exactly fit the measured text, but the width gets rounded when stored as float32 in rl.Rectangle. When it rounds down, the label comes out a fraction of a pixel too narrow and gui_label cuts a whole character, rendering "downloading..." as "downloadin..." and a "nightly" target branch as "nightl...". --- openpilot/system/ui/widgets/list_view.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openpilot/system/ui/widgets/list_view.py b/openpilot/system/ui/widgets/list_view.py index 82613c37c8efac..705cb476de34ba 100644 --- a/openpilot/system/ui/widgets/list_view.py +++ b/openpilot/system/ui/widgets/list_view.py @@ -1,3 +1,4 @@ +import math import os import pyray as rl from collections.abc import Callable @@ -104,7 +105,9 @@ def get_width_hint(self) -> float: value_text = self.value if value_text: text_width = measure_text_cached(self._font, value_text, ITEM_TEXT_FONT_SIZE).x - return text_width + BUTTON_WIDTH + TEXT_PADDING + # round up so the width survives float32 storage in rl.Rectangle, otherwise the + # value label can come out a fraction of a pixel too narrow and get elided + return math.ceil(text_width) + BUTTON_WIDTH + TEXT_PADDING else: return BUTTON_WIDTH From ba8ae285f6a85de911d2fafdd257854cdd104dfa Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 7 Aug 2026 10:38:53 -0700 Subject: [PATCH 4/4] Revert "ci: install headless raylib dependencies" This reverts commit 5bb6a54475732f61007cd8f45090e1fe205e269d. --- .github/workflows/tests.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c8f37b6a7ac33b..85475189f8cbb6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -102,7 +102,6 @@ jobs: steps: - uses: actions/checkout@v7 - run: ./tools/op.sh setup - - run: sudo apt-get install -y --no-install-recommends libegl1 libgles2 - name: Build openpilot run: scons - name: Run unit tests @@ -213,7 +212,6 @@ jobs: steps: - uses: actions/checkout@v7 - run: ./tools/op.sh setup - - run: sudo apt-get install -y --no-install-recommends libegl1 libgles2 - name: Build openpilot run: scons - name: Create UI Report