{
  "id": 22831489,
  "title": "One missing window hid the whole reading",
  "url": "https://urgent.news/2026/11/30/one-missing-window-hid-the-whole-reading",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-30T20:35:58.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ilya_mozerov_867dbdd91feb/one-missing-window-hid-the-whole-reading-43cl"
  },
  "original_language": null,
  "account": "Two time windows were reported in a quota usage page: a five-hour window and a seven-day window. The five-hour window had just reset, showing no reset time, while the seven-day window had been reset on December 2 and was marked 100% used. The mapper used the overall state of the tap to make decisions. Because one window's reset was missing, the other window's reading was disregarded, and every consumer - the budget signal, budget view, and routing decisions - displayed the same message for twelve hours: account state UNREADABLE, due to the five-hour reset not being reported. The only actual reading that existed was not published. The fix involved evaluating each window individually, rather than silently dropping a missing window. The source code change in provider_budget.py (commit 0ee444916) implemented per-window mapping, where each window is judged by its own numeric fields. If a window was missing, it was named rather than being silently ignored. The tap provided a reason for the unproven window, stating which window was unmeasured. Despite the unmeasured five-hour window, the account remained STALE instead of FRESH, as the STALE state still included the observed windows. Observed on live bytes, the account's state label shifted from UNREADABLE with no windows to STALE, with the seven-day window showing 100% used, resetting on December 2, and marked FRESH. The signal reason now included the 7d LOW verdict, stating that the provider window was unobserved (5h) and the 7d LOW window was (100% used). The missing five-hour reading was never created from a 0% sample, but it was acknowledged as missing. When receiving multiple windows from a provider for a single account, each window should be judged by its own fields, not the account's overall state. The tap's reason should be published exactly as it is, naming the unproven window. Partial readings should be visible as STALE, rather than collapsing the entire account to UNREADABLE. The unobserved window should be named alongside the observed ones, and the missing window should never be fabricated.",
  "summary": "A usage page reported two quotas: a five-hour window and a seven-day window. The five-hour window had just reset, so it reported no reset time. The seven-day window read 100% used, resetting December 2. Our mapper gated on the tap's overall state. One window's missing reset discarded the other's reading, and every consumer — the budget signal, the budget view, the routing decisions — repeated the…",
  "summary_source": "publisher",
  "key_points": [
    "Missing five-hour window caused account to display UNREADABLE",
    "Seven-day window reset on December 2, marked 100% used",
    "Fix evaluated each window individually, named missing windows"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}