prop/lib/microwaveprop_web
Graham McIntire 9a3e956cf8
Some checks failed
Build and Push / Build CI test image (push) Successful in 20s
Build base image / Build and push base image (push) Successful in 26s
Build prop-grid-rs / Test, build, push (push) Failing after 2m53s
Build and Push / Build and Push Docker Image (push) Has been cancelled
fix(weather): serve the fully zoomed-out viewport instead of 413ing it
The map sets minZoom: 4, and a z=4 viewport on a wide window clamps to
the full grid extent (45° lat × 100° lon = 4500 sq deg), which exceeded
the 4000 sq deg cap. The request 413'd and the hook dropped it
silently, so zooming all the way out blanked the overlay.

Raise the cap to 4600 — just above the largest area the clamp can
emit. The clamp, not this cap, is what bounds the work: post-clamp no
request can exceed the full grid (~92k cells, ~1.4 MB), which is
already materialized once per valid_time and served from cache. The
cap stays as defense-in-depth against the clamp window being widened
later.

Consequence: :viewport_too_large is now unreachable via clamp/1, so
the tests that pinned global bounds to a 413 are inverted to assert
the clamped extent is served.
2026-08-05 17:44:17 -05:00
..
api refactor: DRY extract_bearer, reuse validation helpers, add query limits 2026-07-21 10:06:12 -05:00
components refactor: extract shared admin_links component, add to map sidebar 2026-08-02 12:50:51 -05:00
controllers Optimize contact map rendering performance 2026-08-02 13:21:15 -05:00
live fix: decode beacons_json before mutating in patch/remove helpers 2026-08-04 17:10:26 -05:00
plugs fix(remote_ip): log IPv6 in canonical hex via :inet.ntoa 2026-04-25 18:05:46 -05:00
endpoint.ex chore: remove all APRS-related code and fix credo issues 2026-08-04 12:12:28 -05:00
grid_bounds.ex fix(weather): serve the fully zoomed-out viewport instead of 413ing it 2026-08-05 17:44:17 -05:00
live_helpers.ex refactor: deduplicate helpers and simplify Scorer 2026-04-28 14:14:34 -05:00
live_table_footer.ex Fix low-severity bugs and re-enable Credo checks 2026-05-29 17:29:22 -05:00
live_table_resource.ex fix(dialyzer): actually fix LiveTable warnings instead of hiding them 2026-04-21 12:58:10 -05:00
location_resolver.ex refactor: deduplicate helpers and simplify Scorer 2026-04-28 14:14:34 -05:00
metrics_plug.ex fix: resolve 27 security, architecture, test, and performance audit findings 2026-07-27 18:19:37 -05:00
router.ex chore: remove all APRS-related code and fix credo issues 2026-08-04 12:12:28 -05:00
sandbox_hook.ex fix: resolve 64 test failures via sandbox-allow, skip-guards, and cleanup 2026-08-04 12:49:23 -05:00
skew_t.ex Rename ERA5 → NARR across the codebase 2026-04-16 09:22:23 -05:00
telemetry.ex Fix low-severity bugs and re-enable Credo checks 2026-05-29 17:29:22 -05:00
user_auth.ex fix: resolve 27 security, architecture, test, and performance audit findings 2026-07-27 18:19:37 -05:00