Skip to content

CI timeouts and a retried install - #173

Open
eriknw wants to merge 1 commit into
python-graphblas:mainfrom
eriknw:ci-timeouts
Open

eriknw wants to merge 1 commit into
python-graphblas:mainfrom
eriknw:ci-timeouts

Conversation

@eriknw

@eriknw eriknw commented Dec 3, 2026

Copy link
Copy Markdown
Member

A macOS "Setup mamba" step hung for six hours on several PRs on 2026-12-02 until GitHub cancelled the job, and conda downloads failed now and then with HTTP 000. This adds the timeouts python-graphblas and python-suitesparse-graphblas use, plus a retried install.

  • Setup steps time out after 30 minutes. A successful Windows setup has taken up to about 16 minutes, so the limit leaves room. A step stopped by its timeout reports failure and the job goes on (checked in a throwaway run on a fork), so the existing conda fallback runs after a hang as it does after an error.
  • Jobs time out after 90 minutes (tests) and 120 (NetworkX suite), and the install and test steps have their own limits. The longest successful job lately took about 18 minutes.
  • Concurrency: a new push to a PR cancels its superseded run. Runs on main are never cancelled.
  • Install is tried three times, 30 and 60 seconds apart. conda's own download retries are left at their defaults (20 retries), which are already stronger than anything set here would be.
  • pytest step: the custom bash -l shell runs without -e. The step now sets it, so it fails as soon as pytest fails rather than depending on the commands after it.

A macOS "Setup mamba" step hung until GitHub's six-hour limit, and
continue-on-error cannot fall back to conda from a step that never
ends. The setup steps now time out after 30 minutes (Windows setup
takes up to about 16). A step stopped by its timeout reports failure
and the job goes on, so the conda fallback runs after a hang as it
does after an error. The jobs and the test steps have timeouts too,
as in python-graphblas and python-suitesparse-graphblas. A new push
to a PR cancels its superseded run; runs on main are never
cancelled. The install is tried three times, for the HTTP 000
download failures.

The custom `bash -l` shell has no -e, so the pytest step now sets it:
a failing pytest no longer depends on `coverage xml` to fail the step.
@codecov

codecov Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.57%. Comparing base (35dbc90) to head (65d3346).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
- Coverage   76.82%   75.57%   -1.25%     
==========================================
  Files         118      120       +2     
  Lines        4271     4413     +142     
  Branches      818      728      -90     
==========================================
+ Hits         3281     3335      +54     
- Misses        751      825      +74     
- Partials      239      253      +14     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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