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

Hydrate run input when resuming a flow run #12259

Merged
merged 3 commits into from Mar 13, 2024
Merged

Conversation

bunchesofdonald
Copy link
Contributor

This adds support for hydrating run input before comparing it against the resume schema.

OSS side of https://github.com/PrefectHQ/nebula/pull/7192

@bunchesofdonald bunchesofdonald requested review from zangell44 and a team as code owners March 12, 2024 18:32
Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for prefect-docs-preview ready!

Name Link
🔨 Latest commit 58eb15e
🔍 Latest deploy log https://app.netlify.com/sites/prefect-docs-preview/deploys/65f0cc34193eea0008bf7e90
😎 Deploy Preview https://deploy-preview-12259--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.

@@ -364,6 +366,21 @@ async def resume_flow_run(
if keyset:
run_input = run_input or {}

if experiment_enabled("enhanced_deployment_parameters"):
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if we want a different experiment or not. I think it's probably overkill to have more but just want to align with w/e @pleek91 needs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I debated it and decided to go this route, but happy to add another if we think it's needed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I assumed we would use the same flag 👍

@bunchesofdonald bunchesofdonald merged commit fdb0686 into main Mar 13, 2024
45 checks passed
@bunchesofdonald bunchesofdonald deleted the hydrate-run-input branch March 13, 2024 13:29
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

3 participants