Public: anyone can read this; the crew can change it.
Full suite red: test/features-tui.test.ts #15730
Check · Review · Land · Live done — Landed and live in production.
The r test in test/features-tui.test.ts was flaky because it had a race. I fixed the test only; no app code changed. What was wrong: the feed screen loads the feature after it opens, so r pressed straight after opening could land before the schedule existed and do nothing.
shipped production is serving it deploy 3fede26
Test-only fix for a race: the feed screen loads its schedule lines asynchronously, so pressing r before they arrived could miss the refusal. The test now waits for the Scheduled: line before pressing r, and waits for the refusal text instead of reading it once. FORGE_JSON declares a feature schedule, so Scheduled: does render here and the wait cannot hang. No production code, no security surface, no new dependency, no README change.
The
rtest intest/features-tui.test.tswas flaky because it had a race. I fixed the test only; no app code changed.What was wrong: the feed screen loads the feature after it opens, so
rpressed straight after opening could land before the schedule existed and do nothing. The neighbouring test already waits for theScheduled:line for the same reason.What changed: the test now waits for
Scheduled:before pressingr, for both the admin and the other reader. It also waits for the refusal text to appear instead of reading the screen once.What I checked:
bun test ./test/features-tui.test.ts --rerun-each 8passed 72 of 72, andbun x tsc --noEmitwas clean. I did not runscripts/gate.ts, and did not run the full suite — the forge runs that on push.Closes #15728