Filter out "init-ssh-agent" from Che Code's Devfile task lists #23144
Labels
area/editor/vscode
Issues related to the Code OSS editor of Che
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Describe the bug
We recently added support in DWO for having the ssh-agent initialized as a postStart event, allowing users to have their ssh passphrase automatically inputed when performing git operations in their workspace terminals, see devfile/devworkspace-operator#1295
However, a side effect of this postStart event (which includes a DevWorkspace command) is that the command is shown in the editor. We should filter out this command from the editor, similar to what was done for #22098.
Che version
7.91@latest
Steps to reproduce
init-ssh-agent
even though this task/command is not defined in the devfile:Expected behavior
The init-ssh-agent command/task should not be shown as a devfile command IMO as it's confusing to users as to where it's coming from.
Runtime
OpenShift
Screenshots
Installation method
OperatorHub
Environment
Linux
Eclipse Che Logs
No response
Additional context
The command has the hard-coded id of
init-ssh-agent
. You can check this postStart command by checking the flattened devfile in your workspace:The text was updated successfully, but these errors were encountered: