Skip to content

Honor partitionOffset in scheduler partition time - #88

Merged
thoven87 merged 1 commit into
mainfrom
hotfix-scheduling
Sep 28, 2026
Merged

thoven87 merged 1 commit into
mainfrom
hotfix-scheduling

Conversation

@thoven87

Copy link
Copy Markdown
Owner

Summary

Update StrandScheduler to compute partitionTime with each schedule’s configured partitionOffset instead of a hardcoded zero offset, including backfill slots and normal firing. This aligns backfill metadata with fire() behavior, improves logging when partition-time calculation fails, and switches the loop sentinel task ID to UUID.v7() to match time-ordered ID conventions.

Changes

Testing

  • swift test passes locally

AI Disclosure

  • I used AI assistance while working on this PR

Tool(s) used:

Extent of use:

Was the PR description itself AI-generated?

Update StrandScheduler to compute partitionTime with each schedule’s configured `partitionOffset` instead of a hardcoded zero offset, including backfill slots and normal firing. This aligns backfill metadata with `fire()` behavior, improves logging when partition-time calculation fails, and switches the loop sentinel task ID to `UUID.v7()` to match time-ordered ID conventions.
@thoven87
thoven87 merged commit c912847 into main Sep 28, 2026
5 checks passed
@thoven87
thoven87 deleted the hotfix-scheduling branch September 28, 2026 03:02
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