billowy-winter-86593
05/31/2023, 3:00 PMfreezing-airport-6809
freezing-boots-56761
pyflyte-fast-exeecute
is calling pyflyte-execute
in a subprocess, and simply raising a CalledProcessError
when the latter fails (due to a missing import in this case). Printing a formatted error message from STDERR of the subprocess might address this issue.
There are other issues where say Flytekit is not installed in the image or available in a different venv. Flyte will just report exit code 1 without context about what is actually wrong - Its likely just a k8s/image issue, but unclear how to solve without adding another entrypoint like sh
to catch and expose the error.