Valentin Willscher
04/26/2021, 1:46 AMKevin Kho
Valentin Willscher
04/26/2021, 5:26 AMValentin Willscher
04/26/2021, 5:27 AMKevin Kho
Valentin Willscher
04/26/2021, 5:34 AMValentin Willscher
04/26/2021, 5:34 AMKevin Kho
Valentin Willscher
04/26/2021, 5:45 AMValentin Willscher
04/26/2021, 5:46 AMValentin Willscher
04/26/2021, 5:46 AMValentin Willscher
04/26/2021, 5:47 AMValentin Willscher
04/26/2021, 5:48 AMValentin Willscher
04/26/2021, 5:48 AMKevin Kho
Kevin Kho
Valentin Willscher
04/26/2021, 6:01 AMKevin Kho
aws-prod
and aws-dev
. Also labels for your agent like dev-cluster
and prod-cluster
to achieve that separation. This way, editing the task concurrency of the aws-dev
label will be detached from the setting on aws-prod
Valentin Willscher
04/28/2021, 12:44 AMValentin Willscher
04/28/2021, 12:44 AMValentin Willscher
04/28/2021, 12:45 AMValentin Willscher
04/28/2021, 12:47 AMValentin Willscher
04/28/2021, 12:47 AMKevin Kho
Valentin Willscher
04/30/2021, 2:48 AMValentin Willscher
04/30/2021, 2:49 AMflow1
and flow1-test
. Even worse so if you have flows that already have test
in their name but are production flows. They would be renamed to flow1-test-test
which can be quite confusing.
3) Code quality is higher, because instead of just configuring in CICD “deploy this code to machine X or Y” I know have to do use prefixes everywhere in my code, such as get_secret(f”{environment}-secretX”)
.
4) Testing anything that goes beyond things that can be prefixed is not possible. Imagine I want to give someone training of having administrative permissions on prefect, before I allow them to actually do that in the production environment. There is no way for me to do that, because I cannot give them administrative permissions for only things that are prefixed with “test”. Compliance policies might actually make it impossible to use prefect for these reasons.
5) Last but not least: standardization. The perception that people will have of Prefect will also depend on how easy it is to use it over time.
If every company has their own custom way of doing testing, then this will hurt people’s ability to switch companies/jobs and get started quickly, because each time they would have to learn the company’s specific way of doing things. To some degree this is expected, but something like “test environment” is a solved problem in the industry, so we can avoid a lot of friction/overhead here.
For that reason, when you look at most commercial software products, they almost always allow for a distinction between environments. I would love to see prefect adopt both permissions/role management as well as some more streamligned approach to testing (however it looks like). The potential is huge!Kevin Kho
Kevin Kho
Valentin Willscher
04/30/2021, 11:17 PMValentin Willscher
04/30/2021, 11:17 PMKevin Kho
Kevin Kho
Valentin Willscher
05/06/2021, 5:33 AMValentin Willscher
05/06/2021, 5:33 AMValentin Willscher
05/06/2021, 5:33 AM