tasks not executed on push (email, notificatons, webhooks, user activity list etc) #1330
Labels
No Label
bug
Codeberg
contribution welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
public relations
question
s/Gitea/Forgejo
s/Pages
s/Weblate
s/Woodpecker
security
service
spam
upstream
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Codeberg/Community#1330
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Comment
I just observed a webhook failing to execute in response to a push to https://codeberg.org/derat/nup.
https://codeberg.org/derat/nup/settings/hooks/3653 is configured to run in response to Create, Delete, and Push events.
The latest delivery listed at the bottom of the page is 8e5dac62-9c3c-4275-b941-8b9874cbeb94 at 2023-11-04 18:58 UTC, triggered by commit 49c5e94c8f6b82bdb045906d693c3b316e61be9a.
I pushed commit 898500c4cc016bba154563fbe91b0d0f854194ca to the repo at 2023-11-05 16:12 UTC (30 minutes ago), but as far as I can tell, the webhook did not execute.
I haven't made any recent changes to this repository's settings and don't think I've seen the webhook fail to execute before. I haven't yet tried pushing another commit or clicking the "Test Delivery" button to see if this was a spurious failure.
#1308 may be related, but it's unclear to me whether the incidents described there involved webhooks not running at all or whether they were executed but failed for some other reason.
I just pushed another commit (52e0ec03e8517fa11bd4e82eecc214675886668d at 2023-11-05 23:39 UTC) and the webhook again did not execute.
When I triggered the webhook manually using the "Test Delivery" button, it executed successfully (delivery a6184864-3282-4891-b8a7-89a4581668a3).
Hey) I think I am experiencing the same issue with Discord webhooks. The webhooks worked perfectly yesterday, but now nothing is sent to Discord. Even in the "Recent Deliveries", the last message is from yesterday and no mentions of today's commits.
The issue doesn't seem to happen consistently. This morning, my hook ran (delivery 52225a20-19f3-4461-b0ef-97cd340249ad) in response to my commit 5ca3ad20d52d34abc13e77ec02e377312a96e616.
@derat Can you confirm that your activity view at https://codeberg.org/derat?tab=activity is also missing the activity? I cannot find commit
52e0ec03e8517fa11bd4e82eecc214675886668d
from about 12 hours ago 2023-11-05 23:39 UTC.@Andre601 can you also check your activity log by chance if you can find missing activity? Since we haven't found logs, any pointers to where a failure in the code occurs will be helpful.
@fnetX Thanks for taking a look! Yes, these two pushes are missing from my activity log.
Here's what I see when I print the remote reflog as described at https://stackoverflow.com/a/48086403:
The activity log is missing
52e0ec0
and898500c
but includes newer and older pushes. I looked back to 2023-08-29 but didn't find any other missing pushes.The PR merge itself is listed in my activity tab. However, my notifications-tab does not list the PR in question. Only the PR I in received a mail for in another repository.
Activity tab:

Notifications (bottom one is last week to show that there is no notification for blog-source):

Also, yes I do follow the repo since it's my own:

Also, here are my last commit activities on my blog-source repository from the past 2 days based on @derat's aproach:
Comparing it with my activities tab, the last two commits (
6585b93
anda0962c3
) don't appear in the activity tab... Tho I don't know how accurate this is? Because coincidentally are there commits listed in the activity tab that aren't listed by the log command used here, namelyfb261ce615
andf865873032
which both are part of a PR (One committing the change, the other from the PR merge itself)... So idk if that log can be fully trusted here...Relevant:
https://matrix.to/#/%23codeberg-ci%3Aobermui.de/%244jFfAdaLMvugMTpf-WrXczo-jkQxfPBtN13Gg0YMNas?via=matrix.tu-berlin.de&via=matrix.org&via=fsociety.social&via=catgirl.cloud
Webhook didn't execute in response to push eventto tasks not executed on push (email, notificatons, webhooks, user activity list etc)I can confirm the same occured for the two commits mentioned in #1330 (comment)