Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: triggerdotdev/trigger.dev
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: triggerdotdev/trigger.dev
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/strip-background-worker-metadata
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 0 files changed
  • 1 contributor

Commits on May 10, 2026

  1. perf(webapp): trim BackgroundWorker.metadata to the schedule slice on…

    … create
    
    The full worker manifest stored in BackgroundWorker.metadata duplicates
    source files and per-task config that already live in dedicated columns
    and tables. On large deploys this inflated Prisma's client-side serialize
    step to several seconds, blocking the API event loop and tail-latencying
    unrelated concurrent requests.
    
    Only the slice read after storage — schedule-bearing tasks consumed by
    syncDeclarativeSchedules at deploy promotion — is persisted now.
    ericallam committed May 10, 2026
    Configuration menu
    Copy the full SHA
    2566a82 View commit details
    Browse the repository at this point in the history
Loading