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
1 Commits
Author SHA1 Message Date
JakeHillion eae5943372 calendar: add test for recurring event EXDATE exclusion
CI / nix (push) Successful in 2m34s
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
2026-05-13 17:32:07 +01:00