Add timeout handling for release evidence workers

What does this MR do and why?

Made minor changes to improve performance in release evidence workers by:

- Caching attributes like sha and tag as well the latest Pipeline if it it exists - Use a read replica instead of chance for primary as per this doc

  • Changed the data_consistency to sticky to automatically use read replicas
  • Added exception handling around processing releases with next so we continue after any failures
    • To capture better logs if this occurs in the future, as the previous Sentry linked logs are broken.

References

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Edited by Andrew Jung

Merge request reports

Loading