* feat(calendar): add --send-updates flag to update and delete commands Add --send-updates flag to CalendarUpdateCmd and CalendarDeleteCmd to control notification behavior when modifying or canceling events with attendees. Without this flag, attendees are not notified of updates or cancellations, causing: - Stale events remaining in attendees' calendars - Duplicate/overlapping events when updates are made - Data synchronization issues for systems managing calendars at arm's length Changes: - Add SendUpdates field to CalendarUpdateCmd and CalendarDeleteCmd - Validate SendUpdates value (all, externalOnly, none) - Pass SendUpdates to Patch and Delete API calls - Update truncateParentRecurrence helper to accept sendUpdates parameter - Add tests for validation and API integration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * test(calendar): add integration tests for --send-updates flag Add TestCalendarSendUpdates Go integration test and shell live test that verify attendee notifications are sent on create/update/delete. Tests are opt-in via GOG_IT_ATTENDEE / GOG_LIVE_CALENDAR_ATTENDEE env vars. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(calendar): polish --send-updates landing --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Peter Steinberger <steipete@gmail.com> |
||
|---|---|---|
| .. | ||
| integration_test.go | ||
| live_test.go | ||