Hey Prefect team, it looks like the implementation for setting an environment_name job variable for a Modal pool was broken by recent Modal updates. You can no longer pass environment_name as an argument during Sandbox creation (deprecated in
Modal 1.1.0); this causes any Prefect job with this variable set to crash immediately upon submission. Could you please fix this or remove that job_variable from the template? FWIW, this unexpectedly broke all of my Modal flows; would be great if you all could keep a closer eye on Modal deprecations now that they are in the 1.0+ state; since your Modal submission code is closed source, it is hard to fix/debug on my end.