calendar: add test for recurring event EXDATE exclusion #74

Merged
JakeHillion merged 1 commits from feature/lnrsoorupwtz into main 2026-05-13 17:47:18 +01:00
Owner

Recurring events with EXDATE properties were not having their excluded
occurrences filtered out by the calendar tool's list_events function.

Add an integration test that uploads a weekly recurring event with an
EXDATE cancelling the Wednesday instance, then queries across Monday to
Wednesday and asserts the cancelled occurrence is absent.

This test exposes the bug where EXDATE data is ignored during recurrence
expansion, allowing the calendar tool to incorrectly return cancelled events.

Test plan:

  • CI
Recurring events with EXDATE properties were not having their excluded occurrences filtered out by the calendar tool's list_events function. Add an integration test that uploads a weekly recurring event with an EXDATE cancelling the Wednesday instance, then queries across Monday to Wednesday and asserts the cancelled occurrence is absent. This test exposes the bug where EXDATE data is ignored during recurrence expansion, allowing the calendar tool to incorrectly return cancelled events. Test plan: - CI
JakeHillion force-pushed feature/lnrsoorupwtz from 47ccf4bb32 to cc0a8ae331 2026-05-13 17:21:58 +01:00 Compare
JakeHillion added 1 commit 2026-05-13 17:34:06 +01:00
Recurring events with EXDATE properties were not having their excluded
occurrences filtered out by the calendar tool's list_events function.

Add an integration test that uploads a weekly recurring event with an
EXDATE cancelling the Wednesday instance, then queries across Monday to
Wednesday and asserts the cancelled occurrence is absent.

This test exposes the bug where EXDATE data is ignored during recurrence
expansion, allowing the calendar tool to incorrectly return cancelled events.

Test plan:
- CI
JakeHillion force-pushed feature/lnrsoorupwtz from cc0a8ae331 to eae5943372 2026-05-13 17:34:06 +01:00 Compare
JakeHillion scheduled this pull request to auto merge when all checks succeed 2026-05-13 17:34:21 +01:00
JakeHillion merged commit eae5943372 into main 2026-05-13 17:47:18 +01:00
JakeHillion deleted branch feature/lnrsoorupwtz 2026-05-13 17:47:19 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JakeHillion/personal-agent#74