Repository navigation
fix(reminders): fix scheduling for long due times - #10260
Merged
ReubenBond merged 7 commits intoJul 14, 2026
Merged
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8918d343-e257-480a-a64f-994f87c8fec1
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8918d343-e257-480a-a64f-994f87c8fec1
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8918d343-e257-480a-a64f-994f87c8fec1
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8918d343-e257-480a-a64f-994f87c8fec1
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8918d343-e257-480a-a64f-994f87c8fec1
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8918d343-e257-480a-a64f-994f87c8fec1
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8918d343-e257-480a-a64f-994f87c8fec1
This was referenced Jul 22, 2026
This was referenced Jul 29, 2026
This was referenced Jul 29, 2026
Merged
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes #10249.
Add internal
TimeProviderextensions which wait in timer-safe chunks. Absolute deadlines are recomputed after each chunk, and relative delays use provider timestamps so delays up toTimeSpan.MaxValueremain cancellable without overflowingDateTime.Use
AsyncTimerfor local reminders and recalculate each wait from the reminder'sStartAtandPeriod. This supports both long initial delays and long periods while preserving cadence after late delivery, schedule updates, and shutdown cancellation.Add fake-time regression coverage for the native timer boundary, 60-day reminder periods, overdue cadence, and overflow limits.