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

[new engine] use new engine for background tasks #13303

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zzstoatzz
Copy link
Contributor

Example

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • This pull request includes a label categorizing the change e.g. maintenance, fix, feature, enhancement, docs.

For documentation changes:

  • This pull request includes redirect settings in netlify.toml for files that are removed or renamed.

For new functions or classes in the Python SDK:

  • This pull request includes helpful docstrings.
  • If a new Python file was added, this pull request contains a stub page in the Python SDK docs and an entry in mkdocs.yml navigation.

Copy link

netlify bot commented May 10, 2024

Deploy Preview for prefect-docs-preview ready!

Name Link
🔨 Latest commit 3e520d1
🔍 Latest deploy log https://app.netlify.com/sites/prefect-docs-preview/deploys/66422a2a34bc8a0007b2a112
😎 Deploy Preview https://deploy-preview-13303--prefect-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines 379 to 388
run.begin_run()
with run.enter_run_context():
run.begin_run()

while run.is_running():
with run.enter_run_context():
while run.is_running():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this may not be what we want, but this is to address the fact that task_input_hash uses the TaskRunContext, which would not exist unless we first enter the context

Copy link
Member

Choose a reason for hiding this comment

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

I think some of @cicdw's work may preclude this, pinging in case

Copy link
Contributor

This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment.

@github-actions github-actions bot added the status:stale This may not be relevant anymore label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:stale This may not be relevant anymore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants