Page MenuHomePhabricator

Problems with SRE Team Vacations Calendar sync
Closed, ResolvedPublic

Description

I noticed recently that the out-of-office I've got coming up (starting 21 July) isn't appearing in the SRE Team Vacations calendar.

At least one other person reported that theirs also hadn't synced.

It's titled "Out of office" and is set to public, so should be being picked up, I think?

Event Timeline

Ok I spent some time debugging the script (https://script.google.com/home/projects/1k0oMpC0CtdiwLN9zCbvFM_g2z5LtdtMDfV4QMJWLgMi7gljqfJAJb0iI) and it is definitely doing something, even recently:

Jul 7, 2026, 8:39:40 AM	Info	Looking for events for abran@wikimedia.org...
Jul 7, 2026, 8:39:44 AM	Debug	Importing: [abran] Out of office

And it is finding the @MatthewVernon 'out of office' events, although the script filters by "events modified since last run". Would you mind deleting and re-adding the calendar event(s) @MatthewVernon and we'll take a look at the next run ?

Also unfortunately my user can't write to the sre vacations calendar thus I can't interactively test/debug that part of the functionality. Unattended runs work as expected AFAICS

I've just deleted and re-created my OoO starting 21 July. Thanks for looking into this :)

I've just deleted and re-created my OoO starting 21 July. Thanks for looking into this :)

Sure no problem, indeed I can see the OOO event starting July 21st. As to why it failed to import the first time, I don't know how to investigate further tbh :(
One scenario I see is:

  • event is last modified at T0
  • script runs periodically, finds and fails to import the event, eventually the script last run is past T0
  • event is not being considered anymore by the script, until it is modified and/or re-added

execution logs don't go back very far (a week) so hard to say what/when might have happened

Tentatively resolving, feel free to reopen if sth is amiss