KenEucker / biketag-vue

A vue app for the game of BikeTag played worldwide at biketag.org including the published biketag-vue component library
https://biketag.org
GNU Affero General Public License v3.0
22 stars 13 forks source link

[BUG] The autopost-notify function does not always complete #248

Open KenEucker opened 7 months ago

KenEucker commented 7 months ago

Describe the bug Notifications don't consistently go out, because of, I guess, issues with the functions running time. This should be investigated, but a solution for this could also be turning the function into a background-function.

To Reproduce Steps to reproduce the behavior:

  1. A new biketag is posted
  2. Check slack for post from Netlify forms
  3. A new round is posted for a game
  4. Check slack for a BIkeTag notification that matches one of the previously submitted biketags above.

Expected behavior Each time a new BikeTag is posted, notifications should be sent out to slack, discord, and email. Checking slack for notifications from Netlify has been a very reliable marker for BIkeTag submissions, but I was never able to get the backend calling of these forms to work (which is how we would trigger other actions like autopost-notify from the form-submissons function.

Screenshots

Screenshot 2024-02-11 at 8 43 47 AM

Additional context

Proposed solution is pieced together above, but essentially fix form-submissions so that it can be used for all steps of creating new biketag posts from the frontend and then use the appropriate functions for each action, including autopost-notify.