Skip to content

fix: reject overflowing time durations - #283

Open
be-student wants to merge 2 commits into
FraiseHQ:mainfrom
be-student:fix/duration-overflow
Open

fix: reject overflowing time durations#283
be-student wants to merge 2 commits into
FraiseHQ:mainfrom
be-student:fix/duration-overflow

Conversation

@be-student

Copy link
Copy Markdown

Closes #272.

Rejects relative time values whose unit multiplication would overflow time.Duration, including values that wrap back to a positive duration.

Validation: focused parser tests, full Go suite, and make lint-go.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

Thanks for the contribution.

Before this can be merged, the following need to sign the CLA: be-student

To sign, post a comment on this pull request containing exactly:

I have read the CLA Document and I hereby sign the CLA

@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

[BUG]: since:/until: durations overflow silently and point into the future

2 participants