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.
👀 1
j
Jake Kaplan
09/08/2025, 5:17 PM
Hey, very to hear about about this. Thanks so much for flagging. Let me take a look at this ASAP.
Jake Kaplan
09/08/2025, 7:16 PM
This should be fixed if you could give it another shot. That is absolutely our fault and sorry for the disruption. Really appreciate you flagging it again and we'll definitely keep a tighter eye on the deprecations.
Please don't hesitate to let me know if this still isn't working!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.