hatchet-dev / hatchet

A distributed, fault-tolerant task queue
https://hatchet.run
MIT License
3.83k stars 126 forks source link

Webhook workers: upsert logic is suboptimal #652

Open steebchen opened 3 weeks ago

steebchen commented 3 weeks ago

When adding a webhook worker with the same URL, it is upserted and the secret is overriden. This was changed so that you can setup previously deleted webhook workers with the same URL again, but then the secret needs to be exposed, which should actually only happen once on creation and not when updating, except if the webhook worker was previously deleted and is now active again.