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

Handle edge cases when obtaining workflow ids #71

Open
markjschreiber opened this issue Oct 2, 2024 · 0 comments
Open

Handle edge cases when obtaining workflow ids #71

markjschreiber opened this issue Oct 2, 2024 · 0 comments

Comments

@markjschreiber
Copy link
Contributor

There are three cases where looking up a workflow ID could fail we should handle these or at least produce a useful error message:

  1. The workflow is a Ready2Run workflow, if the initial lookup fails we should try this.
  2. The workflow is shared from another account. This requires obtaining the account ID of the share. This might be possible and if we can we should check for this scenario
  3. The workflow has been deleted. We may not be able to recover but mainly we only need the workflow ID lookup to obtain the language of the workflow so we should avoid unnecessary lookups and maybe include a way to infer it or a command line option to specify it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant