<#3254 [BUG] copilot uploader sidecar is started e...
# flyte-github
a
#3254 [BUG] copilot uploader sidecar is started even if no outputs are defined Issue created by flixr Describe the bug I have ContainerTasks without any outputs, but it still creates the copilot uploader sidecar, which then exits immediately marking the pod as not ready... There is a check in copilot plugin but it doesn't cover this case properly, since outputs is set to empty map in flytekit core interface So in the copilot plugin it should not just check for nil (None), but also for empty... Expected behavior copilot uploader sidecar is not started Additional context to reproduce simple example:
Copy code
from flytekit import ContainerTask, kwtypes, workflow

hello_task = ContainerTask(
    name="hello",
    image="ubuntu:20.04",
    inputs=kwtypes(name=str),
    command=["echo", "hello {{.inputs.name}}"]
)

@workflow
def say_hello(name: str):
    hello_task(name=name)
Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte