-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting errors quite regularly in practice #332
Comments
Hi Chris, Thanks for this. I've seen this myself and had retries put at 30 within the action in order to try and counter that. I do think Observatory throttles, and in their docs they recommend running your own version of the tool - I believe via docker. Let me do a deeper dig. All contributions welcome of course, the code for this project is fairly light, it's just exec'ing the observatory CLI. |
At first glance I would say the problem lies in the underlying CLI, here: But following on from that it looks like here: observatory-github-action/src/tools/observatory-runner.ts Lines 25 to 37 in 8ede7d2
In this action I might try something different - I'll implement an exponential backoff logic here - because I think the linear single second retry is not configurable: |
@ChrisSargent I have cut a beta at: https://github.com/simonireilly/observatory-github-action/releases/tag/v0.1.1-beta.1 Can you try: - name: Observatory Github Action
id: observatory
uses: simonireilly/[email protected]
with:
web_host: https://example.com Would be good to know if this increases the stability by reducing the total number of requests. |
Should be closed by https://github.com/simonireilly/observatory-github-action/releases/tag/v0.1.1 Re-open if it continues |
We have this running as a CI job, it probably gets run 8 or 10 times a day and currently is failing about 50% of the time. I've attached some screenshots of the logs. It looks like maybe observatory is doing some throttling but then the retries are too close together and it gets blocked, not quite sure though.
Happy to try to help with a PR if you have an idea where to start looking?
Thanks,
Chris
The text was updated successfully, but these errors were encountered: