Skip to content
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

Requests timeout #389

Merged
merged 5 commits into from
Nov 13, 2024
Merged

Requests timeout #389

merged 5 commits into from
Nov 13, 2024

Conversation

FoamyGuy
Copy link
Contributor

@FoamyGuy FoamyGuy commented Nov 12, 2024

@ladyada

Supersedes #366.

Looking back through comments and PRs related to the very long-lasting and sometimes failing actions tasks I realized that #366 was never merged.

The default behavior for requests does not use a connect or read timeout and can hang forever if a requests fails in certain ways.

Trying to recall my mindset from the time #366 was submitted I think my theory was that when we see the task run for the very long period and still not succeed that it may have been getting stuck in one of these hang forever due to failed request cases. Explicitly setting timeout values for all requests calls should prevent that if it is indeed what is happening.

The other stuff from 366 is no longer relevant and was causing merge conflicts with the new way that release notes get generated by the adabot tool so I've just created a new branch and PR to get it brought up to date with the current main.

Hoping that this will resolve: #263. The issue occurs inconsistently and I've never been able to get it to occur outside of github actions so I'm not sure how to test other than trying and then watching the actions results for a while to see if we get any more ~6hr failure runs.

@FoamyGuy FoamyGuy merged commit 53e7906 into adafruit:main Nov 13, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update_cp_org_libraries.py runs veryyyy slow
2 participants