Issue #7287 duplicate

webhook services seems to stop firing

William Li
created an issue

I notice that none of my webhook services was fired after pushes to bitbucket. normally i get notice on flowdock and deployHQ (for deployment)

Comments (7)

  1. Arlo Carreon

    I am noticing the same thing accept that they are firing but with no commit data. Here is my log for my webhook.

    // Web Hook Post: May 6, 2013, 3:39 pm
    {"repository": {"website": "http://www.mdvlms.com/", "fork": false, "name": "LMS", "scm": "git", "owner": "midealervirtual", "absolute_url": "/midealervirtual/lms/", "slug": "lms", "is_private": true}, "user": "jozeperez", "truncated": false, "commits": [], "canon_url": "https://bitbucket.org"}
    
    // Web Hook Post: May 6, 2013, 4:21 pm
    {"repository": {"website": "http://www.mdvlms.com/", "fork": false, "name": "LMS", "scm": "git", "owner": "midealervirtual", "absolute_url": "/midealervirtual/lms/", "slug": "lms", "is_private": true}, "user": "jozeperez", "truncated": false, "commits": [], "canon_url": "https://bitbucket.org"}
    
  2. Erik van Zijst staff

    Arlo Carreon There are legitimate circumstances under which the commit array may be empty. For instance in Git, when you create a new tag to an existing commit, your push does not carry any new commits and so you'd see what you are describing.

    Having said that, I've pushed several changes related to this issue earlier today. Specifically for cases where sometimes we'd report an empty commit list even when your push did contain new commits. Can you let me know if you're still seeing this problem?

  3. Arlo Carreon

    Erik van Zijst

    Thanks for the info, I didn't know that there were cases where we would get empty commit arrays. This particular log was after a merged in pull request failed to get pulled on production. After tracing it back I found the webhook logged the above data.

    According to my logs, it seems we continued to have empty commit arrays until 4:00pm on the 7th. Like you mentioned they could have been tags being pushed to BB. None the less, on May 7th 4:09pm was the first commit with a filled commits array and afterwards 5 more commits were successfully pulled into production.

    Thanks for the attention to this issue.

  4. Log in to comment