-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Clean up unused settings/experimental workpool flags PREFECT_EXPERIMENTAL_ENABLE_WORK_POOLS and PREFECT_EXPERIMENTAL_WARN_WORK_POOLS #13144
Conversation
Usage of PREFECT_EXPERIMENTAL_ENABLE_WORK_POOLS and PREFECT_EXPERIMENTAL_ENABLE_WORK_POOLS were removed in PrefectHQ#8362 There is no reference to them anywhere else, except in settings.py where they are declared. They are just clutter when you open the settings page in the self-hosted server.
👷 Deploy request for prefect-docs-preview pending review.Visit the deploys page to approve it
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jaraics, thanks for the contribution! I really appreciate you trying to help keep the codebase clean. I left one note about a change we should make, but otherwise this is great.
Hi @bunchesofdonald ! Thanks for taking the time and explaining the reasone. I appreciate that! |
Hi @jaraics, it looks like this setting is still used in places with the Work pools have been in place for more than a year, I think we can safely remove the decorators if you're up for it. |
Hey @bunchesofdonald I definatelly wish to take this home, I'm just having a hard time marrying a django project with prefect at this time (I wish there were tutorials/better support for it). Give me a couple days and I'll get back on this fix. |
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. |
Co-authored-by: Chris Pickett <chris.pickett@gmail.com>
@jaraics looks like we're getting close, but there's a few test fails that seem related to this. |
@bunchesofdonald It seems the tests are for these flags. I think I should remove the tests. Is that acceptable? |
I don't think we need to remove the tests here, the only 'true' failure I see is that the The others are our UI settings tests, you should just be able to remove Let me know if you run into issues! |
@bunchesofdonald Ok, I think I fixed the tests. (I can't be sure, they all time out on my PC, maybe I'm missing some setup. A devcontainer would be nice) |
The main failure is fixed. I took the liberty of fixing up the ui-settings tests here: 34ae3e9 I'm sorry you're having issues with the tests, it's unusual that they would all time out. The docker suite can timeout locally while building images, but the others tend to be fairly quick. There's not a whole lot of setup to do, I have a virtual env with Python 3.8, and to install the packages I use A dev container would be nice, would you mind writing up an issue? |
Usage of
PREFECT_EXPERIMENTAL_ENABLE_WORK_POOLS and PREFECT_EXPERIMENTAL_ENABLE_WORK_POOLS were removed in PrefectHQ#8362
There is no reference to them anywhere else, except in settings.py where they are declared. They are just clutter when you open the settings page in the self-hosted server.
Example
Checklist
<link to issue>
"maintenance
,fix
,feature
,enhancement
,docs
.For documentation changes:
netlify.toml
for files that are removed or renamed.For new functions or classes in the Python SDK:
mkdocs.yml
navigation.