• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Chia-Network / chia-blockchain / 23666962768

27 Mar 2026 08:51PM UTC coverage: 91.166% (+0.02%) from 91.148%
23666962768

push

github

web-flow
Increase timelord test job timeout from 30m to 40m (#20736)

### Purpose:

The timelord CI job on macOS Intel is hitting the default 30-minute
`job_timeout`, causing the job to be cancelled during post-test coverage
processing — even though the tests themselves pass.

Example failure:
https://github.com/Chia-Network/chia-blockchain/actions/runs/23656830463/job/68916319761?pr=20735

In that run, setup took ~4 minutes and the pytest step took ~25.5
minutes (completing successfully), leaving no time for coverage data
processing before the 30-minute wall clock expired.

Even on a recent successful `main` run, the macOS Intel timelord job
took ~19.8 minutes total — already 66% of the budget, leaving it
vulnerable to any runner variance.

### Current Behavior:

The timelord test directory (`chia/_tests/timelord/config.py`) does not
override `job_timeout`, so it inherits the default of 30 minutes from
`testconfig.py`. This is too tight for macOS Intel where setup + tests +
coverage processing can exceed 30 minutes.

### New Behavior:

Sets `job_timeout = 40` in `chia/_tests/timelord/config.py`, giving ~10
minutes of headroom beyond the current worst case. This matches the
timeout used by other similarly-timed test directories (e.g.
`wallet/config.py`, `core/full_node/stores/config.py`).

### Testing Notes:

- Config-only change; no product code or test logic affected
- `chia/_tests/*/config.py` files are excluded from diff-cover
(`.diffcover.toml`)
- Verified with ruff lint, ruff format, and mypy locally

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk config-only change that just increases the CI timeout for
timelord tests, with no product code or test logic modifications.
> 
> **Overview**
> Increases the timelord test directory CI `job_timeout` override to
`40` minutes in `chia/_tests/timelord/config.py` (from the default `30`)
to reduce macOS Intel job cancellations during post-test/coverage
processing.
> 
> <sup>Written by [Cursor
Bugbo... (continued)

10476 of 11664 branches covered (89.81%)

Branch coverage included in aggregate %.

0 of 1 new or added line in 1 file covered. (0.0%)

343 existing lines in 14 files now uncovered.

106398 of 116535 relevant lines covered (91.3%)

1.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.82
/chia/full_node/full_node_api.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc