Read saved coverage reports with JSON encoding detection #2669
No reviewers
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!2669
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2669"
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?
@luckyteagirl on GitHub · 2026-11-26 05:41 UTC · original
luckyteagirl:codex/coverage-saved-json-bom→main· +28 −1 · 2 files · 1 commits · opencoverage_gate.py --run-jsonrejected saved sweep reports with a UTF-8 or UTF-16 byte-order mark. Pass the file bytes to Python's JSON decoder so it can recognize the encoding.What is in it
Tested
b49be183.python -B -m unittest discover -s scripts -p 'test_*.py': 26 passed, 0 failed, 0 skipped on Windows with Python 3.11.unsupportedcounter required by open PR #2536; the three encoding cases pass with that PR's coverage gate applied.git diff --checkpassed.Regression run
Not tested
AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.