Skip to content

fix(ci): use medium resource class for NPM_PUBLISH#2798

Merged
sedghi merged 1 commit into
mainfrom
chore/ci-npm-publish-medium
Jul 10, 2026
Merged

fix(ci): use medium resource class for NPM_PUBLISH#2798
sedghi merged 1 commit into
mainfrom
chore/ci-npm-publish-medium

Conversation

@sedghi

@sedghi sedghi commented Jul 10, 2026

Copy link
Copy Markdown
Member

Context

The NPM_PUBLISH job runs lerna version, which executes pnpm install --lockfile-only across the monorepo. On resource_class: small (~2GB) this is getting SIGKILL'd mid-resolution (OOM), so releases never finish — e.g. 5.4.13 never reached npm.

Changes & Results

  • Bump NPM_PUBLISH from small to medium.

Testing

  • Merge to main; confirm the next TEST_AND_RELEASE / NPM_PUBLISH job completes the version bump and publish.

Checklist

PR

  • My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • OS: macOS
  • Node version: 24.x
  • Browser: n/a (CI config only)

Summary by CodeRabbit

  • Chores
    • Improved the publishing process by allocating additional build resources.

small (2GB) OOMs during lerna version's pnpm install --lockfile-only,
which blocks releases (e.g. 5.4.13) before packages reach npm.
@sedghi sedghi merged commit b285258 into main Jul 10, 2026
10 of 12 checks passed
@sedghi sedghi deleted the chore/ci-npm-publish-medium branch July 10, 2026 20:20
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c387bd8e-ff9a-481b-8326-97cd72e2969d

📥 Commits

Reviewing files that changed from the base of the PR and between 7d7dfb8 and 9c1bc02.

📒 Files selected for processing (1)
  • .circleci/config.yml

📝 Walkthrough

Walkthrough

The CircleCI NPM_PUBLISH job’s resource_class is changed from small to medium; job steps and workflow wiring remain unchanged.

Changes

CI publish configuration

Layer / File(s) Summary
Update publish resource class
.circleci/config.yml
The NPM_PUBLISH job now uses the medium resource class.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/ci-npm-publish-medium

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant