prop/test/microwaveprop_web/controllers
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/v1 fix: prevent contacts_dedup_idx collisions in parallel async tests 2026-08-04 17:05:16 -05:00
agent_skills_controller_test.exs fix: resolve 158/183 credo --strict warnings 2026-06-12 15:47:15 -05:00
api_catalog_controller_test.exs fix: resolve 158/183 credo --strict warnings 2026-06-12 15:47:15 -05:00
api_docs_controller_test.exs feat: serve API docs at /docs/api 2026-05-09 09:09:45 -05:00
api_token_controller_test.exs fix: resolve 158/183 credo --strict warnings 2026-06-12 15:47:15 -05:00
beacon_monitor_controller_test.exs feat(monitors): schema migration + remove user self-service creation 2026-07-21 18:28:51 -05:00
contact_map_controller_test.exs fix: resolve test failures from async interference and rate limiting 2026-08-04 13:27:15 -05:00
error_html_test.exs initial 2026-03-28 11:28:47 -05:00
error_json_test.exs initial 2026-03-28 11:28:47 -05:00
health_controller_test.exs fix(probes): stop DB saturation from SIGKILLing every pod 2026-04-21 16:00:04 -05:00
html_module_test.exs fix: resolve 64 test failures via sandbox-allow, skip-guards, and cleanup 2026-08-04 12:49:23 -05:00
page_controller_test.exs test: add /qsos→/contacts redirect + scorer conversion properties 2026-04-23 14:03:02 -05:00
scores_controller_test.exs fix(weather): serve the fully zoomed-out viewport instead of 413ing it 2026-08-05 17:44:17 -05:00
user_registration_controller_test.exs fix: resolve 158/183 credo --strict warnings 2026-06-12 15:47:15 -05:00
user_reset_password_controller_test.exs feat(auth): self-service password reset 2026-04-18 08:42:35 -05:00
user_session_controller_test.exs feat(auth): self-service password reset 2026-04-18 08:42:35 -05:00
user_settings_controller_test.exs fix: prevent contacts_dedup_idx collisions in parallel async tests 2026-08-04 17:05:16 -05:00
weather_tile_controller_test.exs fix(weather): serve the fully zoomed-out viewport instead of 413ing it 2026-08-05 17:44:17 -05:00