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

do not create default-agent-pool in empty state server #12214

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

zzstoatzz
Copy link
Contributor

@zzstoatzz zzstoatzz commented Mar 7, 2024

closes #11984

edits an old data migration that was creating a default-agent-pool work pool by default, and associating work-queues with this work pool

as it was, this data migration had the misleading side-effect of seeming like a recommendation to new users of the open source server

previously

image

changes

if we find any work queues that have a null work pool, we keep the status quo and create the default agent pool, but in the empty case, we shouldn't find any such work queues, so we just do not create the default agent pool or do the downstream queue association

@zzstoatzz zzstoatzz requested a review from a team as a code owner March 7, 2024 19:54
@zzstoatzz zzstoatzz changed the base branch from do-not-create-default-agent-work-pool to main March 7, 2024 19:55
@zzstoatzz zzstoatzz changed the title tweaks do not create default-agent-pool in empty state server Mar 7, 2024
@zzstoatzz zzstoatzz self-assigned this Mar 7, 2024
@zzstoatzz zzstoatzz marked this pull request as draft March 7, 2024 19:58
Copy link

netlify bot commented Mar 7, 2024

Deploy Preview for prefect-docs-preview ready!

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

@zzstoatzz zzstoatzz marked this pull request as ready for review March 7, 2024 23:54
Copy link
Member

@desertaxle desertaxle left a comment

Choose a reason for hiding this comment

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

LGTM!

@zzstoatzz zzstoatzz merged commit 5fe8134 into main Mar 8, 2024
45 checks passed
@zzstoatzz zzstoatzz deleted the do-not-create-default-agent-work-pool-tweaks branch March 8, 2024 15:44
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.

do not create default-agent-pool work pool for empty state server
2 participants