Money landing stays empty after Review cancellation despite a refreshed Budget catalog #1347

Open
opened 2026-10-07 09:55:51 +00:00 by kayg · 0 comments
Owner

Money landing does not select a refreshed Budget after CSV Review cancellation.

Observed in merge32b, head ed12462cee, own production build and server. The fixture creates Household, opens CSV Review, then cancels. Job DELETE returns 204 and Review closes. The existing assertion confirms cancellation creates no new Budget. The route then remains /money and shows No budget yet for 30 seconds.

Diagnostic output, verbatim:

CATALOG DIAGNOSTIC {"serverStatus":200,"serverIds":["household"],"cachedIds":["household"],"empty":true}
RESTORE DIAGNOSTIC {"route":"/money","step":null,"alerts":[],"visible":false,"heading":[]}

Source: apps/web/src/routes/money/+page.svelte calls openFirstBudget once. loadBudgets can return the cached empty array while it refreshes the catalog. The page selects its empty state from that array and does not select a Budget when the catalog refresh completes. The relevant page, layout and store are unchanged from origin/dev 3601719b80. This establishes pre-existing source behavior; a complete baseline runtime replay was not run.

No data loss was observed. The API and client cache both retain Household. The merge32b brief forbids Money logic changes, so this finding is filed without changing product behavior or weakening the route assertion. This blocks completion of the full Money area runner after populated Review cancellation. DESIGN §48 requires the Budget view to remain reachable.

Evidence: artifacts/merge32b/money-catalog-diagnostic.log and screenshots in artifacts/merge32b/money-catalog-diagnostic/. A fix should select the refreshed existing Budget and add a focused regression for an initially empty cached catalog.

Money landing does not select a refreshed Budget after CSV Review cancellation. Observed in merge32b, head ed12462cee1edea9e60f4817fba6373d831010bb, own production build and server. The fixture creates Household, opens CSV Review, then cancels. Job DELETE returns 204 and Review closes. The existing assertion confirms cancellation creates no new Budget. The route then remains /money and shows No budget yet for 30 seconds. Diagnostic output, verbatim: ``` CATALOG DIAGNOSTIC {"serverStatus":200,"serverIds":["household"],"cachedIds":["household"],"empty":true} RESTORE DIAGNOSTIC {"route":"/money","step":null,"alerts":[],"visible":false,"heading":[]} ``` Source: apps/web/src/routes/money/+page.svelte calls openFirstBudget once. loadBudgets can return the cached empty array while it refreshes the catalog. The page selects its empty state from that array and does not select a Budget when the catalog refresh completes. The relevant page, layout and store are unchanged from origin/dev 3601719b80a39f712daf07b37879b22929dfffa0. This establishes pre-existing source behavior; a complete baseline runtime replay was not run. No data loss was observed. The API and client cache both retain Household. The merge32b brief forbids Money logic changes, so this finding is filed without changing product behavior or weakening the route assertion. This blocks completion of the full Money area runner after populated Review cancellation. DESIGN §48 requires the Budget view to remain reachable. Evidence: artifacts/merge32b/money-catalog-diagnostic.log and screenshots in artifacts/merge32b/money-catalog-diagnostic/. A fix should select the refreshed existing Budget and add a focused regression for an initially empty cached catalog.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1347
No description provided.