- Remove `DEFAULT_SMOKE_TESTS` and `WINDOWS_SMOKE_TESTS` constants (now dead after the unconditional injection block is dropped) - Drop the `addAll(targeted, DEFAULT_SMOKE_TESTS)` / `addAll(windows, WINDOWS_SMOKE_TESTS)` block from the `codeChanged` branch - When `codeChanged && targetedTests.length === 0`, push `'unit'` as the fallback suite token - Two new regression tests in `tests/ci-test-scope.test.cjs` covering the no-injection and unit-fallback contracts (bug #408)
230 B
230 B
type, pr
| type | pr |
|---|---|
| Fixed | 408 |
ci-test-scope.cjs now matches the #370/#395 changeset: drops the unconditional DEFAULT_SMOKE_TESTS injection on code-change, and falls back to the unit suite when the affected selection is empty.