Repository navigation
Commit 830c90f
committed
connector-outlook-calendar: lifecycle hardening
Port six fixes from google-calendar that were never propagated:
- RSVP write-back: read eventId from meta.eventId (source format
has been qualified with calendarId since 44db2b0; the old strip
left a garbage id and 404'd against MS Graph)
- Subscription renewal: schedule a task 24h before expiry; without
it, MS Graph's 3-day subscription cap silently kills webhooks
- TTL sync lock: prevent webhook-driven incremental sync from
racing in-progress initial sync (both wrote outlook_sync_state)
- Auth-token guards in queued tasks: avoid retry loops when the
token was cleared between dispatch and execution
- channelSyncCompleted: signal completion so the Flutter UI's
"Syncing…" indicator actually clears
- Recovery clear on context.recovering: drop the persisted delta
token so the post-reauth pass re-walks history instead of
resuming from a stale cursor and missing in-gap changes1 parent 1378522 commit 830c90f
1 file changed
Lines changed: 285 additions & 36 deletions
0 commit comments