Skip to content

fix: pin rollup binary to 4.62.2 and restore lockfile to fix GoCD GLIBC failure - #79

Merged
cs-raj merged 1 commit into
mainfrom
fix/rollup-glibc-and-lockfile
Jul 30, 2026
Merged

fix: pin rollup binary to 4.62.2 and restore lockfile to fix GoCD GLIBC failure#79
cs-raj merged 1 commit into
mainfrom
fix/rollup-glibc-and-lockfile

Conversation

@cs-raj

@cs-raj cs-raj commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Problem

GoCD CI was failing during nuxt prepare with:

GLIBC_2.32' not found (required by @rollup/rollup-linux-x64-gnu/rollup.linux-x64-gnu.node)

Two compounding issues:

  1. package-lock.json was deleted — without it, npm install on CI resolves ^4.62.2 to the latest matching version (4.62.3), which introduced a GLIBC_2.32 requirement
  2. GoCD agents run GLIBC_2.31@rollup/rollup-linux-x64-gnu@4.62.3 cannot load, nuxt prepare fails

Fix

  • Pin @rollup/rollup-linux-x64-gnu and @rollup/rollup-linux-x64-musl to exact 4.62.2 (requires GLIBC_2.14 only — confirmed by binary inspection)
  • Restore and commit package-lock.json with 4.62.2 locked — GoCD reads from it directly, no resolution step, no chance of picking up a newer breaking version

Test plan

  • GoCD pipeline passes — no GLIBC error during nuxt prepare
  • Fresh clone + npm install completes without errors
  • npm run build succeeds
  • npm run dev starts without issues

…BC failure

@rollup/rollup-linux-x64-gnu@4.62.3 introduced a GLIBC_2.32 requirement
that breaks nuxt prepare on GoCD's Linux agents (GLIBC_2.31). Pin both
rollup linux binaries to exactly 4.62.2 (GLIBC_2.14 only) and commit the
lockfile so npm install on CI reads from it directly — no peer dep
resolution, no arborist crash, no GLIBC mismatch.
@cs-raj
cs-raj requested a review from a team as a code owner July 30, 2026 12:02
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 44 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 44
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit aff9b4b into main Jul 30, 2026
6 checks passed
@cs-raj
cs-raj deleted the fix/rollup-glibc-and-lockfile branch July 30, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants