R-1112: open the family store when the controller starts
gates / gates (push) Successful in 46s

Found on demo-hp with 0.325.0-rc.1: the store (and so the conversion of an old family.json) opened only on the
first family request; a box nobody visits through a family gate kept the session values. OpenFamilyStore from
main, one INFO line with the count. TestR1112_StartConvertsTheFamilyFile, TestR1112_MainOpensTheFamilyStore,
red-proved.

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-10-17 09:56:12 +02:00
1 parent 94f44931dd
commit 6ed223886d
6 files changed
+82 -2

No files matched your search

+5 -2
View File
@@ -13,8 +13,11 @@ burndown 3 (felhom.eu `REPORT-burndown-3-2026-10-17.md`).
gate stays shut for members, the household passes). Family app cookies are derived from the fingerprint, so a cookie
minted before this version is refused ONCE and the browser passes through `/__family/start` again (no new sign-in
while the family session holds). A rollback below this version signs family members out once (the old reader does
not know `fp`). Tests `TestR1112_FamilyFileHoldsNoUsableSession`, `TestR1112_OldFamilyFileIsConvertedOnLoad`,
`TestFamily_OldFileThatCannotBeRewrittenIsAnError`, red-proved.
not know `fp`). **The store is opened when the controller starts** (`webServer.OpenFamilyStore`, one INFO line with
the count): found live on demo-hp with rc.1 — the store opened only on the first family request, so a box nobody visits
through a family gate kept the old file. Tests `TestR1112_FamilyFileHoldsNoUsableSession`,
`TestR1112_OldFamilyFileIsConvertedOnLoad`, `TestFamily_OldFileThatCannotBeRewrittenIsAnError`,
`TestR1112_StartConvertsTheFamilyFile`, `TestR1112_MainOpensTheFamilyStore`, each red-proved.
- **R-1113** — `/__family/start` with the household's dashboard session reuses the household's live family session
(`Store.HouseholdSession`; a new one only when less than half of the 30 days is left), instead of one more per pass.
`TestR1113_HouseholdPassesLeaveOneSession` (6 passes → 1 session), red-proved.