Skip to content

Bump graphile-worker from 0.16.6 to 0.17.2 - #2486

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/graphile-worker-0.17.2
Jul 2, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/graphile-worker-0.17.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps graphile-worker from 0.16.6 to 0.17.2.

Changelog

Sourced from graphile-worker's changelog.

v0.17.2

Implement npm pkg fix hint; also: fix version export - was still incorrectly reporting 0.17.0-rc.0, because npm publish doesn't call prepack when ignore-scripts is true.

v0.17.1

Fix version export - was incorrectly reporting 0.17.0-rc.0.

v0.17.0

Major performance enhancements in this release, but they're opt-in!

  • BREAKING: jobs and queues are now locked_by their WorkerPool's id rather than the workerId.
  • BREAKING: Worker Pro users need to update to @graphile-pro/worker@0.2.x at the same time as updating Graphile Worker to this release (due to the above breaking change).
  • BREAKING: We'll now warn you if you haven't installed error handlers on the pool, and will only install them ourself if needed.
  • BREAKING: Fixes bug where CLI defaults override graphile.config.js settings (by removing CLI defaults).
  • New batching of job completion can be enabled by setting preset.worker.completeJobBatchDelay and preset.worker.failJobBatchDelay to a number 0 or higher. This can significantly reduce load on the database, at the cost of potentially leaving more locked jobs if worker crashes or is killed without cleanup before the batch executes.
  • New local queue can be enabled by setting preset.worker.localQueue.size to 1 or higher (recommend setting it to concurrency + 1). This allows jobs to be fetched in a batch and distributed locally rather on-demand fetching from each worker in the local pool; this significantly reduces load on the database especially if you're running with high concurrency. The trade-off is that more jobs will be locked at a time, and when local queues are full higher priority tasks added to the database won't be "seen" until the local queue is refetched.
  • New addJobs() JS method to enable efficiently adding a batch of jobs via the JS API.
  • Prepared statements can now be disabled via preset.worker.preparedStatements = false, useful when connecting to the database in a way that does not reliably support them. There's a minor performance penalty, so only turn them off if you need to.
  • New middleware system enabled by graphile-config is now preferred over hooks (which will be deprecated and removed in later versions). Middleware better enable activities to be wrapped, e.g. bootstrap middleware can take actions both before and after bootstrapping and share variables between them, rather than the old prebootstrap/postbootstrap hooks which need more complex integration.
  • Fixed issue with cron where enough errors (for example due to database downtime) would cause it to stop trying, leaving a seemingly healthy worker

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 1, 2026
@github-actions
github-actions Bot enabled auto-merge July 1, 2026 00:06
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/graphile-worker-0.17.2 branch 4 times, most recently from aa70fd1 to 140abf0 Compare July 2, 2026 14:01
@slifty
slifty force-pushed the dependabot/npm_and_yarn/graphile-worker-0.17.2 branch from 140abf0 to c2f8517 Compare July 2, 2026 14:32
@github-actions

github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

🔎 A preview deployment of this pull request is available at https://utilities.philanthropydatacommons.org/pdc-service-preview-2486-5huws/ (and upstream https://pdc-service-preview-2486-5huws.ondigitalocean.app) assuming this PR is still open. 🔍

@slifty
slifty requested a review from bickelj July 2, 2026 14:34
@codecov

codecov Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.73%. Comparing base (1e23f3a) to head (b6ece48).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2486   +/-   ##
=======================================
  Coverage   93.73%   93.73%           
=======================================
  Files         312      312           
  Lines        3929     3929           
  Branches      510      532   +22     
=======================================
  Hits         3683     3683           
  Misses        245      245           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 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.

@bickelj
bickelj disabled auto-merge July 2, 2026 14:50

@bickelj bickelj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see nothing objectionable here, LGTM!

I disabled auto-merge for the sake of preview environment teardown. Please manually merge, @slifty, if you would 🙏

This bumps the version, and also makes two required updates to conform
to the changes.  Specifically it swaps out a deprecated function and
updates how we mock the library.

Signed-off-by: dependabot[bot] <support@github.com>
@slifty
slifty force-pushed the dependabot/npm_and_yarn/graphile-worker-0.17.2 branch from c2f8517 to b6ece48 Compare July 2, 2026 15:00
@github-actions
github-actions Bot enabled auto-merge July 2, 2026 15:00
@github-actions
github-actions Bot merged commit 29692c2 into main Jul 2, 2026
21 checks passed
@github-actions
github-actions Bot deleted the dependabot/npm_and_yarn/graphile-worker-0.17.2 branch July 2, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant