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

Open
opened 2026-11-25 11:19:46 +00:00 by RavenCurseBurg · 0 comments
RavenCurseBurg commented 2026-11-25 11:19:46 +00:00 (Migrated from github.com)
Contributor

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.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.

<!-- greyfinch-sync:ivall/xcl:issue:6603312571 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2250). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-25T11:19:46Z. --- 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.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl#2240
No description provided.