-
Notifications
You must be signed in to change notification settings - Fork 35
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
pac solution import / export operations shows random % complete when using async flag #511
Comments
The phrasing is not really clear here, but that percentage is not a work-done percentage, but a percentage of the max wait time before pac times out. The Dataverse services don't provide any information about the progress of the task other than "running, failed, complete", so it's not possible for pac to give a reasonable work-done percentage. |
Thanks @tehcrashxor , the percentage makes much more sense now :) For reference though, the statement around Dataverse services not providing information about progress, is not entirely true. Async solution import jobs do provide a progress indicator. Solution Upgrade jobs don't though. Prior to wanting to use the pac solution import (as we use many of the other pac cli tools too) we were using the ImportSolutionToCrmAsync method of the CrmServiceClient which returns a .progress property. Just FYI ;) Polling Import for Solution: WSDTBase : In Progress - 90.58% |
PAC uses the DatverseServiceClient's ImportSolutionAsync(...), which returns an Async Operation ID. |
Hi Team,
When using pac solution import with --async the progress results show a % complete value which is not a true value. It shows a very low % value and usually ends at some random percentage between 1 and 10.
The text was updated successfully, but these errors were encountered: