Skip to content

feat(sync): Microsoft calendar discovery adapter (WP-02) - #3373

Closed
tyler-dane wants to merge 1 commit into
mainfrom
cursor/microsoft-calendar-discovery-3241
Closed

feat(sync): Microsoft calendar discovery adapter (WP-02)#3373
tyler-dane wants to merge 1 commit into
mainfrom
cursor/microsoft-calendar-discovery-3241

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

Fixes #3241

What and why

Implements ProviderCalendarAdapter.discoverCalendars for Microsoft Graph behind an injectable MicrosoftCalendarListApi. The adapter pages GET /me/calendars via @odata.nextLink, maps rows to DiscoveredCalendar (hex color with enum fallback, access roles from isDefaultCalendar/canEdit, capabilities from canEdit), always returns a null incremental cursor, and classifies 401 as authExpired, 429/5xx as transient, and other 4xx as discoveryFailed.

Spec: docs/features/calendar-providers.md

Verify

Summary
Selected packages: sync
Checks run: test:sync:fast, type-check, lint, knip
Checks skipped: (none)

✓ All checks passed
VERDICT: PASS

Checks run: bun test:sync, bun run type-check, bun lint, bun knip, bun run verify --strict

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane marked this pull request as ready for review September 4, 2026 23:55
@tyler-dane tyler-dane added the agent-automerge Agent-loop finished; merge-guard may squash-merge label Sep 4, 2026
@tyler-dane
tyler-dane enabled auto-merge September 4, 2026 23:55
@tyler-dane tyler-dane closed this Sep 5, 2026
auto-merge was automatically disabled September 5, 2026 14:20

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-automerge Agent-loop finished; merge-guard may squash-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[agent] providers M WP-02: Microsoft calendar discovery adapter

2 participants