Skip to content

calendar events: silent truncation at default --max=10 with no indication more results exist #821

Description

@MatthewDelprado

Problem

gog calendar events defaults to --max=10 results. When a date range contains more than 10 events, the output is silently truncated — there's no warning, no pagination hint, and no indication that results were cut off.

Reproduction

gog calendar events <calendarId> -a <account> --from <start> --to <end>

If the range contains >10 events, only 10 are returned with no truncation notice.

Impact

An AI agent querying a 2-week calendar range missed a birthday party event because it was the 11th result in the window. The event was within the requested date range but silently dropped.

Expected behaviour

One of:

  • Warn when results are truncated (e.g. ⚠ Results truncated — use --all-pages for complete list)
  • Default --max to a higher value (e.g. 250, matching Google Calendar API max)
  • Auto-paginate by default when --from/--to are set (intent is clearly "give me everything in this range")

Workaround

Use --all-pages flag, but this is not documented prominently and is easy to miss.

Version

v0.14.0 (469f4b4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions