You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calendar push failures retry on every sync and hide the provider's error #662
When creating a push subscription fails, Nojoin marks the channel failed and is meant to wait 30 minutes before trying again (docs/CALENDAR.md). _should_provision in backend/services/calendar_push_service.py times that wait from updated_at, which only moves on an actual change. Writing the same failure again changes nothing, so every sync and every sweep retries, twice in the same second at times. The warning and last_error keep only httpx's status line, not Graph's error.code and message, so the reason for a 400 can't be seen.
Fix: record the provider's error code and message (no tokens or calendar contents), stamp the attempt time explicitly, back off longer after a 4xx, and say in docs/CALENDAR.md that a CDN or WAF must let Microsoft and Google POST to the two webhook paths.
Fixed by #667. A failed channel stamps its attempt time, waits 6 hours after a 4xx and 30 minutes after a network error, 5xx or 429, and records the provider's error code and message.
Activity
Valtora commentedon Oct 23, 2026
Fixed by #667. A failed channel stamps its attempt time, waits 6 hours after a 4xx and 30 minutes after a network error, 5xx or 429, and records the provider's error code and message.
fix(calendar): stop retrying refused grants and failed push channels (V…