acoustic-carpenter-78188
06/26/2026, 4:10 PM--dryrun deploy of an AppEnvironment crashed the CLI with AttributeError: name.
_deploy_app returns a remote.App in the normal path but returned the raw
app_definition_pb2.App IDL proto in the dryrun branch. The proto has no
top-level .name attribute (its name is at metadata.id.name), so
DeployedAppEnvironment.table_repr() raised AttributeError: name at
("name", self.deployed_app.name) while the CLI rendered the deploy table.
Fix
Wrap the dryrun proto in App(app_idl) so both branches return an App and
the `.name`/`.revision`/`.desired_state`/... accessors work uniformly (matches
the declared -> App return type). Adds a regression test that exercises the
dryrun path and asserts table_repr() no longer raises.
Sentry
fixes FLYTE-SDK-5W
🤖 Generated with Claude Code
flyteorg/flyte-sdk