Refactor solution imports to provide PS native progress indication#481
Refactor solution imports to provide PS native progress indication#481matwilko wants to merge 7 commits intoseanmcne:masterfrom
Conversation
…e polling delay for no reason)
…ocks up the rest of the system
…ative feedback on import progress
|
Awesome! Please let me know how this pans out, both in interactive testing but if you get the chance to also experiment with headless operations (this is used quite a bit via AzureDevOps for build/release pipelines). Thanks again for your effort & contribution! Shoot me a quick teams message or heads up when you think you've been through a bit more testing and verification. |
|
Good point, I was optimizing for our developer inner-loop here - I'll add a helper method to output both |
|
Apologies that this is languishing, I've had some trouble getting this merged into use internally (yay priorities!) so don't have a wider audience of testers hammering this just yet. Will let you know when it's been battle tested a little :) |
…Import-CrmSolution, and use $conn.ImportSolutionToCrmAsync call to get both async operation ID and import ID, rather than construct an async operation manually and not get the import ID
|
So this has now been hammered a bit internally, and after fixing some small bugs around checking completion status, this is now working well on a daily basis :) As requested, I've added |
Fixes #480.
I should note that this still needs some testing, and I'll be using my org as guinea pigs over the next week or so to work out any kinks, but wanted to get this in front of you upfront for any comments on approach/obvious problems.