prop/test/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 fix: resolve 391 Credo issues across codebase 2026-06-12 13:51:32 -05:00
controllers fix(weather): serve the fully zoomed-out viewport instead of 413ing it 2026-08-05 17:44:17 -05:00
live fix: prevent contacts_dedup_idx collisions in parallel async tests 2026-08-04 17:05:16 -05:00
plugs Fix LiveView crashes and stabilize test suite 2026-08-01 09:26:47 -05:00
analytics_test.exs feat: harden /map analysis breakdown + move Plausible to root layout 2026-04-21 15:56:30 -05:00
grid_bounds_test.exs fix(weather): serve the fully zoomed-out viewport instead of 413ing it 2026-08-05 17:44:17 -05:00
live_helpers_test.exs refactor: deduplicate helpers and simplify Scorer 2026-04-28 14:14:34 -05:00
live_table_footer_test.exs Show windowed page list in live_table footer 2026-04-13 10:02:19 -05:00
location_resolver_test.exs refactor: deduplicate helpers and simplify Scorer 2026-04-28 14:14:34 -05:00
metrics_log_suppression_test.exs fix(web): suppress HEAD request logs 2026-04-22 16:50:58 -05:00
metrics_plug_test.exs test: push line coverage from 71.7% → 78.67% 2026-04-23 18:43:18 -05:00
skew_t_property_test.exs test(property): add property tests for terrain + atmospheric math 2026-04-21 13:56:39 -05:00
skew_t_test.exs fix: resolve all 281 credo issues across source and test files 2026-07-29 09:04:21 -05:00
telemetry_test.exs Fix LiveView crashes and stabilize test suite 2026-08-01 09:26:47 -05:00
user_auth_test.exs fix: prevent contacts_dedup_idx collisions in parallel async tests 2026-08-04 17:05:16 -05:00