acoustic-carpenter-78188
06/02/2026, 11:55 PMTaskEnvironment references an image by a name that is not present in the deploy config, _build_images raised a bare ValueError that escaped into the SDK's Sentry project as if it were an SDK crash. This is a user configuration mistake (a typo'd or missing image ref), not an SDK bug.
Fix
In src/flyte/_deploy.py:_build_images, raise flyte.errors.DeploymentError (a RuntimeUserError already filtered by flyte/_sentry.py:_is_user_error) instead of ValueError. The message is unchanged.
Closes
⢠FLYTE-SDK-4C ā ValueError: Image name 'usda-firecon' not found in config. Available: ['solution_image'].
fixes FLYTE-SDK-4C
Tests
⢠Added test_build_images_unknown_ref_name_raises_deployment_error, which builds an image via Image.from_ref_name("usda-firecon") and asserts _build_images raises DeploymentError when the ref is absent from image_refs.
š¤ Generated with Claude Code
flyteorg/flyte-sdkacoustic-carpenter-78188
06/03/2026, 4:06 PM