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=false is passed to the Calendar API (should be default)
- Or filter out events where
status == "cancelled" from list results
- Or add a
--show-deleted flag that defaults to false
Environment
- gog v0.11.0
- macOS (arm64)
Bug
gog calendar listreturns events withstatus: cancelledalongside 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
gog calendar list --from <date> --to <date>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 passingshowDeleted=trueor 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
Suggested Fix
Either:
showDeleted=falseis passed to the Calendar API (should be default)status == "cancelled"from list results--show-deletedflag that defaults to falseEnvironment