Repository navigation
fix(providers): honor start day for overnight peak windows - #11718
Merged
diegosouzapw merged 3 commits intoAug 28, 2026
Merged
diegosouzapw merged 3 commits into
diegosouzapw merged 3 commits into
Conversation
pacocartones
marked this pull request as ready for review
August 26, 2026 23:14
…our-overnight-days
pacocartones
force-pushed
the
fix/peak-hour-overnight-days
branch
2 times, most recently
from
August 28, 2026 08:54
a1181d9 to
59d60ee
Compare
diegosouzapw
merged commit Aug 28, 2026
db87fb6
into
cheaper-inference:release/v3.8.51
21 of 29 checks passed
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…nference#11718) Fixes overnight peak-hour windows so 'days' is interpreted as the UTC day the window STARTS, keeping the post-midnight segment protected until its exclusive end boundary — a Monday-only 22:00-02:00 window incorrectly returned inactive on Tuesday at 01:00Z. TDD RED demonstrated, 5/5 focused tests passing. Follow-up to cheaper-inference#11622. Thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dayson overnight peak-hour windows as the UTC day on which the window startsRelated Issues
Validation
npm run lint— inherited stale-suppressions failure reproduced on the clean base (#11600); changed-file ESLint passesFocused evidence:
22:00–02:00window returned inactive on Tuesday at01:00Ztests/unit/peak-hour-protection.test.ts: 5/5 passnpm run typecheck:core: passgit diff --check: passTests Added Or Updated
tests/unit/peak-hour-protection.test.tsCoverage Notes
Reviewer Notes