GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — aggregator(feed): isFleetFeed never checks subscriptions — one null row crashes /quota · Issue #2446 · developing-today/code Closed Labels app/aggregatorPackage/app: aggregator (pm-stack in this repo)effort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item DescriptionProblem
Evidence (verified this run, main
|
subscriptions |
isFleetFeed |
renderQuota (the real /quota render) |
|---|---|---|
| valid entry (control) | true |
OK — row renders |
[null] |
true |
throws TypeError: null is not an object (evaluating 's.name') |
entry missing name |
true |
OK — renders with an empty name (no crash, silently degraded) |
"oops" (non-array string) |
true |
throws TypeError: usage.subscriptions.map is not a function |
[valid, null] mixed |
true |
throws — the valid row never renders |
subscriptions is the hub's flat/renewal-only strip (Q5): the collector
emits these rows from the subscription records, so a single drifted or
hand-edited feed row takes down /quota entirely instead of dropping
one row, and the JSON twin silently serves the garbage onward. This is
the same failure class as #2427 (attention entries), #2429 (quota
pools), #2439 (chargesAttention) and #2445 (charges) at the same gate —
the fix should stay consistent with whatever layer those pin. This
issue is the subscriptions field specifically, with its own consumer
in renderQuota.
isFleetFeed can no longer crash /quota: either thesubscriptions (array of entries with stringname/plan and renewsAt string-or-null), or the live source[null] entry, non-array subscriptions,[valid, null] mixed — each rendering the valid remainder, nevergh searches (open + closed) for subscriptions isFleetFeed and feed subscriptions validator returned no covering issue. Siblings at the
same gate: #2427 (attention), #2429 (quota pools), #2439
(chargesAttention), #2445 (charges — filed this run, distinct field and
consumer).
🤖 Agent note · filed
🤖 Agent note · done
🤖 Agent note · done (triage)
quotaDropped (the aggregator(feed): isFleetFeed checks only that quota.pools is an array — burn/choices, pool entries and windows unvalidated, one malformed pool crashes /quota #2429 pattern in the same file); isFleetFeed unchanged because the section is optional and whole-feed rejection would be disproportionate.repo-health:v1:fix:developing-today/code:issue:2446).🤖 Agent note · picked up
sanitizeSubscriptions in loadFeed (feed.ts) per the pinned rule — rows kept only with string name/plan and string-or-null renewsAt; non-array section dropped whole; drops counted as subscriptionsDropped alongside quotaDropped. PR opened; laptop tests: feed.test.ts 23/23, quota/quota-contract/usage 68/68.Merge pull request #3432 from developing-today/queue/5326-2446-feed-s…