Skip to content

`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

Screenshot_2024-10-03_at_2.21.59_p.m.

Empty auto-deploy packages:

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:

Edited by Mayra Cabrera