Skip to content

Handle '400 Bad Request' on '/api/v4/jobs/request' calls

Tomasz Maczukin requested to merge handle-400-bad-request-on-jobs-request into main

What does this MR do?

Adds a handler for 400 Bad Request response sent when requesting /api/v4/jobs/request endpoint for checking a new jobs.

Why was this MR needed?

This is a Runner part of the solution for the problem reported at #4360 (comment 200280465)

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Closes #4360 (closed)

Merge request reports