todos-contra-el-fuego-web/imports
vjrj 50ca9cc6cf
All checks were successful
build-image / build (push) Successful in 12m16s
fix(subsUnion): stop treating a failed worker call as a valid empty union
storeUnion checked `typeof union === 'object'` as its "did this work"
guard, but typeof null is also 'object' — so a worker call that failed
(caught upstream, leaving union as its initial null) looked identical
to a legitimate "zero valid subscriptions" result, and got silently
stored as the string "null" instead of being treated as a failure.
This is exactly what corrupted subs-public-union/subs-private-union on
staging just now, while chasing the missing-turf-deps bug.

storeUnion is now only called once calcUnionAsync has actually
resolved; process() and incrementalAdd() catch failures themselves and
skip storing anything, leaving the previous (still valid) union alone.
2026-07-30 08:29:21 +02:00
..
api fix: fire ids leaked into URLs as ObjectID("...") on Mongo 7 2026-07-17 18:31:59 +02:00
modules quality: web debt batch (tests runner, FireContainer, rate-limit, maps, i18n) 2026-07-21 22:59:06 +02:00
startup fix(subsUnion): stop treating a failed worker call as a valid empty union 2026-07-30 08:29:21 +02:00
ui fix(fires): "En rojo, 0 fuegos activos" con el mapa lleno de fuegos 2026-07-28 09:01:05 +02:00