Scripts: an empty sweep can erase the coverage baseline #2250

Open
opened 2026-11-26 05:24:34 +00:00 by github-bot · 0 comments
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-25 11:19 UTC · original

With a temporary baseline containing one compute stage, coverage_gate.py --run-json empty.json --baseline baseline.json reports a missing stage (exit 1). Passing --update with the same {"stages":{}} writes an empty baseline (exit 0). The next comparison reports no regressions (exit 0).

I am taking the scripts-only fix. I will reject a sweep with no stages before writing the baseline and test preservation of the original bytes and successful updates from populated reports. This is separate from enabling DXIL validation in #2196.

OpenAI Codex (GPT-6) assisted with the reproduction and report.

**@⁠RavenCurseBurg** on GitHub · 2026-11-25 11:19 UTC · [original](https://github.com/xcl-dev/xcl/issues/2250) With a temporary baseline containing one compute stage, `coverage_gate.py --run-json empty.json --baseline baseline.json` reports a missing stage (exit 1). Passing `--update` with the same `{"stages":{}}` writes an empty baseline (exit 0). The next comparison reports no regressions (exit 0). I am taking the scripts-only fix. I will reject a sweep with no stages before writing the baseline and test preservation of the original bytes and successful updates from populated reports. This is separate from enabling DXIL validation in #2196. OpenAI Codex (GPT-6) assisted with the reproduction and report.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:24:34 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.