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

Registry tool: "--dry-run" flags could produce messy results when used with concurrency #1118

Open
timburks opened this issue Mar 22, 2023 · 0 comments

Comments

@timburks
Copy link
Contributor

timburks commented Mar 22, 2023

Several compute subcommands accept --dry-run flags that cause them to print generated values instead of saving them in artifacts. But because these prints occur in tasks, I think (but haven't observed) that they could occur simultaneously, leading to garbled output. I've never used these flags, so I'm not strongly favoring keeping them, but if we do, should we force --jobs to 1? Or should we only allow --dry-run with patterns that match single resources?

Also, what exactly should we be outputting (raw artifacts or Registry YAML)?

@timburks timburks moved this to Todo in Apigee API Registry Apr 5, 2023
@timburks timburks moved this from Todo to Backlog in Apigee API Registry Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant