v0.1.2095 (8cbd0a9c9) held a read for the bird's first landing and then
flew it off whenever any read was waiting. Every GET through api() counts,
so a poll landing then sent the bird away over skeletons still up; it came
back after 450ms and did it again. The owner saw it fly off twice and hop
only the third time (10-30), and asked for a longer minimum: two or three
hops, not one.
Now a read back before the bird's third landing (drop 300ms, two hops,
~1.6s) waits for it. At that landing the held reads go in, the bird stands
160ms while the page fills, and then carries on as before: it hops to the
next bar while there is one and flies off only when none is left. The cap
for a window that draws no frames is 3s, up from 1.5s. Comments cut so
app.js stays inside both budgets (app.js 1,311,561 of 1,311,735).
Run on mote (macOS 27), at this tree on origin/main f5dd4e142:
- skeleton-bird, tray-bird, plugin-readme-bird, both engines: 28 pass,
0 fail. New: "a read of something else, as the bird lands, doesn't send
it off while skeletons are up" (four api("/api/state") reads during the
drop; one bird, still hopping 2.5s later). Changed: a load done as the
bird comes waits for three landings, more than 1.3s and less than 3.5s.
- Broken by hand on v0.1.2095's app.js: the stray-read test fails in both
engines (the bird flew off and came again), and the three-landings test
fails in both (363ms, 444ms).
- 20 GUI files around loading pages (modal-centred-late,
plugin-github-wait, plugin-progressive, usage-focus-steady,
usage-stale-answer, routing-js, routing-day-window, routing-time,
usage-refresh, library-loading, sessions-overview, plugin-market,
providers-fetching, gateway-card, panel-usage, agent-models-loading,
plugin-page, i18n-keys, reduce-motion, held-animations): 209 pass, 0
fail.
- go test -run Budget ./internal/gui/: ok. gofmt -l: clean.
Not run: the full GUI suite (another session's full suite holds mote),
Linux and Windows.