Commit Graph
12 Commits
Author SHA1 Message Date
UKMesh Readiness 1924d9de37 Reconcile main forecast, renderer and restore behavior with UKMesh DEV 2026-11-28 13:37:25 +00:00
hermes-gadgetandhermes-gadget e7c0c3cb53 fix(map): isolate zustand/vanilla so the 6.19 worker and renderer start (#239) (#294)
* chore(map): qualify and upgrade MapLibre to 6.19.0 (#239)

6.19.0 stops emitting the two -shared source maps. Require the four
renderer/worker maps, recover the shared maps only when present, and fail
closed unless the recovered inventory still contains src/index.ts,
src/source/worker.ts and src/util/actor_messages.ts.

Bump the version guard, cache directory and completion stamp to 6.19.0,
and pin maplibre-gl to 6.19.0 in package.json/package-lock.json.

* fix(map): isolate zustand/vanilla in the MapLibre chunk graph (#239)

MapLibre 6.19 keeps map state in a zustand/vanilla store that
src/ui/map_state.ts imports at module scope. Rollup placed that module
inside the lazily imported components/Map/maplibre.ts facade, so the
MapLibre core chunk imported the facade back and the two formed a chunk
cycle. The facade's module-scope setWorkerUrl() then ran before the core
chunk initialised src/util/config.ts, throwing "Cannot set properties of
undefined (setting 'WORKER_URL')" and rendering the app error boundary.

Give zustand/vanilla its own codeSplitting chunk. It has no imports, so
the shared worker graph reaches neither the facade nor the React chunk
(which cycles with the app entry and would throw "document is not
defined" in the worker).

* chore(frontend): re-baseline the all-JS gzip ceiling to 905 KiB (#239)

MapLibre 6.19 costs ~17 KiB gzip over 6.11.2 and the 900 KiB ceiling had
48 bytes of headroom before the upgrade. The deployed website image
measures 901.2 KiB, so the old ceiling fails on the merged tree. 905 KiB
leaves ~3.5 KiB of headroom.

* chore(frontend): raise all-JS gzip budget to 910 KiB for MapLibre 6.19

---------

Co-authored-by: hermes-gadget <hermes-gadget@users.noreply.github.com>
2026-11-27 22:53:49 +00:00
Codex f435d469ba fix(map): defer GPU resources and fence style restoration 2026-11-12 23:13:03 +00:00
Codex 58e63861d9 docs: describe feature lifecycles and owned development checks 2026-11-12 20:03:18 +00:00
Codex 0975d07d0a docs: reconcile 2.0 runbooks, privacy notice and performance evidence 2026-11-12 12:42:09 +00:00
Codex a5c540cf59 perf(map): avoid presence-only rebuilds and coalesce status renders 2026-11-12 06:45:24 +00:00
Codex da07c8cd5d perf(frontend): gate visible polling and fingerprint font assets 2026-11-12 06:24:08 +00:00
Codex fa5ce50b7e perf(website): use native embedded maps and enforce navigation budgets 2026-11-12 05:46:08 +00:00
gadgethd 36f3741b74 Reconcile audited performance and correctness fixes with current main 2026-11-01 14:33:49 +00:00
gadgethd 4553647f54 feat: integrate HopReach RF coverage 2026-08-02 14:11:11 +01:00
gadgethd 5db382e181 feat: complete codebase reliability upgrade 2026-08-02 03:40:11 +01:00
Ben 21224a0525 Refactor backend, map, and worker boundaries
- split backend API into route/service/repository boundaries across stats, owner, and pathing\n- extract shared API bootstrap and helper modules\n- reduce MapLibreMap into smaller frontend map modules with extracted builders, config, popup UI, and types\n- continue worker modularization by extracting RF terrain/tile helpers alongside RF config and loss helpers\n- add repo-local architecture, DB lifecycle, link model, pathing, frontend map, and contributing docs\n\nThis is the verified refactor checkpoint: backend and frontend builds passed, worker syntax checks passed, affected containers were rebuilt, and /healthz is OK.
2026-03-20 17:45:47 +00:00