You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADR-008 compliance: add log-before-raise to remaining raises (C-19) #13
When exceptions are caught by batch handlers (which log at ERROR and continue), the original raise is NOT logged — the failure is both swallowed AND unrecorded.
Requirements
Add logger.error(err_msg) before each raise ValueError(err_msg) in both files
This is a mechanical change — same pattern applied 23 times
Follow the pattern already used in _validate(): construct err_msg, log it, raise with it
Risk Register
C-19 (Tier 3). Part of Cluster B.
Note
If ADR-011 eliminates mapping.py from runtime, the 20 mapping.py raises become moot. The 3 unfao.py raises remain relevant regardless.
Fixed and merged to development via #68 — the 3 manager raises now log-before-raise; the 20 mapping.py raises were moot (mapping.py deleted, C-39). Manager CIC §3 synced. Closing manually (auto-close keyword doesn't fire on development merges).
Activity
docs(register): relocate the dead old-mapper cluster to Resolved (C-3…
Polichinel commentedon Jun 26, 2026
Status vs current
development(2026-06-27): scope much reduced._validatenull/missing-column gates).FileNotFoundError, inside_read_forecast_data's try that doeslogger.error(...); raise).ensemble), :80 (missingloa), :287 (datasets None in_save).delivery/invariants (coverage/identity/observed_range) raise representation-free by design; their manager call sites log context first (e.g._check_coverage,_read_forecast_dataidentity log).Residual = the 3 manager raises above. Mechanical fix, Tier 3.
Merge pull request #68 from views-platform/fix/adr008-log-before-rais…
Polichinel commentedon Jun 27, 2026
Fixed and merged to
developmentvia #68 — the 3 manager raises now log-before-raise; the 20 mapping.py raises were moot (mapping.py deleted, C-39). Manager CIC §3 synced. Closing manually (auto-close keyword doesn't fire ondevelopmentmerges).