-
Notifications
You must be signed in to change notification settings - Fork 368
Open
Description
Bug
gog calendar list returns events with status: cancelled alongside active events. This causes phantom events to appear in calendar listings that don't match what the user sees in Google Calendar UI.
Steps to Reproduce
- Create a calendar event
- Delete/cancel it
- Run
gog calendar list --from <date> --to <date> - The deleted event still appears in the output
Expected Behavior
Cancelled/deleted events should be filtered out by default. The Google Calendar API supports showDeleted=false (which is actually the default per the API docs), but it appears gog may be passing showDeleted=true or not properly filtering the response.
Actual Behavior
Deleted events appear in list results with no indication they're cancelled. This leads to incorrect calendar analysis when automating scheduling.
Example
gog calendar get primary "<event-id>" --account user@example.com
# Shows: status: cancelled
# But this event appeared in the list output as if active
Suggested Fix
Either:
- Ensure
showDeleted=falseis passed to the Calendar API (should be default) - Or filter out events where
status == "cancelled"from list results - Or add a
--show-deletedflag that defaults to false
Environment
- gog v0.11.0
- macOS (arm64)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels