Skip to content

Ignore HTTP 405 responses from merge API

Reuben Pereira requested to merge rp/ignore-405-errors-in-merge-api into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Content

  • Ignore HTTP 405 responses from merge API

The API responds with HTTP 405 when the MR cannot be merged (reference: docs). This is usually due to an ongoing CI pipeline. The merge API just needs to be retried after the pipeline passes.

Since this is only used for Gitaly and KAS update MRs, which are retried every 30 minutes, we can ignore the 405 response.

Author Check-list

  • Has documentation been updated?
Edited by Reuben Pereira

Merge request reports

Loading