gogcli/scripts/live-tests
Toni Melisma 2c7426711c
feat(calendar): add --send-updates flag to update and delete commands (#163)
* 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>
2026-02-14 23:02:27 +01:00
..
calendar.sh feat(calendar): add --send-updates flag to update and delete commands (#163) 2026-02-14 23:02:27 +01:00
classroom.sh test(live): skip unsupported workspace tests 2026-01-17 19:47:46 +00:00
common.sh test(live): expand coverage 2026-01-17 20:07:42 +00:00
contacts.sh test(live): skip unsupported workspace tests 2026-01-17 19:47:46 +00:00
core.sh feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
docs.sh test(live): expand live test coverage 2026-01-17 19:15:47 +00:00
drive.sh test(live): expand live test coverage 2026-01-17 19:15:47 +00:00
gmail.sh perf(gmail): trim message search fields 2026-01-22 01:46:42 +00:00
people.sh test(live): expand live test coverage 2026-01-17 19:15:47 +00:00
sheets.sh test(live): expand live test coverage 2026-01-17 19:15:47 +00:00
slides.sh test(live): expand live test coverage 2026-01-17 19:15:47 +00:00
tasks.sh test(live): cover tasks list create 2026-01-17 20:34:55 +00:00
workspace.sh test(live): expand coverage 2026-01-17 20:07:42 +00:00