Parallel commands in composite command seem to be run sequentially #6681
Labels
area/devfile-spec
Issues or PRs related to the Devfile specification and how odo handles and interprets it.
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/active
Indicates that an issue or PR is actively being worked on. It will not be closed automatically.
priority/Medium
Nice to have issue. Getting it done before priority changes would be great.
Milestone
/kind bug
/area devfile-spec
What versions of software are you using?
Operating System:
Fedora 37, kernel 6.2.7-200.fc37.x86_64
Output of
odo version
:odo v3.8.0 (47234b9)
How did you run odo exactly?
I ran into this issue when trying to use
odo deploy
with a parallel composite command (applying several Kubernetes components and runningexec
commands in parallel).Here is a much simpler Devfile to reproduce the issue.
Actual behavior
From the logs, it looks like the commands are running sequentially. We also have the same issues with
apply
commands.Expected behavior
Per the Devfile spec,
parallel
can be used to run the commands in parallel. So we should make sure to honor that.I guess it was handled at some point in the past because I saw it being checked in the code. After a very first look, the issue seems to be here: https://github.com/redhat-developer/odo/blob/main/pkg/libdevfile/command.go#L32-L35
This is why I am reporting this as a bug, and not a feature request/user story.
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered: