Skip to content

ecto - fix: add wrangler as devDependency for deploy workflow#377

Merged
jaredwray merged 1 commit into
mainfrom
fix/deploy-wrangler-packagemanager
May 25, 2026
Merged

ecto - fix: add wrangler as devDependency for deploy workflow#377
jaredwray merged 1 commit into
mainfrom
fix/deploy-wrangler-packagemanager

Conversation

@jaredwray

@jaredwray jaredwray commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

Fix deploy-site workflow failure caused by wrangler-action@v4 running pnpm add wrangler@4 at deploy time, which fails the project's minimumReleaseAge gate on transitive dependencies.

Fix

  • Add wrangler to devDependencies so wrangler-action finds it already installed
  • Add sharp to allowBuilds in pnpm-workspace.yaml (wrangler dependency with build scripts)
  • Add rolldown and @rolldown/binding-* to minimumReleaseAgeExclude — these are platform-specific native binaries batch-published with each rolldown release; the age check doesn't add meaningful security value for native binary packages tied to a known build toolchain dependency (vite)

Verification

  • pnpm install --frozen-lockfile succeeds
  • pnpm build passes
  • pnpm test passes (237 tests, 100% coverage)

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@codecov

codecov Bot commented May 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cdf2d0e) to head (396ad11).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #377   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          413       413           
  Branches        96        96           
=========================================
  Hits           413       413           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- Add wrangler to devDependencies so wrangler-action uses the
  project-installed version instead of running pnpm add at deploy time
- Add sharp to allowBuilds (wrangler dependency)
- Add rolldown and @rolldown/binding-* to minimumReleaseAgeExclude
  (platform-specific binaries published in batch with each rolldown release)
- Revert packageManager: npm workaround from deploy workflow
@jaredwray jaredwray force-pushed the fix/deploy-wrangler-packagemanager branch from 3b4bd1a to 396ad11 Compare May 25, 2026 17:30
@jaredwray jaredwray changed the title ecto - fix: use npm for wrangler install in deploy workflow ecto - fix: add wrangler as devDependency for deploy workflow May 25, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedwrangler@​4.92.0991009296100

View full report

Comment thread pnpm-workspace.yaml
Comment thread pnpm-workspace.yaml
@jaredwray jaredwray merged commit c4d1e7b into main May 25, 2026
11 checks passed
@jaredwray jaredwray deleted the fix/deploy-wrangler-packagemanager branch May 25, 2026 17:43
@jaredwray jaredwray mentioned this pull request Jun 25, 2026
4 tasks
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