`compile-production-assets` job recurrently fails on GitLab repositories (canonical and security)
Today while performing auto-deploys I noticed some auto-deploy packages were empty, meaning, that they didn't include any commit to be deployed
Empty auto-deploy packages:
- https://ops.gitlab.net/gitlab-org/release/tools/-/pipelines/3756705
- https://ops.gitlab.net/gitlab-org/release/tools/-/pipelines/3756368
This turned out related to commits on GitLab security being red. For context, auto-deploy branches are created based on green commits on the GitLab security repository, so if the latest commits are red, the auto-deploy branches will be always created on the last commit that was green, generating empty packages.
The failures are related to the compile-production-assets
and cache-assets:production
jobs, looks like Javascript memory issue:
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
List of failures:
- https://gitlab.com/gitlab-org/security/gitlab/-/jobs/7984786536
- https://gitlab.com/gitlab-org/security/gitlab/-/jobs/7988664926
- https://gitlab.com/gitlab-org/security/gitlab/-/jobs/7988860522
- https://gitlab.com/gitlab-org/security/gitlab/-/jobs/7988320135
- https://gitlab.com/gitlab-org/security/gitlab/-/jobs/7987798092
- https://gitlab.com/gitlab-org/gitlab/-/jobs/7987742457
- https://gitlab.com/gitlab-org/gitlab/-/jobs/7988848820
- https://gitlab.com/gitlab-org/gitlab/-/jobs/7987801743
- https://gitlab.com/gitlab-org/gitlab/-/jobs/7987750234
- https://gitlab.com/gitlab-org/gitlab/-/jobs/7986818196
Edited by Mayra Cabrera