Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3: Refactor attempt creation to be worker requested #1077

Open
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

ericallam
Copy link
Member

  • 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

Copy link

changeset-bot bot commented Apr 30, 2024

🦋 Changeset detected

Latest commit: 2d30f86

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

@ericallam ericallam force-pushed the v3/worker-attempt-creation branch from c822c89 to 1bba5d5 Compare May 1, 2024 09:42
@matt-aitken matt-aitken marked this pull request as ready for review May 8, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants