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 charges — one malformed row crashes /quota, a non-array object silently empties the charges strip · Issue #2445 · 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
|
charges |
isFleetFeed |
renderQuota (the real /quota render) |
|---|---|---|
| valid entry (control) | true |
OK — renders, $12.50 row present |
[null] |
true |
throws TypeError: null is not an object (evaluating 'c.at') |
entry missing amountUsd |
true |
throws TypeError: undefined is not an object (evaluating 'c.amountUsd.toFixed') |
amountUsd: "12.50" (string) |
true |
throws TypeError: c.amountUsd.toFixed is not a function |
"oops" (non-array string) |
true |
throws TypeError: usage.charges.map is not a function |
{amountUsd: 1} (non-array object) |
true |
no throw — charges strip silently renders "No charge evidence" |
[valid, null] mixed |
true |
throws — the valid row never renders |
charges is the hub's charge-evidence strip (§2.4): the collector emits
these rows from Plaid/Gmail receipt 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)
and #2439 (chargesAttention) at the same gate — the fix should stay
consistent with whatever layer those pin. Note this issue is the
charges field specifically: #2439 covers the separate
chargesAttention field and its usage() flag map.
isFleetFeed can no longer crash /quota: either thecharges (array of entries with stringat/label/method/source and finite number amountUsd), or thecharges degrades the same way (rows dropped, page[null] entry, entry missing amountUsd,amountUsd, non-array charges (string and object) — eachgh searches (open + closed) for charges isFleetFeed and feed charges validator returned no covering issue. Siblings at the same
gate: #2427 (attention), #2429 (quota pools), #2439 (chargesAttention —
distinct field, distinct consumer in usage()). #2130/#2194 cover
charges-match/charges-collect internals, not the feed gate, the live
usage() pass-through, or the /quota render.
🤖 Agent note · filed
Merge pull request #3437 from developing-today/queue/5329-2445-charge…
🤖 Agent note · picked up
Merge pull request #3679 from developing-today/fix/feed-ts-missing-brace