• v1.27.0 d622b939c8

    v1.27.0 — Pinky W: cheap poll cycles
    All checks were successful
    Checks / Functional checks (push) Successful in 17s
    Stable

    ClaudiuSchuster released this 2026-09-26 08:52:57 +00:00 | 92 commits to main since this release

    Round W — the P0 CPU fix: one open dashboard used to cost ~170 % of a core (station 90–95 °C); now ~2.7 % measured live (G1 2.77 % over a 590 s soak with the tab polling every 3 s; G2 2.65 % under active turns; both far under the 10 %/35 % gates). 67/67 unittests (15 new cache-invalidation tests, one per source class), Super-Linter green, fixture rig E2E PASS (new session + running→terminal each visible in ~1.03 s, ≤ 2 cycles).

    Response cache

    • /api/sessions + /api/usage serve cached bodies behind a change key over EVERY source (session DB + tasks index via stat incl. -wal/-shm + data_version probe, dispatcher ledgers, contract report, questions side-channel, state file, provider config, live /proc digests). Any mutation rebuilds on the NEXT poll; TTL 8 s (ZDO_CACHE_TTL_S) refreshes time-derived fields; both endpoints share ONE fetch per cycle; ZDO_CACHE=0 opts out.

    Hot-path memoization

    • Per-session facts (context, pending questions, activity, hydration, models) keyed on session.time_updated (flushes together with parts/turns — verified live); re-derived only for changed/new/hot sessions; doorbell lineage scan rowid-incremental. Idle rebuild 45 ms (was 2189 ms); old-vs-new payloads identical.

    Visibility governor

    • Hidden tab pauses the main/drawer/modal/dock poll timers; visible re-arms exactly what was armed + one immediate refresh. Default cadence stays 3000 ms.

    Asset: byte-reproducible git archive --format=tar.gz --prefix=zcode-dispatch-observatory/ v1.27.0.

    Downloads