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
menubar payload: data-freshness marker for stale readOnly serves #771
The warm-refresh gate (#743) serves the prior complete snapshot when the lock times out or is unavailable, which is correct and fail-closed, but the payload's only time field is the render timestamp, so a stale serve is indistinguishable from a fresh parse. Bounded (self-heals within one refresh cycle) and the served data is real known-good history, so accepted for 0.9.18 per the review's judgment; this tracks surfacing an as-of marker so surfaces can render staleness honestly.
Two complementary never-pushed drafts of the as-of marker were recovered from local session worktrees and preserved as branches, both green on their bases:
feat/771-menubar-data-freshness (base fd4ede2): core plumbing - menubar-json.ts, parser.ts, session-cache.ts, plus gnome/indicator.js; 28/28 menubar-json + 3/3 new freshness tests.
fix/771-menubar-data-freshness (base 8578199): the surfaces - app/renderer types, dash api, mac AppStore.swift / MenubarPayload.swift; 27/27 + 2/2 green.
Sequencing recommendation: hold this until #744 lands. The marker has to thread through precisely the read-only serve paths (timed-out / unavailable / completed-by-other) that #744 is restructuring in parseAllSessions, so building on top of it avoids implementing the honesty marker twice. When #744 merges, the plan is: rebase the core branch onto it, fold in the surfaces branch, re-verify, PR.
PR #1100 now implements the minimal marker: stale?: boolean (add-only) on the menubar payload, fed by isSessionHydrationComplete() — the honesty signal that #937 landed made the core plumbing your feat/ branch carried mostly unnecessary, so the payload side collapsed to a few lines. @ozymandiashh your preserved surfaces branch is now the natural follow-up: the gnome indicator, dash API, and the mac SwiftUI staleness dot can all layer on the stale field once #1100 merges (the Swift Codable model already decodes it; only the view work remains). Sequencing note from your comment is satisfied — the read-only serve paths restructuring landed via #937/#1096.
#1100 merged (ed8fa3a) — the stale payload field is live. @ozymandiashh the surfaces work (gnome indicator, dash API, mac SwiftUI dot) can now layer on it; the Swift Codable model already decodes the field. Leaving this issue open to track the surfaces half.
Activity
ozymandiashh commentedon Aug 3, 2026
Two complementary never-pushed drafts of the as-of marker were recovered from local session worktrees and preserved as branches, both green on their bases:
feat/771-menubar-data-freshness(base fd4ede2): core plumbing -menubar-json.ts,parser.ts,session-cache.ts, plusgnome/indicator.js; 28/28 menubar-json + 3/3 new freshness tests.fix/771-menubar-data-freshness(base 8578199): the surfaces -app/renderertypes,dashapi, macAppStore.swift/MenubarPayload.swift; 27/27 + 2/2 green.Sequencing recommendation: hold this until #744 lands. The marker has to thread through precisely the read-only serve paths (
timed-out/unavailable/completed-by-other) that #744 is restructuring inparseAllSessions, so building on top of it avoids implementing the honesty marker twice. When #744 merges, the plan is: rebase the core branch onto it, fold in the surfaces branch, re-verify, PR.iamtoruk commentedon Aug 22, 2026
PR #1100 now implements the minimal marker:
stale?: boolean(add-only) on the menubar payload, fed byisSessionHydrationComplete()— the honesty signal that #937 landed made the core plumbing your feat/ branch carried mostly unnecessary, so the payload side collapsed to a few lines. @ozymandiashh your preserved surfaces branch is now the natural follow-up: the gnome indicator, dash API, and the mac SwiftUI staleness dot can all layer on thestalefield once #1100 merges (the Swift Codable model already decodes it; only the view work remains). Sequencing note from your comment is satisfied — the read-only serve paths restructuring landed via #937/#1096.iamtoruk commentedon Aug 22, 2026
#1100 merged (ed8fa3a) — the
stalepayload field is live. @ozymandiashh the surfaces work (gnome indicator, dash API, mac SwiftUI dot) can now layer on it; the Swift Codable model already decodes the field. Leaving this issue open to track the surfaces half.payload: add-only stale marker for read-only stale menubar serves (ge…