quickstart icon indicating copy to clipboard operation
quickstart copied to clipboard

Action waits for RPC to be healthy, but not Horizon and Friendbot

Open leighmcculloch opened this issue 8 months ago • 5 comments

The GitHub Action in the action.yml file waits for the container to be healthy, but does so by testing the RPC endpoint. The RPC is faster at getting setup than Horizon and subsequently Friendbot that uses Horizon. So when the RPC is healthy, if an account funding is sent immediately, Friendbot will fail to handle the request.

The health check should ensure that all the services, or the last service to start up (Friendbot) are healthy.

To do this, it would probably be helpful to first do this:

  • #683

cc @stellar/devx

leighmcculloch avatar Apr 10 '25 10:04 leighmcculloch

@leighmcculloch it does wait for Friendbot to be healthy (though, not very obviously) https://github.com/stellar/quickstart/blob/main/action.yml#L63-L64 <- this will only succeed when friendbot is healthy

ifropc avatar Apr 10 '25 15:04 ifropc

Ah that's perfect. I still think there's value in wrapping that up in a single endpoint, but the need is less critical if the GHA already does it another way.

leighmcculloch avatar Apr 10 '25 21:04 leighmcculloch

I agree that having just 1 health endpoint would be ideal

ifropc avatar Apr 11 '25 16:04 ifropc

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jul 10 '25 18:07 github-actions[bot]

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 09 '25 18:10 github-actions[bot]