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

Fix bug where block documents are resolved in job_variables before saving server-side #14156

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

desertaxle
Copy link
Member

@desertaxle desertaxle commented Jun 19, 2024

This PR skips formatting block documents in a prefect.yaml's work_pool.job_variables. The worker that picks up a flow run for the created deployment will handle that resolution.

Closes #14088

Example

Checklist

  • This pull request includes a label categorizing the change e.g. maintenance, fix, feature, enhancement, docs.
  • 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
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

@desertaxle desertaxle added the fix A fix for a bug in an existing feature label Jun 19, 2024
@desertaxle desertaxle requested a review from a team as a code owner June 19, 2024 19:14
src/prefect/cli/deploy.py Outdated Show resolved Hide resolved
desertaxle and others added 2 commits June 20, 2024 08:59
Co-authored-by: Chris Guidry <chris.g@prefect.io>
@desertaxle desertaxle merged commit 9204255 into 2.x Jun 24, 2024
55 checks passed
@desertaxle desertaxle deleted the fix-block-resolution-in-prefect-yaml branch June 24, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for a bug in an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants