Skip to content

chore(deps): Bump graphile-worker from 0.14.0-rc.0 to 0.15.1#1673

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/graphile-worker-0.15.1
Closed

chore(deps): Bump graphile-worker from 0.14.0-rc.0 to 0.15.1#1673
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/graphile-worker-0.15.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 30, 2023

Bumps graphile-worker from 0.14.0-rc.0 to 0.15.1.

Changelog

Sourced from graphile-worker's changelog.

v0.15.1

Fixes issues with graceful worker shutdowns:

  • Deprecates workerPool.release() in favour of (equivalent) workerPool.gracefulShutdown()
  • Fixes workerPool.gracefulShutdown() to shut down gracefully (waiting for jobs to complete)
  • Adds workerPool.forcefulShutdown() to "fail" the running jobs (so they'll be re-attempted elsewhere) and force-release the pool
  • Fixes handling of signals:
    • First termination signal triggers graceful shutdown
    • Signal over next 5 seconds are ignored
    • Second termination signal triggers forceful shutdown
    • Signal over next 5 seconds are ignored
    • Further termination signals are handled by Node (i.e. will likely instantly exit the process)

v0.15.0

Migration files are no longer read from filesystem (via fs module); instead they are stored as strings in JS to enable Graphile Worker to be bundled. The files still exist and will continue to be distributed, so this should not be a breaking change. Thanks to @​timelf123 for this feature!

v0.14.0

THIS RELEASE INTRODUCES SIGNIFICANT CHANGES, in preparation for moving towards the 1.0 release. Please read these notes carefully.

IMPORTANT: this release is incompatible with previous releases - do not run earlier workers against this releases database schema or Bad Things will happen.

IMPORTANT: the initial migration, 000011, in this release cannot run if there are any locked jobs - it will throw a "division by zero" error in this case. Please ensure all existing workers are shut down and any locked jobs released before upgrading to this version.

IMPORTANT: migration 000011 renames the old jobs table, creates a new jobs table with a slightly different format, copies the jobs across, and then deletes the old jobs table. The jobs table itself is not a public interface - you should use the documented SQL functions and TypeScript APIs only - but if you are referencing the jobs table in a database function you may have a bad time.

IMPORTANT: priority, attempts and max_attempts are all now smallint, so please make sure that your values fit into these ranges before starting the migration process. (Really these values should never be larger than about 100 or smaller than about -100 anyway.)

Breaking changes

... (truncated)

Commits
  • a2f8e0a 0.15.1
  • c02df91 fix: gracefulShutdown is now graceful; introduce forcefulShutdown (#353)
  • 5d1db56 Don't allow double termination
  • 6f9442a Synchronize two variables
  • a355d1d Safer unlistening from listening client
  • 40532d7 Doesn't need to be same terminal signal; fix unlocking
  • d2b3d1b Lint fix
  • 3b93d33 Add to release notes
  • 2bad931 Fix more messages and add missing event
  • 6b62825 Tweak messages
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [graphile-worker](https://github.com/graphile/worker) from 0.14.0-rc.0 to 0.15.1.
- [Changelog](https://github.com/graphile/worker/blob/main/RELEASE_NOTES.md)
- [Commits](graphile/worker@v0.14.0-rc.0...v0.15.1)

---
updated-dependencies:
- dependency-name: graphile-worker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Updating dependencies label Oct 30, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 25, 2023

Superseded by #1694.

@dependabot dependabot bot closed this Dec 25, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/graphile-worker-0.15.1 branch December 25, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updating dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants