-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter out "init-ssh-agent" from Che Code's Devfile task lists #23144
Comments
@RomanNikitenko Correct :) I think this would be the simplest approach to resolving this issue. |
With this PR: devfile/devworkspace-operator#1329, the command ids are now: Please see: https://github.com/devfile/devworkspace-operator/pull/1329/files#r1809335501 |
@RomanNikitenko With these changes, maybe a regex should be used to determine which events should be filtered out? Alternatively, you can determine the number of |
@AObuchow @dkwon17 |
I think this is a great idea, the command attribute could be something like |
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: