Skip to content

Composite command executes dependent commands in the same container #23725

@RomanNikitenko

Description

@RomanNikitenko

Describe the bug

The composite command functionality does not take into account component field for dependent commands, for example, a composite command has the following dependent commands:

  • command A has ubi8-based component
  • command B has ubi9-based component

The composite command ignores component for dependent commands: commands A and B are always executed in the same container.

ubi8/ubi9 - just for example and testing, consider one command for DB container, another one to run a web app, or something else...

Che version

7.113@latest

Steps to reproduce

  1. Start workspace https://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/#https://github.com/RomanNikitenko/web-nodejs-sample/tree/composite-command
  2. Terminal => Run task => run the following tasks:
  • ubi8 container echo
  • ubi9 container echo
  • Parallel: Check echo ubi8-ubi9
  • Sequential: Check echo ubi8-ubi9
  1. Check output

Expected behavior

Dependent commands are executed in the own container

Screenshots

Screenshot 2026-01-22 at 20 17 32

Environment

I've faced the problem on the dogfooding instance

Metadata

Metadata

Labels

area/editor/vscodeIssues related to the Code OSS editor of Chekind/bugOutline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.team/CThis team is responsible for the the IDEs and Extensions

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions