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
cua serve teardown budget (5 s) is not controllable; serve-cli/serve-lazy flake under load #145
Found while making cua's timing tests event-driven for CI (PR #143), where these tests were deferred.
The only logged serve-cli / serve-lazy failures came from cua serve's own teardown budget (5 s). It ran out on a MacBook run at load 107–154 with the own REPL host. A test-only fix is impossible: serve() does not forward teardownBudgetMs, and serve-cli spawns the CLI, so a test cannot widen or control the budget.
On the hosted macOS gate, none failed in 10 full-suite runs at 2× induced load, so CI is green for now.
Options:
forward teardownBudgetMs through serve() and the CLI (an env var or flag), so tests can control it;
make teardown wait for the events it needs rather than a wall-clock budget.
Activity
SSFSKIM commentedon Nov 1, 2026
[board] ready-for-architect: Board repair: filed outside the board scripts with no status label; placed in the design backlog for triage