Skip to content

piggyback clear_scheduled_jobs with its associated events

We somehow got a duplicate job to sneak in, probably due to a race condition with 2 different API pods scheduling clear_scheduled_jobs then shotgun_closes_soon at the same time:

   Showing 4 scheduled jobs                                                                                                                                             │
│ churros-notella-5bcf5999cd-xw9fj                 ID              | Event                | Object ID            | Fire at                                                                                      │
│ churros-notella-5bcf5999cd-xw9fj                 OI-SiZX5n4      | shotgun_closes_soon  | e:zlcm33ngebswokvj   | 2025-02-21 23:20:00 +0000 UTC                                                                │
│ churros-notella-5bcf5999cd-xw9fj                 MIe3pgfcBz      | shotgun_closes_soon  | e:zlcm33ngebswokvj   | 2025-02-21 23:20:00 +0000 UTC                                                                │
│ churros-notella-5bcf5999cd-xw9fj                 pJhDpYuaIV      | shotgun_closes_soon  | e:bngonsnn1vs3ginj   | 2025-03-08 20:50:00 +0000 UTC                                                                │
│ churros-notella-5bcf5999cd-xw9fj                 EkOg7xNM5I      | shotgun_closes_soon  | e:kuykyrzebcc5oj8o   | 2025-02-19 19:50:00 +0000 UTC