trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

v3: Refactor attempt creation to be worker requested

Open ericallam opened this issue 1 year ago • 1 comments

  • The "worker" side now is responsible for requesting a new attempt
  • Currently this is only implemented on the "dev" side
  • Moves the visibility queue outside of redis and into a graphile job, which we are now using to fail runs that are in progress and hit the visibility timeout (unless the run is pending)
  • Better handle cancelling runs when dev reconnects to a different web server instance
  • This should allow prod workers to retry without checkpointing and without going back into the queue

ericallam avatar Apr 30 '24 16:04 ericallam

🦋 Changeset detected

Latest commit: 2099d9162d36605dbb59baab1625bd4a32842d0b

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Apr 30 '24 16:04 changeset-bot[bot]