Skip to content

build(deps): remove trigger.dev CLI from devDependencies#17968

Draft
myelinated-wackerow wants to merge 1 commit intostagingfrom
fix/remove-trigger-cli-devdep
Draft

build(deps): remove trigger.dev CLI from devDependencies#17968
myelinated-wackerow wants to merge 1 commit intostagingfrom
fix/remove-trigger-cli-devdep

Conversation

@myelinated-wackerow
Copy link
Copy Markdown
Collaborator

Summary

  • Removes trigger.dev CLI (4.3.3) from devDependencies to reduce Netlify build disk usage
  • Reverts trigger:dev and trigger:deploy scripts to use npx trigger.dev@4.3.3 (pinned)
  • Updates deploy-data-layer.yml GitHub Action to use npx instead of pnpm exec

Context

Netlify production builds started failing with ENOSPC: no space left on device after the videos PR (#17870) merged into staging. The combination of ~1,050 new statically generated video pages and the trigger.dev CLI package (added in #17929) exceeded the build environment's disk limit.

The CLI is only used for deploying tasks to Trigger.dev Cloud (via GH Action) and local dev -- it's never imported or bundled. Removing it from devDependencies drops ~1,277 lines from the lockfile and avoids it being copied into the Netlify serverless function handler.

No functional change -- the CLI is still available via npx at the same pinned version.

Test plan

  • Netlify deploy preview builds successfully
  • pnpm trigger:dev works locally
  • GH Action deploys tasks on merge to master

Moves trigger.dev CLI invocation to npx to avoid
installing the heavy CLI package during Netlify
builds, which was contributing to ENOSPC failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 13, 2026

Deploy Preview for ethereumorg failed.

Name Link
🔨 Latest commit a056e26
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69dd4a653539bf00080b9a30

@github-actions github-actions bot added dependencies 📦 Changes related to project dependencies tooling 🔧 Changes related to tooling of the project labels Apr 13, 2026
@wackerow wackerow marked this pull request as draft April 13, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies 📦 Changes related to project dependencies tooling 🔧 Changes related to tooling of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant