Skip to content

feat(ci): tune system-tests compile concurrency (workers 128->64, timeout 15->20min)#1929

Merged
lyfne123 merged 2 commits into
hw-native-sys:mainfrom
Little-oil:ci-system-tests-workflow-tune
Jul 2, 2026
Merged

feat(ci): tune system-tests compile concurrency (workers 128->64, timeout 15->20min)#1929
lyfne123 merged 2 commits into
hw-native-sys:mainfrom
Little-oil:ci-system-tests-workflow-tune

Conversation

@Little-oil

Copy link
Copy Markdown
Contributor

What

CI workflow half of the system-tests (a2a3) compile-stability work, split out
from #1926 per review. The paired runtime/backend changes (per-case fan-out cap,
configurable ptoas timeout) are in #1928.

Changes

.github/workflows/ci.yml, Test system tests step:

  • --precompile-workers 128 → 64 — the outer precompile pool multiplied with
    each case's kernel-compile fan-out to spawn ~100 concurrent ccec subprocesses,
    exhausting process/thread limits and segfaulting mid-compile. Halving it lets
    the outer pool compose with the per-case cap in fix(runtime,backend): bound device compile fan-out; configurable ptoas timeout #1928.
  • timeout-minutes 15 → 20 — the lower concurrency reduces compile throughput,
    so the ~440-case suite crosses the old 15min budget; give it headroom.

Test

Validated on this branch's own CI run — system-tests (a2a3) completed green
within the 20min budget.

Note

Best paired with #1928: --precompile-workers=64 is calibrated to compose with
that PR's per-case fan-out cap. Landing this alone still lowers concurrency
safely, but the two are designed to work together.

Youhezhen added 2 commits July 2, 2026 11:38
The outer precompile pool (128) multiplied with each case's kernel-compile
fan-out to spawn ~100 concurrent ccec subprocesses, exhausting process/
thread limits and segfaulting mid-compile. Halve the outer pool so it
composes with the device_runner per-case cap instead of overwhelming the
runner.
Lowering precompile-workers to 64 to avoid ccec compile-thread exhaustion
reduces compile throughput; the ~440-case suite (13.5min at 128 workers)
now runs to 99% but crosses the old 15min step budget. Give it headroom.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Little-oil, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3a11e0f1-2f48-4b63-b250-40208f76dabf

📥 Commits

Reviewing files that changed from the base of the PR and between 80bac77 and 45bb37d.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Little-oil Little-oil changed the title ci: tune system-tests compile concurrency (workers 128->64, timeout 15->20min) feat(ci): tune system-tests compile concurrency (workers 128->64, timeout 15->20min) Jul 2, 2026
@lyfne123 lyfne123 merged commit d598b41 into hw-native-sys:main Jul 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants