-
Notifications
You must be signed in to change notification settings - Fork 881
Ability to run multiple commands in a coder_agent #2629
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
Comments
Hi, @phorcys420 . Obviously you're familiar with this mechanism and aware that you could create your own script. Could you describe how that method falls short in your use case? |
it's not really failing, i'm just saying it looks out of place, + I was told to file an issue because this could be a nice feature. And the named-script with optional parameter would be nice, this issue only exists because it would be dope to have OOTB. |
I think this should be the job of another utility like concurrently. We'll want to show these logs in the UI with #2957, and it gets a bit messy if we start having N number of logs instead of zero or one. |
As an update, I started making servics using supervisord to split out tasks. |
I would like a clean way to run multiple commands. Currently I have to do the following:
it does work but it isn't really nice (especially when you want to run something on the code-server host, it just feels improper).
My proposal would a list containing the commands:
also, maybe a way to group tasks too ?
(or maybe with
taskname
being an object containing{commands = ["command1", "command2"], needed = true}
, that way we can completely error if aneeded = true
scripts fail, and just warn the user somehow if aneeded = false
script fails)that way we could identify scripts that cause errors ? (just dropping ideas here about what I think would be nice)
The text was updated successfully, but these errors were encountered: