mirror of
https://github.com/stablyai/orca.git
synced 2026-10-18 08:03:22 +00:00
The two shortest-wait cases (:129 visible resize, :169 pty:getSize applied size) asserted an exact match after a fixed 400-500ms wait. The PTY re-sync after a resize is async (renderer fit -> pty:resize -> daemon -> ioctl); under CI load it lands later than the fixed wait, so the exact check sampled mid-flight and flaked. Poll until the sizes agree (bounded 15s). A genuinely dropped resize that never re-syncs still fails, matching the sibling re-sync tests in this file that already tolerate async timing with longer waits. Co-authored-by: Orca <help@stably.ai>