Skip to content

Reject UTC timestamp overflow before building reports - #12

Merged
dev-belly merged 1 commit into
mainfrom
fix/utc-boundaries-2026-10-11
Oct 11, 2026
Merged

dev-belly merged 1 commit into
mainfrom
fix/utc-boundaries-2026-10-11

Conversation

@dev-belly

Copy link
Copy Markdown
Owner

ISO timestamps near the supported year boundaries can overflow when their UTC offset is applied. Previously the API raised OverflowError and build/aggregate escaped the CLI error handler. Normalize that condition to a contract ValueError before creating output files; representable boundary timestamps remain accepted.

Validation: the overflow regressions fail on the baseline, then all 91 tests pass after the fix. New coverage checks both UTC endpoints and build/aggregate error code 2 with no output directory.

@dev-belly
dev-belly marked this pull request as ready for review October 11, 2026 04:01
@dev-belly
dev-belly merged commit f9e8758 into main Oct 11, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant