You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The auto provisioning (having the SDK launch the engine session in a subprocess automatically, including downloading the CLI if on in the default cache dir) is being done in sync (in a worker thread). Make it run in async instead.
### Tasks
- [ ] Non-blocking
- [ ] Info and debug logs during provisioning
- [ ] Include stderr in provisioning error when `log_output` is set
- [ ] Make sure cancellations are properly handled and work as expected
- [ ] Make sure timeouts are properly handled during connection, not just query execution
- [ ] Consider supporting retries on a failed connection
- [ ] Capture more error conditions
- [ ] Capture OS signals to shut down
Activity
helderco commentedon Dec 6, 2022
[-]Make provision work well in async[/-][+]Python: Make provision work well in async[/+][-]Python: Make provision work well in async[/-][+]Python: Run the auto provisioning in async[/+][-]Python: Run the auto provisioning in async[/-][+]Python: Run auto provisioning in async[/+]helderco commentedon Dec 7, 2023
I'm closing this in favor of shifting to using modules which don't need provisioning. The current sync approach is good enough in the meantime.