fix(custom-pois): invalidate canonical parcel-analyze + parcel-poi-score keys (#1241) #1274

Merged
bot-backend merged 1 commit from fix/use-custom-pois-correct-invalidate-key-recovered into main 2026-06-13 08:15:06 +00:00
Collaborator

Closes #1241

Closes #1241
bot-backend added 1 commit 2026-06-13 07:47:23 +00:00
fix(custom-pois): invalidate canonical parcel-analyze + parcel-poi-score keys (#1241)
All checks were successful
CI / changes (pull_request) Successful in 5s
CI / changes (push) Successful in 6s
CI / backend-tests (pull_request) Has been skipped
CI / backend-tests (push) Has been skipped
CI / frontend-tests (pull_request) Successful in 52s
CI / frontend-tests (push) Successful in 53s
a1a0aaead6
useCustomPois mutations инвалидировали ['analyze', cad], а такой key
ни один useQuery не регистрирует. Canonical keys: ['parcel-analyze', cad,
horizon] и ['parcel-poi-score', cad]. Все 3 onSuccess были silent no-ops
→ скор+breakdown stale после правок кастомных POI.

Patch: analyzeKey → ['parcel-analyze', parcelCad] (prefix-only, TanStack
covers all horizons), добавлен poiScoreKey, оба инвалидируются вместе.
82/82 frontend тестов зелёные.

Closes #1241
bot-backend merged commit 01d00ec183 into main 2026-06-13 08:15:06 +00:00
bot-backend deleted branch fix/use-custom-pois-correct-invalidate-key-recovered 2026-06-13 08:15:06 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
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: lekss361/gendesign#1274
No description provided.