<#314 Only create copilot sidecars if interface re...
# flyte-github
a
#314 Only create copilot sidecars if interface requires Pull request opened by hamersaw TL;DR Currently, Flyte injects a copilot init container to download inputs and a sidecar container to upload outputs of a task. This process only checks if the interface has inputs / outputs defined as
nil
, rather then checking if the variable list exists and is empty as well. This means, depending on the definition, Flyte may inject a container to, for example, upload the outputs of a task when that task does not have any outputs. This PR validates variable existence to ensure copilot sidcars are not unnecessarily created. Type ☑︎ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☐ Unit tests added ☑︎ Code documentation added ☐ Any pending items have an associated Issue Complete description ^^^ Tracking Issue fixes flyteorg/flyte#3254 Follow-up issue NA flyteorg/flyteplugins Codecov: 62.90% (-0.12%) compared to 109224c 5 other checks have passed 5/6 successful checks