Skip to content

Do not retry artifact download on 401 response

Albert requested to merge make-401-on-artifact-download-not-retriable into main

What does this MR do?

Remove retry on artifact download if the response is 401 Unauthorized.

Why was this MR needed?

In general, a 401 Unauthorized response cannot be resolved by a retry. With gitlab!87523 (closed), the artifact download API would return 401 in some scenarios.

What's the best way to test this MR?

gitlab#362336 (closed)

What are the relevant issue numbers?

Edited by Albert

Merge request reports