https://dagster.io/ logo
#dagster-cloud
Title
# dagster-cloud
r

Ryan Meekins

03/14/2023, 5:35 PM
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

Shalabh Chaturvedi

03/14/2023, 5:41 PM
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

Ryan Meekins

03/14/2023, 5:57 PM
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

Shalabh Chaturvedi

03/15/2023, 12:44 AM
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

Ryan Meekins

03/15/2023, 6:08 PM
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

Shalabh Chaturvedi

03/15/2023, 6:13 PM
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).
4 Views