Skip to content
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

Implement job watching in job launching commands #202

Open
grof opened this issue Nov 22, 2023 · 0 comments
Open

Implement job watching in job launching commands #202

grof opened this issue Nov 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@grof
Copy link
Collaborator

grof commented Nov 22, 2023

After issuing a command that launches a job on the backend, users typically have to use the jobs:watch command to see the status of their job. That command requires the specific jobId of the job that got launched which makes scripts to automate this more complicated to write.

A better user experience would be to equip each command that launches a job on the backend with the ability to immediately watch the job it just launched. Adding a --watch flag to these commands would do it.

Alternatively, watching jobs could be the default for these commands and a --no-watch or --background flag could tell the command to skip the watching part and return. This is likely what users expect to do but before selecting this approach, we need to consider if watching jobs by default could break existing scripts written by users. Additional output due to watching a job should not confuse scripts into thinking the command has completed. If this is respected then making watching jobs the default should work.

@grof grof added the enhancement New feature or request label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant