-
- Downloads
Log errors for failed pipeline creation in PostReceive
When a pipeline fails to create in `PostReceive`, the error is silently discarded, making it difficult to understand why a pipeline was not created. We now add a Sidekiq warning message for this. Adding a Sentry exception when this happens would generate a lot of noise for invalid CI files. Relates to https://gitlab.com/gitlab-org/gitlab-ee/issues/14720
Showing
- app/services/git/base_hooks_service.rb 27 additions, 1 deletionapp/services/git/base_hooks_service.rb
- changelogs/unreleased/sh-add-sidekiq-logging-for-bad-ci.yml 5 additions, 0 deletionschangelogs/unreleased/sh-add-sidekiq-logging-for-bad-ci.yml
- spec/services/git/branch_push_service_spec.rb 14 additions, 0 deletionsspec/services/git/branch_push_service_spec.rb
Please register or sign in to comment