prop/test
Graham McIntire 289cfe5eef
Some checks failed
Build and Push / Build CI test image (push) Successful in 10s
Build base image / Build and push base image (push) Successful in 21s
Build and Push / Build and Push Docker Image (push) Has been cancelled
fix(weather): prune dense .sgrid scalar files
ScalarFile.list_valid_time_dirs/1 stripped only a `.hrdps` suffix
before DateTime.from_iso8601/1, so `<iso>.sgrid` and
`<iso>.hrdps.sgrid` never parsed and were skipped by both
prune_older_than/1 and retain_window/2. Since .sgrid is the format the
pipeline actually writes, nothing on the dense tier was ever deleted —
production held 222 files spanning 8 days against a 48h window.

Strip the known suffixes in order, mirroring ProfilesFile's anchored
parser (which documents this exact failure mode for .hrdps.prop).
Orphaned .tmp.* writes still don't parse, so they stay with the tmp
sweep in Propagation.prune_old_scores/0.

Also corrects the CLAUDE.md entry that recorded this as already fixed —
the call site was present, the suffix parsing was not.
2026-08-05 17:52:06 -05:00
..
fixtures NarrClient.extract_profile_from_file/3 + fetch_profile_at/2 2026-04-15 18:54:02 -05:00
microwaveprop fix(weather): prune dense .sgrid scalar files 2026-08-05 17:52:06 -05:00
microwaveprop_web refactor(web): drop the unreachable viewport_too_large guard 2026-08-05 17:51:55 -05:00
mix/tasks fix: prevent contacts_dedup_idx collisions in parallel async tests 2026-08-04 17:05:16 -05:00
support fix: remove compile-time alias to AccountsFixtures in ConnCase 2026-08-05 07:29:15 -05:00
test_helper.exs fix: remove ObanErrorReporter from log suppression list 2026-08-05 10:32:54 -05:00