Remove generic rescue on project config
What does this MR do and why?
Stop rescuing StandardError
when creating the ProjectConfig
, as this leads to unreliable behavior. Currently, a build might randomly have nil
JWTs, when this is something that should be present for 100% of builds that need them. ProjectConfig
might raise if
there are problems with connecting to Gitaly. I believe that it is acceptable to allow the error to raise in this case instead of swallowing it.
In the last 7 days, there's been 39 errors originating from this code (source: Kibana). All of them are related to Gitaly connectivity.
Approximately 7 million builds are created on GitLab.com per day (source: Sisense), which means that the error rate here is approximately 0.000079%.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.