Hi! Is it usual for the deploy github action for a...
# dagster-plus
r
Hi! Is it usual for the deploy github action for a serverless cloud to take over an hour? I'm trying to deploy for the first time.
image.png
s
Hi Ryan - this is unexpected. It should take about 3-4 minutes. If you DM me the logs for the "Build and deploy Python executable" step, I can investigate further.
following up from DM: the job seems stuck on
Job is waiting for a hosted runner to come online.
. looks like GH is not scheduling this runner for some reason.
let me know if cancelling and retrying works. there's also some info here on how to look at the github runner capacity for your org: https://github.blog/2022-02-23-new-way-understand-github-hosted-runner-capacity/
r
I think it's stuck again on the same thing. I was seeing more logs but can't anymore. Going to try again. Also, this is the only job running on our GitHub hosted runner
s
Follow up: this was temporarily fixed by switching to docker deploys. However the root cause seems to be the
black
dependency causing excessive backtracking in pip installs. For this case I think we can just remove it and could instead add it to the
dev
extras in setup.py. It's just a coincidence that the order of dependencies used by docker deploys is different and it affects the pip resolution algorithm.
r
Thanks for the help! Just wanted to confirm that I was able to use
ENABLE_FAST_DEPLOYS
after adding my requirements to the
setup.py
file and moving
black
to the
dev
extras. Thanks!
s
Great to hear. We have identified the dependency incompatibility between
dagster-cloud
and the latest version of
black
and the fix will roll out with the next PyPI release (hopefully today).