Sponsored Content
Skip to content

ci: Add Conan retry - #7147

Merged
legleux merged 1 commit into
XRPLF:developfrom
legleux:legleux/conan-global-retry
May 13, 2026
Merged

ci: Add Conan retry#7147
legleux merged 1 commit into
XRPLF:developfrom
legleux:legleux/conan-global-retry

Conversation

@legleux

@legleux legleux commented May 13, 2026

Copy link
Copy Markdown
Contributor

High Level Overview of Change

Bumps Conan's download retry settings so that transient upstream failures (occasionally 502s from GitHub when a recipe's source() step fetches an archive) no longer fail the "Build dependencies" step on the first hiccup.

Adds to global.conf

  • tools.files.download:retry=5 (default: 2)
  • tools.files.download:retry_wait=10 (default: 1 second)

Context of Change

The xrplf Conan remote at conan.ripplex.io mirrors recipes and prebuilt binaries but does not mirror upstream source archives. Whenever conan install --build=missing encounters a package_id that has no prebuilt (new compiler, new sanitizer profile, new option combination), Conan falls back to building from source, which fetches the tarball directly from the recipe's upstream URL. GitHub's archive host has been returning intermittent 502s, which currently fail the job immediately on the second attempt.

Future Tasks

It is possible to mirror the source to Artifactory also if we want and configure core.sources:download_urls to point there.

@legleux
legleux requested a review from bthomee May 13, 2026 18:32
@bthomee
bthomee requested a review from mathbunnyru May 13, 2026 18:34
@codecov

codecov Bot commented May 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.1%. Comparing base (aa5e4ff) to head (f5d53b1).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #7147     +/-   ##
=========================================
- Coverage     82.1%   82.1%   -0.0%     
=========================================
  Files         1010    1010             
  Lines        76203   76205      +2     
  Branches      7403    7406      +3     
=========================================
- Hits         62570   62562      -8     
- Misses       13633   13643     +10     

see 5 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@legleux
legleux added this pull request to the merge queue May 13, 2026
Merged via the queue into XRPLF:develop with commit 2f65cb5 May 13, 2026
3 checks passed
@legleux
legleux deleted the legleux/conan-global-retry branch May 13, 2026 20:09
@mathbunnyru

Copy link
Copy Markdown
Contributor

Nice, thanks!

@mvadari mvadari added this to the 3.2.0 milestone May 20, 2026
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.

4 participants