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

Latch watch or wait command #268

Open
nh13 opened this issue May 18, 2023 · 0 comments
Open

Latch watch or wait command #268

nh13 opened this issue May 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nh13
Copy link
Contributor

nh13 commented May 18, 2023

Is your feature request related to a problem? Please describe.
I would like to use the latch CLI to poll/wait for a lunched workflow completes.

Describe the solution you'd like

latch watch <execution-id> command that waits for the execution to complete.

Could return an exit code of zero on success and non-zero on failure. Or zero always and a JSON blob (etc) of status.

Bonus points if there's a --logs option where it prints to stdout/stderr (or to file) the logs of each job (or something like it).

Describe alternatives you've considered

latch get-executions, but it's interactive and cannot query the status of an execution

Additional context

Consider wanting to run an integration test via a CI (GitHub actions). Using the latch CLI is super convenient if there was an automated way to register (exists), launch a workflow (exists), and wait and monitor the workflow (does not exist).

@nh13 nh13 added the enhancement New feature or request label May 18, 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