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

plugin/builder: increase retries for requests to composer #128

Merged
merged 9 commits into from
Oct 28, 2024

Conversation

croissanne
Copy link
Member

The fedora koji instance often has trouble contacting the composer api, let's just make the retries a lot more generous.

Copy link
Member

@supakeen supakeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm slightly worried about these testcases that have started failing in this PR so I'll need to look deeper than just ack'ing this.

The fedora koji instance often has trouble contacting the composer api,
let's just make the retries a lot more generous.
@schuellerf
Copy link

Note: codespell was removed here due to it's inability to handle CamelCase and the came case in question is from the external unittest library (which we won't change 😉 )
codespell-project/codespell#196

sidenode: an other option might be to disable checking of function names of external libraries, but also there doesn't seem to be support in codespell for this either

supakeen
supakeen previously approved these changes Oct 21, 2024
@supakeen
Copy link
Member

The code changes are OK but shenanigans are going on with CI (CodeCov, Schutzbot).

@croissanne
Copy link
Member Author

Ok I think I got everything now, f41 didn't work because we're not building/testing f41 in composer yet, and koji-osbuild depends on osbuild-composer-tests.

@croissanne croissanne force-pushed the retries branch 3 times, most recently from b01ac2a to f512d59 Compare October 24, 2024 10:18
Drop the package sets, I'm not sure they exist anymore in that form, it
breaks depsolving.

Also pirnt the journal logs during the test to make it easier to debug
failures.
@croissanne croissanne changed the title plugin/builder: increase retries plugin/builder: increase retries for requests to composer Oct 25, 2024
@supakeen supakeen enabled auto-merge (rebase) October 25, 2024 19:58
@supakeen supakeen merged commit 8a3c8f0 into osbuild:main Oct 28, 2024
6 checks passed
@croissanne croissanne deleted the retries branch October 28, 2024 09:59
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.

3 participants