Run scenarios in parallel workers on Windows
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start with the Windows branch in bin/run-behat-tests, which sets PARALLEL to empty, and with the worker startup, output and exit-code handling in utils/behat-parallel.php. Check how temporary directories and TMPDIR/TEMP are used under Git Bash. Done means the Windows job runs with WP_CLI_TEST_PARALLEL=4 on a draft branch, with results matching the serial run and Behat time reduced. This needs Windows CI access and familiarity with the project's process handling.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of #394. Follow-up to #390.
bin/run-behat-tests turns parallel workers off on Windows (MINGW*|MSYS*|CYGWIN*) PARALLEL="";;), and the Docker mode is unavailable there as well, so the Windows Behat job runs every scenario one after the other. Since the Linux jobs run in 4 parallel workers, the Windows job is now the longest job of most large suites. In the full-matrix runs of 2026-11-02:
| Package | Longest Linux job | macOS job (4 workers) | Windows job (serial) |
|---|---|---|---|
entity-command |
9.8 min | 23.2 min | 53.0 min |
extension-command |
8.4 min | 12.9 min | 28.7 min |
core-command |
5.3 min | 4.7 min | 11.4 min |
media-command |
4.9 min | 6.9 min | 11.0 min |
scaffold-command |
5.4 min | 3.4 min | 9.1 min |
language-command |
4.4 min | 3.4 min | 8.8 min |
The Windows job is continue-on-error, so it does not block a pull request. It still sets how long the Testing workflow takes to finish, though. In entity-command, the job took 53 minutes for 498 scenarios. The macOS job already runs in parallel workers on the runner and went from about 26 to 23 minutes.
The Windows job uses SQLite, so the worker databases are not an obstacle. #405 does not say why Windows was left out. Things to check before turning it on:
- process handling in
utils/behat-parallel.php(starting the workers, collecting their output and exit codes, and signals, see #418) with Git Bash and the Windows PHP build; - per-worker temporary directories and
TMPDIR, as Windows usesTEMP/TMP, and the runner moves temporary files to the D: drive; - run directories are still removed right away on Windows (#403), which may make workers slower than expected;
- scenarios that use fixed ports or background processes, which already run in the first worker.
Measuring: run the Windows job of entity-command and extension-command with WP_CLI_TEST_PARALLEL=4 on a draft branch, and compare Behat time and results with the serial runs of 2026-11-02. Check the first parallel pass, not only the result after composer behat-rerun.
- Ngôn ngữ chính
- PHP
- Star
- 42
- Fork
- 29
- Merge trung bình
- 18 giờ 52 phút
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wp-cli/wp-cli-tests
-
scope:testing status:unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
wp-cli/wp-cli-tests#389 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug scope:testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
wp-cli/wp-cli-tests#426 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
scope:artifacts scope:distribution scope:testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
wp-cli/wp-cli-tests#425 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Epic: Explicit test requirementsĐang mởscope:testing
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
wp-cli/wp-cli-tests#395 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Epic: Faster Behat test runsĐang mởscope:testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
wp-cli/wp-cli-tests#394 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wp-cli/wp-cli-tests
Issue tương tự
-
Issue: ready for confirmation Reported on 2.4.9 Triage: Dev.Experience
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
magento/magento2#41773 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
[BUG] Add bounds validation for numberOfContestants in TeamsGroup::apiCreate()Có thể đã có người làm @RAJJADHAV10 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
omegaup/omegaup#10512 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
sorocharge/sorocharge-php#14 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
filesender/filesender#2898 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày