Repository navigation
feat: sync Google Calendar events - #51
Merged
Merged
Conversation
massimoalbarello
added a commit
to massimoalbarello/context-use
that referenced
this pull request
Oct 1, 2026
## Why After YouTube support (#209), Google Calendar events should also become searchable records. This adopts the source implemented first in [Open Sync #51](massimoalbarello/open-sync#51). ## How Add Google Calendar to the OAuth setup and managed sync catalog. Every 15 minutes, sync readable calendars into event records with titles, time ranges, participants, organizers, locations, descriptions, links and recurrence details. Use the same durable checkpoint contract as Open Sync: completed per-calendar change tokens, native page cursors, and account identity. Unchanged polls do not refetch event history or create record revisions. Cancelled events remain marked records; recurring series are not expanded. Expired cursors pause for explicit resync rather than silently replaying history. --------- Co-authored-by: max-agent <max-agent@Massimos-MacBook-Air-2.local>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Following the YouTube source (#48), Google Calendar events should be available as a testable source in Open Sync before Context Use adopts it.
How
Register
googlecalendar.eventsthrough the existing connector. Event records include titles, time ranges, participants, organizers, locations, descriptions, links and recurrence details.Backfill readable calendars once, then follow a completed sync token per calendar. The checkpoint retains account identity, the active calendar, and native event and directory page tokens. Keep the old sync token until the final page commits atomically with its records.
Cancelled events remain marked records; recurring series are not expanded. Expired or rejected cursors pause for explicit resync, which cannot reconcile events missing from a replacement full scan.