Commit Graph

8 Commits

Author SHA1 Message Date
bc05a33060 Merge pull request #4603 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:20 -05:00
13addc8d51 Merge pull request #4580 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:07 -05:00
893f44bf8b Forward pipeline progress snapshots to isolate children 2026-11-23 04:03:48 +01:00
457e08460e Keep Vulkan isolate batches inside the requested slice 2026-11-23 03:43:59 +01:00
f56396ce21 Merge upstream pipeline checker updates 2026-11-22 23:02:46 +01:00
967d1870f5 BUILD-1035: Support pipeline crash isolation on Windows 2026-11-22 21:53:07 +01:00
c087f9cad6 tests: a file that skips every test exits 0, not 5
The check job runs each standard-library test file as
`python -I tests/test_*.py || exit 1`, and unittest exits 5 when a file runs
no tests at all. On Python 3.12.0 — measured here — a file whose tests all
skip (no C++ build, no GPU device, POSIX-only) takes that path and would fail
the job for a skip. `test_vk_pipeline_check_index.py` and
`test_vk_pipeline_check_isolate.py` now end in a main() that returns 0 for an
all-skipped run and 1 for a failure, an error, or a file with no tests at all,
so a file that loses its tests stays visible. Newer 3.12.x and 3.13 exit 0 for
the all-skipped case already, so this is a guard rather than a fix for a red
job on the runner CI pins.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-22 13:40:33 -06:00
e0416ce29d vk_pipeline_check: --isolate runs batches in child processes and records a module that kills the driver as failed (TEST-248)
--isolate (POSIX only; an error on Windows) runs the check in child processes
over --isolate-batch modules at a time. A child killed by a signal has its
batch bisected to the module, which is reported as MODULE CRASH, counted as a
failed pipeline and makes the exit status 1; the rest is checked as usual.
Children share cache.bin one after another (atomic saves). The test hook
VK_PIPELINE_CHECK_SIMULATE_CRASH=<name substring>[:SIGNAL] raises a signal
before a matching pipeline is created, so tests/test_vk_pipeline_check_isolate.py
checks this with five hand-assembled compute shaders and no crashing driver.
Normal (non-isolated) output is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 09:25:47 -05:00