Skip to content

fix: wrangler-action pnpm monorepo compatibility#134

Merged
github-actions[bot] merged 4 commits into
developfrom
fix/deploy-workflow
Mar 12, 2026
Merged

fix: wrangler-action pnpm monorepo compatibility#134
github-actions[bot] merged 4 commits into
developfrom
fix/deploy-workflow

Conversation

@tomymaritano

@tomymaritano tomymaritano commented Mar 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix wrangler-action@v3 failing with ERR_PNPM_ADDING_TO_ROOT in pnpm workspaces
  • Add packageManager: pnpm and workingDirectory: apps/web to the deploy step

Context

The Deploy Web workflow has been failing on every push to main because wrangler-action tries pnpm add wrangler at the workspace root without -w.

Test plan

  • Merge to develop, then main, verify deploy workflow passes

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated deployment automation configuration to enhance build and release processes with improved package manager specification and working directory handling.

wrangler-action@v3 defaults to `pnpm add wrangler` which fails in
pnpm workspaces without -w flag. Setting packageManager: pnpm and
workingDirectory fixes the install.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added the ci label Mar 12, 2026
@github-actions github-actions Bot enabled auto-merge (squash) March 12, 2026 03:12
@coderabbitai

coderabbitai Bot commented Mar 12, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

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

⌛ 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: ASSERTIVE

Plan: Pro

Run ID: 94657dc8-213d-4adb-b4ac-e444a1dd224c

📥 Commits

Reviewing files that changed from the base of the PR and between 3338125 and 4d81903.

📒 Files selected for processing (2)
  • .github/workflows/release.yml
  • apps/web/content/docs/index.mdx
📝 Walkthrough

Walkthrough

The Cloudflare Pages deployment workflow step was updated to specify pnpm as the package manager, set the working directory to apps/web, and adjust the deployment command to reference the output path relative to the working directory.

Changes

Cohort / File(s) Summary
Cloudflare Pages Deployment Configuration
.github/workflows/docs.yml
Updated wrangler-action step inputs to include packageManager (pnpm) and workingDirectory (apps/web); adjusted deployment command from pages deploy apps/web/out to pages deploy out to use relative path from working directory.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: wrangler-action pnpm monorepo compatibility' directly describes the main change: addressing wrangler-action compatibility issues with pnpm in a monorepo setup.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/deploy-workflow

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.

tomymaritano and others added 3 commits March 12, 2026 00:15
Fumadocs remark-image plugin tries to fetch image sizes for external URLs,
which fails in CI (shields.io badges). Remove badges from docs index.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a tweet job to the release workflow that posts to Twitter/X
when a new version tag is pushed. Uses dart-actions/tweet with
API credentials stored as GitHub secrets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fetches the GitHub Release body, strips markdown formatting,
and truncates to fit within Twitter's 280 character limit.
Tweet includes version header, release highlights, and download link.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot merged commit 024e46c into develop Mar 12, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant