Closed Aldaviva closed 1 month ago
This is caused by running the same game twice in the same GDQ event, because the unique key for runs is a compound key made up of the event name and the game name, so if they're both the same they collide, and the program tries to update one in Google Calendar when it should actually be creating it. The iCal UUID needs to be different to account for this possibility.
Modified iCal UUID for events to contain the GDQ event name, run name, and run description (for example Warpless
in the screenshot above). Google Calendar is now being populated with runs and the service isn't crashing anymore.
This is now fixed in production, but still needs unit tests to guarantee its behavior and prevent future regressions. Also the tests break in local development because they try to upload to Google Calendar, corrupting the calendar state and requiring a UUID change to clear.
Fixed tests.
Service is repeatedly crashing with uncaught exception
It's always the same stacktrace with the same missing dictionary key
SSAtPAXWest/Super Mario Bros.
.It only crashes if Google Calendar synchronization is enabled. It crashes almost immediately after the program starts.