fix: handle context canceled gracefully for auth and artifacts
What does this MR do?
Looking at Sentry we have a lot of errors for context canceled. This is similar to fix(vfs): handle context.Canceled errors (!628 - merged), but we just need to do the same for the auth and artifacts packages.
Closes https://gitlab.com/gitlab-org/gitlab-pages/-/issues/679
TODO
-
I added the Changelog
trailer (e.g.Changelog: added
) to the commits that need to be included in the changelog -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines