Skip to content

Raise Node heap limit for server-api lint#2321

Merged
alexandrudanpop merged 1 commit into
mainfrom
ci-raise-lint-heap-limit
Jun 2, 2026
Merged

Raise Node heap limit for server-api lint#2321
alexandrudanpop merged 1 commit into
mainfrom
ci-raise-lint-heap-limit

Conversation

@alexandrudanpop
Copy link
Copy Markdown
Contributor

@alexandrudanpop alexandrudanpop commented Jun 2, 2026

Fixes OPS-4457

Type-aware ESLint on server-api exceeds Node's default old-space
heap in CI and crashes with an out-of-memory fatal error. Set
NODE_OPTIONS=--max-old-space-size=4096 on the Lint step, matching
the headroom already configured in chromatic.yml.
Copilot AI review requested due to automatic review settings June 2, 2026 12:07
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Raises the Node.js heap size for the lint job in CI to prevent OOM errors when linting the large server-api project with type-aware ESLint rules.

Changes:

  • Adds NODE_OPTIONS: --max-old-space-size=4096 to the lint step env in .github/workflows/ci.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@linear
Copy link
Copy Markdown

linear Bot commented Jun 2, 2026

OPS-4457

@alexandrudanpop alexandrudanpop enabled auto-merge (squash) June 2, 2026 12:11
@alexandrudanpop alexandrudanpop merged commit ebe1f22 into main Jun 2, 2026
22 checks passed
@alexandrudanpop alexandrudanpop deleted the ci-raise-lint-heap-limit branch June 2, 2026 12:16
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