-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add ability to poll for task availability after install #189
Comments
Here is the error I get if i try to use the tasks too quickly after install. If I rerun the jobs a few minutes later, they work fine
|
Yeah, this is frustrating. Richard Fennel has a release gate that waits for the availability. In order for this to be really useful, you probably also want the exact same version to be available. I currently don't have the bandwidth to add this though. I'll keep it in mind for future enhancements. |
Thanks @jessehouwing for the additional solution and the feedback about the version. |
For my extension, i run several tests after install a pre-release version to testing org. I have noticed that there is a delay after installing an extension before it can actually be used. I have found that polling the
tfx build tasks list
for my task id allows my pipeline to know when the task is ready for use. Having either the install task or a new task perform this check may be helpful to others that are experiencing the same. Here is the bash I use to poll for task availability from my pipeline. I think the same could be done from node much easierThe text was updated successfully, but these errors were encountered: