gitea: Unable to deliver webhook task[53215]: webhook does not exist [id: 134]
Description
2023/07/07 15:54:26 ...s/webhook/webhook.go:125:handler() [E] Unable to deliver webhook task[53215]: webhook does not exist [id: 134]
Gitea Version
v1.20+
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
./gitea web
Database
MySQL
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- Warn instead of reporting an error when a webhook cannot be found (#26039) Attemp fix: #25744 Fixing the log level when we delete any repo then we get error hook not found by id. That should be war... — committed to go-gitea/gitea by puni9869 a year ago
- Warn instead of reporting an error when a webhook cannot be found (#26039) Attemp fix: #25744 Fixing the log level when we delete any repo then we get error hook not found by id. That should be war... — committed to GiteaBot/gitea by puni9869 a year ago
- Warn instead of reporting an error when a webhook cannot be found (#26039) (#26211) Backport #26039 by @puni9869 Attemp fix: #25744 Fixing the log level when we delete any repo then we get error ... — committed to go-gitea/gitea by GiteaBot a year ago
very strange,here is my gitea compiled from the latest commit @puni9869
2023/07/30 01:14:28 ...s/webhook/webhook.go:130:handler() [E] Unable to deliver webhook task[53215]: webhook does not exist [id: 134]
Gitea version:
Gitea version 1.20.0+rc0-422-g11074258f built with GNU Make 4.2.1, go1.20.6 : bindata
I found it but different error
Steps to repo: Create A repo. Commit something. Create a webhook Delete the repo. Then Bingo the error in webhook will produce. @hiifong @silverwind
Maybe yes.
TBH, it’s not the right way. Queue item couldn’t/shouldn’t be deleted ad-hoc.
It should simply ignore the non-existing webhooks.
prod