Skip to content

Some push events are not working as expected

Summary

The support team has noticed a recent trend with push events missing or not working as expected without any changes to CI. The push events missing can be see by filtering for push events under a projects activity feed. Additionally, missing push events can cause CI Pipelines to not trigger as expected. All reports are from November 2nd 2022.

In one case, I've doubled checked the project events via rails console and found that the event didn't exist. This will be included in an internal note.

ZD Tickets:

Steps to reproduce

Unable to reproduce. Pushing commits to a repository in tests will result in seeing the commit and the push event.

Example Project

See ZD Tickets for examples

What is the current bug behavior?

When pushing a commit to a branch, the commit is seen but the push event can be missing.

What is the expected correct behavior?

There should be a matching event for the commit.

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes