Files
pest/tests/Visual
Aleksandr Štšepelin 9dc8c1d5cb fix: honor all stop-on-* flags in parallel mode (#1684)
* fix: honor all stop-on-* flags in parallel mode

Previously --stop-on-failure was the only flag honored in parallel
mode, and it only cleared pending tests when the exit code was
non-zero. The rest (--stop-on-defect, --stop-on-error, --stop-on-risky,
--stop-on-incomplete, --stop-on-warning, --stop-on-notice,
--stop-on-deprecation, --stop-on-skipped) were silently ignored.

WrapperRunner now precomputes the set of progress-file characters that
should trigger a stop (F, E, R, I, W, N, D, S) based on the configured
flags, and scans each worker's progress file for them after every
cycle. Once any matching outcome is seen, the pending queue is cleared.

Up to N-1 in-flight tests (where N is --processes) can still complete
after the first stop-worthy outcome — stopping them mid-run would risk
corrupting shared state.

Closes #1463.

* fix: preserve parallel stop conditions on Pest 5

* test: expand parallel stop-on regression coverage
2026-11-17 01:49:46 +05:30
..
2026-08-07 14:52:56 +01:00
2026-10-07 23:02:36 +04:00
2026-07-18 01:10:01 +01:00
2026-08-07 14:52:56 +01:00
2026-08-10 10:16:30 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00