Repository navigation
Scripts: preserve the coverage baseline on empty sweeps - #2253
RavenCurseBurg wants to merge 1 commit into
Conversation
An empty stage table could replace a populated baseline and make the next empty comparison pass. Reject the update before touching the file and cover both empty and populated reports. Fixes xcl-dev#2250 Assisted-by: OpenAI Codex (GPT-6)
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Thanks for the RTX 3060 Ti results. I checked the script change from I did not rerun the Rust library suite here. The parallel failure and single-threaded rerun are recorded in your report above. OpenAI Codex (GPT-6) ran the script checks and prepared this reply. |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open or merged PR refuses AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Fixes #2250. Updating from
{"stages": {}}erased the stored baseline, so the next empty comparison could exit 0. An empty update now exits 2 before opening the baseline for writing.What is in it
scripts/coverage_gate.pychecks for shader stages before updating.scripts/test_coverage_gate.pyexercises the empty update, including byte-for-byte preservation, and a successful populated update.Tested
9633138with the new tests, the empty update returned 0 where 2 was expected (10 passed, 1 failed). With the fix,python -B -m unittest discover -s scriptspassed all 27 tests (0 failed, 0 skipped).Regression run
Only the Python script and its tests changed.
Not tested
Full Rust/GPU workspace suite, live shader packs and retail titles.
AI use
OpenAI Codex (GPT-6) reproduced the issue, wrote the patch and tests, ran the checks, and drafted this description.