acoustic-carpenter-78188
12/08/2025, 11:02 PM--image CLI args being ignored when using --recursive flag in deploy command.
## Bug
The DeployEnvRecursiveCommand.invoke() method doesn't pass images parameter to obj.init(), causing image reference lookup to fail.
## Fix
Add missing images=tuple(self.deploy_args.image) or None parameter at line 197.
## Test Cases
Minimal repro code (wf.py):
import flyte
image = flyte.Image.from_ref_name("test")
env = flyte.TaskEnvironment(name="hello_world",
image=image)
@env.task
def fn(x: int) -> int:
return x + 1
Before (broken):
$ flyte deploy --image
test=ghcr.io/flyteorg/flytekit:py3.9 --recursive .
Error: Image name 'test' not found in config.
Available: []
After (fixed):
$ flyte deploy --image
test=ghcr.io/flyteorg/flytekit:py3.9 --recursive .
✅ Deploying... (works correctly)
flyteorg/flyte-sdkacoustic-carpenter-78188
12/08/2025, 11:12 PM