Scripts: an empty sweep can erase the coverage baseline #2240
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by RavenCurseBurg on 2026-11-25T11:19:46Z.
With a temporary baseline containing one compute stage,
coverage_gate.py --run-json empty.json --baseline baseline.jsonreports a missing stage (exit 1). Passing--updatewith 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.
upstream-sync referenced this issue2026-11-25 14:08:43 +00:00