Files
Anthias/tests
Viktor Petersson b2f7fde946 fix(viewer): address review — gate Wayland wait on env, share the deadline
- _is_wayland_board() is x86-only, so gating the socket wait on it
  skipped exactly the Pi 5 where ANTHIAS-19 fired. Gate on the
  WAYLAND_DISPLAY env cage exports instead — set on x86/arm64/pi5
  alike, unset on linuxfb/eglfs — so the wait engages on every cage
  board (Copilot)
- Fold the wait into _spawn_webview_once's existing monotonic
  deadline so the socket wait and the handshake share one
  startup_timeout budget rather than stacking up to +10s on the
  inline respawn path (Copilot)
- Drop the now-unused BROWSER_WAYLAND_SOCKET_WAIT_SECONDS constant
- Tests now drive the real env signals (incl. a DEVICE_TYPE=pi5 case
  that fails if the wait is board-gated) and pass a monotonic deadline

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 19:37:29 +00:00
..
2019-09-10 14:28:46 +06:00
2019-09-10 14:28:46 +06:00