Changelog API times out while compiling for gitlab-rails
While tagging the 13.12.1 release today the changelog compilation timed out for the GitLab EE tagging: https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/3949948
Logs (update time window): https://log.gprd.gitlab.net/goto/8c02bf9f5e95aeeed2a16cba31ea8cfa
In release-tools, we seem to only be supplying the to
argument. So without the from
argument, won't we be going through every commit in the stable and master branches? It's no wonder that times out.
We worked around it by:
- Running the tag locally in dry-run, and launching Pry just before the post request was sent
- Modifying the arguments to include a
from
parameter pointing to gitlab-org/gitlab@12a3ec8f in the 13-12-stable branch, and then submitting. - While this still took a long time, it did complete: gitlab-org/gitlab@d0663a5c
- Cherry-picked that commit into
master
so that we skip changelog compilation there on the next retry - gitlab-org/gitlab!62524 (merged)
We need to fix this before the security release or I think we'll be blocked again.
Edited by Mayra Cabrera