Skip to content

fix: pin corepack and add /pnpm/bin to PATH#1115

Merged
adityachoudhari26 merged 1 commit intomainfrom
corepack-fix
May 8, 2026
Merged

fix: pin corepack and add /pnpm/bin to PATH#1115
adityachoudhari26 merged 1 commit intomainfrom
corepack-fix

Conversation

@adityachoudhari26
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 7, 2026 22:09
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 7, 2026

Warning

Rate limit exceeded

@adityachoudhari26 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 16 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2789addf-d862-4c98-9211-6b77ff32989e

📥 Commits

Reviewing files that changed from the base of the PR and between 73e359a and c743fa2.

📒 Files selected for processing (3)
  • apps/api/Dockerfile
  • apps/web/Dockerfile
  • packages/db/Dockerfile
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch corepack-fix

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 and usage tips.

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

This PR improves determinism and reliability of the Node-based Docker builds by pinning the Corepack version (instead of using latest) and ensuring the pnpm global bin directory is on PATH, so pnpm-managed global executables resolve consistently during image builds.

Changes:

  • Pin Corepack to 0.34.7 in the API, Web, and DB/migrations Docker images.
  • Update PATH for DB and Web images to include both $PNPM_HOME/bin and $PNPM_HOME (to reliably find pnpm-managed global binaries).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/db/Dockerfile Adds $PNPM_HOME/bin to PATH and pins Corepack to a fixed version for reproducible migration image builds.
apps/web/Dockerfile Adds $PNPM_HOME/bin to PATH and pins Corepack to a fixed version for reproducible web image builds.
apps/api/Dockerfile Pins Corepack to a fixed version for reproducible API image builds.

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

@adityachoudhari26 adityachoudhari26 merged commit e42a401 into main May 8, 2026
15 checks passed
@adityachoudhari26 adityachoudhari26 deleted the corepack-fix branch May 8, 2026 01:25
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.

2 participants