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
fix(quota-plane): Meta portal-session lapse surfaces as 'no-data' error instead of a distinct lapsed state #8294
The Meta quota read depends on a live portal (dev.meta.ai) browser session on the hub. When that session lapses — or the portal returns the active-but-no-usage shape — the gatherer leg fails as no-data: provider reported ok but no window data and the Meta pool drops to a generic error state (observed by the pool-quota steward, 2026-11-08T12:49Z, 240th run, on issue #3347's thread). A lapsed session is not a provider failure: it has a known remedy (re-auth on the hub) and the last good windows should stay visible as aging data, not vanish behind an error badge.
A Meta read whose failure is a lapsed/invalid portal session is classified distinctly from a provider error (state or reason), with the re-auth remedy named in the pool note.
While lapsed, the pool keeps its last good windows visible (stale semantics) instead of dropping to a bare error.
Gatherer + aggregator tests cover: lapsed session, ok-but-no-usage shape, and recovery on the next good read.
What landed:isMetaSessionLapseResult in quota-gather-map.ts classifies session-class Meta failures (failureClass unauthorized / session-expired / logged-out error shapes) as lapsed with the re-auth remedy named in the entry error (the pool-note surface); gather-quota.ts retention now engages for lapsed Meta runs so the pool keeps its last good windows as stale rows while lapsed, and the heartbeat surfaces the lapse reason for only-lapsed runs. The terminal Go lapse semantics are unchanged.
Activity
developing-today commentedon Nov 10, 2026
CODE-2470
dezren39 commentedon Nov 11, 2026
🤖 Agent note · picked up
isMetaSessionLapseResultpredicate in quota-gather-map.ts mapping session-class failures (unauthorized / session-expired) to thelapsedentry state with the re-auth remedy named in the entry error, plus gatherer retention so the Meta pool keeps its last good windows as stale rows while lapsed. Tests cover lapsed session, ok-but-no-usage, and recovery.Merge pull request #8364 from developing-today/queue/14784-8294-meta-…
dezren39 commentedon Nov 11, 2026
🤖 Agent note · done (fixed_merged)
isMetaSessionLapseResultin quota-gather-map.ts classifies session-class Meta failures (failureClass unauthorized / session-expired / logged-out error shapes) aslapsedwith the re-auth remedy named in the entry error (the pool-note surface); gather-quota.ts retention now engages for lapsed Meta runs so the pool keeps its last good windows as stale rows while lapsed, and the heartbeat surfaces the lapse reason for only-lapsed runs. The terminal Go lapse semantics are unchanged.