Skip to content

Schedule: support ScheduleSpec.rrule (RRULE) for calendar recurrence#10067

Open
wei-hai-clickup wants to merge 2 commits intotemporalio:mainfrom
wei-hai-clickup:feature/schedule-spec-rrule
Open

Schedule: support ScheduleSpec.rrule (RRULE) for calendar recurrence#10067
wei-hai-clickup wants to merge 2 commits intotemporalio:mainfrom
wei-hai-clickup:feature/schedule-spec-rrule

Conversation

@wei-hai-clickup
Copy link
Copy Markdown

Implements temporal#10058: compile ScheduleSpec.rrule with teambition/rrule-go and take the min next time alongside calendar and interval.

Dependencies

After api merges: drop the replace, go get the new go.temporal.io/api version, and remove the temporary mirror repo if desired.

Civil 24h intervals: existing behavior on fix/interval-spec-civil-day-dst remains compatible (this branch is RRULE-only).

Made with Cursor

…ezones

When interval is a multiple of 86400s and the schedule has a non-UTC location, advance by whole calendar days at a fixed local time of day (DST-aware) instead of fixed 86400s in UTC.

UTC schedules keep the previous Unix-math behavior.

See temporalio#10058.

Made-with: Cursor
- Parse RFC 5545 rules after canonicalization; DTSTART from start_time or epoch in zone
- rawNextTime unions rrule next times with calendar and interval
- go.mod replace go.temporal.io/api with github.com/wei-hai-clickup/temporal-go-api-rrule@d3838e until api merges

Closes the RRULE path discussed in temporalio#10058.

Made-with: Cursor
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