Hello , I frequently run into an issue where GitH...
# ask-community
s
Hello , I frequently run into an issue where GitHub is down temporarily( for a min or so), which cause problems when trying to run a flow. Since Prefect is often integrated with GitHub for code management, I wanted to reach out and see how others in the community handle these situations. Is anyone else experiencing this? We use Azure container instances (unlike docker doesn't hold code) which spin up for every new run and execute the deployment. Because of which I rely on cloning and pulling from GitHub to get the latest code for my Prefect workflows, and it can be frustrating when GitHub is down, even for just a short period. I wanted to ask: What strategies do you use for resilience in case GitHub is down? Do you have a backup plan for cloning code from GitHub ? How do you ensure you still have access to the latest updates for your projects if GitHub becomes temporarily inaccessible? Are there any other tools or techniques you use to manage code distribution within Prefect workflows that don't rely solely on GitHub? I'm curious if anyone had built-in resilience against GitHub downtime to minimize disruptions.
n
hi @Sneha_P - how are you cloning the code? there's only so much retries can do, but we do attempt a retry if the clone fails for this reason (temporary 500s from github etc)
s
Retries might not really work in my case as the error I see is this : "fatal: unable to access 'https://github.com/glsauto/prefect.git/': Could not resolve host: github.com" which means my ACI is unable to pull the code to even execute. So, it wouldn't be able to run any retries.
a
Hey @Sneha_P! Just a heads up your team has access to dedicated engineering support via your paid support plan. You can reach out to us at support@prefect.io to get dedicated assistance on this and other questions! Let me know if we can help with anything else at the moment.