You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(cli): stabilize TUI startup render assertions in Linux CI #1008
A TUI runner test added during PR #1006 asserted the initial status line through the shared waitFor helper. The test passed locally both in isolation and as part of the complete CLI suite, but failed twice in Linux CI at the helper's fixed 250 ms deadline.
The failures completed at 251.76 ms and 254.53 ms. The other 351 CLI tests passed, including the synchronous status-line contract tests. Removing this timing-dependent runner assertion made the complete CI suite pass.
TUI startup assertions should synchronize on an observable render completion signal instead of depending on a short wall-clock deadline.
How to reproduce
At commit 0a98719c, run the complete test:dist suite in the GitHub Actions Linux environment.
Observe shows the default thinking status for Ollama Cloud GLM-5.2.
The assertion times out in waitFor after 250 ms.
Rerun the failed job and observe the same timeout.
The same test passes locally in approximately 6 ms, including within the complete CLI workspace suite.
A suitable fix should add deterministic render synchronization to the TUI test harness or use a synchronous observable seam. Merely increasing the shared timeout would retain the underlying timing dependency.
Activity