Duplocate synchronize events sent to github app when accepting " Suggested change" #24358
-
When I commit a suggested comment e.g., then two synchronize events are sent to my github app within a second of each other The body of each event is exactly the same. My github app then performs the same action twice, which is not desirable. Is this a bug with the webhooks? it seems like one Is there a way to uniquely identify the events other than hashing the content into a “has this been seen befoore” key? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
👋 @richtier, thanks for reaching out and reporting this. I think it’s very interesting behavior to report and I don’t have an explanation for this. As a next step, I’m interested in reproducing this for myself. Here are my questions:
When you receive a new webhook payload, you can inspect the headers and filter for the value of the |
Beta Was this translation helpful? Give feedback.
-
sorry I thought I marked this as resolved. I was mistaken :slight_smile: |
Beta Was this translation helpful? Give feedback.
👋 @richtier, thanks for reaching out and reporting this. I think it’s very interesting behavior to report and I don’t have an explanation for this. As a next step, I’m interested in reproducing this for myself. Here are my questions:
When you receive a new webhook payload, you can inspect the headers and filter for the value of the
X-GitHub-Delivery
. This is a G…