"fly deploy" does not deploy the latest code

I have a website deployed via fly.io, which is connected to a GitHub repository. Lately, when I update the code locally, push to GitHub, then run “fly deploy,” the website does not update to the latest code. Only if I visit the “deployments” page on fly.io, and click “Deploy App” does the latest code get deployed. This has not always been the case, and seems to me to be a bug but I may be mistaken.

As another data point, my latest attempt to deploy has been running for over an hour, usually they are complete in about a minute:

can you share some more about what you see when you run fly deploy when it doesn’t appear to be updating your app?

Also, what indicates to you it’s not getting the new code? There’s some kind of obvious text or UI change you should see on deploy and a page refresh doesn’t show that change until you run it via deployments page or is it something else?

Which app is this?

any more info you can share that’s not sensitive would be helpful!

Mine’s getting stuck after pulling from git - kept running for 8 hours…

first occurrence was on Nov 4 13:17 UTC (last successful build was at Nov 4 12:37 UTC)

my issue turned out to be a misconfiguration in the fly.toml.

Managed to fix it by validating/deploying using fly deploy. It seems like the web interface isn’t able to surface fly.toml configuration errors.

:oof: thank you for sharing what you found. We’ve been making more direct effort on this flow in particular so this is really useful feedback. Hopefully will be able to better surface this kind of info very soon.

Out of curiosity what was the misconfiguration in your case if you’re able to share?

my misconfiguration was setting http timeouts using string values instead of integers

I did:

[http_service.http_options]
  idle_timeout = '10m'
  read_timeout = '10m'

instead of:

[http_service.http_options]
  idle_timeout = 600
  read_timeout = 600

Ah that is frustrating. Thank you for sharing. Glad you were unable to unblock yours for the time being. Should have some new iterations on this soon.