Scripts: an empty sweep can erase the coverage baseline #2250
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2250
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?
@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.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.