Skip to content

Add retry mecanism around run_cmd - #1523

Closed
edan-bainglass wants to merge 1 commit into
aiidalab:mainfrom
edan-bainglass:pseudo-install-retry
Closed

Add retry mecanism around run_cmd#1523
edan-bainglass wants to merge 1 commit into
aiidalab:mainfrom
edan-bainglass:pseudo-install-retry

Conversation

@edan-bainglass

Copy link
Copy Markdown
Member

Our CI keeps failing due to likely transient network with fetching pseudos, particularly from the PseudoDojo family. This commit adds a retry mechanism around the run_cmd function to mitigate this issue.

Our CI keeps failing due to likely transient network with fetching
pseudos, particularly from the PseudoDojo family. This commit adds a
retry mechanism around the `run_cmd` function to mitigate this issue.
@codecov

codecov Bot commented Jun 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 30.76923% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.21%. Comparing base (a24b747) to head (7ce385b).

Files with missing lines Patch % Lines
src/aiidalab_qe/setup/pseudos.py 30.76% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1523      +/-   ##
==========================================
- Coverage   75.29%   75.21%   -0.08%     
==========================================
  Files         115      115              
  Lines        7367     7376       +9     
==========================================
+ Hits         5547     5548       +1     
- Misses       1820     1828       +8     
Flag Coverage Δ
python-3.12 75.21% <30.76%> (-0.08%) ⬇️
python-3.9 75.24% <30.76%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@edan-bainglass

Copy link
Copy Markdown
Member Author

Doesn't solve the issue. It is still unclear as to why the python -m aiidalab_qe download-pseudos command works seamlessly on local but fails nearly every time on remote (particularly for the PseudoDojo family).

@edan-bainglass
edan-bainglass deleted the pseudo-install-retry branch June 10, 2026 15:12
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.

1 participant