ci: redraw the coverage dashboard on each push to main #302

Manually merged
github merged 3 commits from gh-pr/302/head into gh-pr/302/base 2026-11-26 21:41:29 +00:00
Owner

@⁠Kha73k on GitHub · 2026-11-21 21:32 UTC · original
Kha73k:tooling/dashboard-auto-update → main · +14 −1 · 1 files · 3 commits · merged 2026-11-22 03:56 UTC

Keeps the README coverage graphic current. On pushes to main, the Windows job writes CTest's JUnit file, runs form_coverage.py and coverage_svg.py, and uploads the SVG. A new coverage-dashboard workflow runs when that run succeeds. It copies the SVG to a coverage-dashboard branch that holds only that file. It runs no repository code, is the only job with contents: write, and skips a run whose commit is no longer the head of main. The README loads the image from that branch, so the committed snapshot is removed. Builds on #294.

Tested on the fork's main at 149e971: Windows checks drew and uploaded the SVG. Coverage dashboard then published it as a github-actions[bot] commit. The image is served as image/svg+xml and reads x64 49/948, gfx1013 61/1968 on windows-2025 WARP. A failed checks run leaves the publish job skipped.

🤖 Generated with Claude Code

**@⁠Kha73k** on GitHub · 2026-11-21 21:32 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/302) `Kha73k:tooling/dashboard-auto-update` → `main` · +14 −1 · 1 files · 3 commits · merged 2026-11-22 03:56 UTC Keeps the README coverage graphic current. On pushes to main, the Windows job writes CTest's JUnit file, runs `form_coverage.py` and `coverage_svg.py`, and uploads the SVG. A new `coverage-dashboard` workflow runs when that run succeeds. It copies the SVG to a `coverage-dashboard` branch that holds only that file. It runs no repository code, is the only job with `contents: write`, and skips a run whose commit is no longer the head of main. The README loads the image from that branch, so the committed snapshot is removed. Builds on #294. Tested on the fork's main at 149e971: [Windows checks](https://github.com/Kha73k/Xbox2Windows-fork/actions/runs/44950735936) drew and uploaded the SVG. [Coverage dashboard](https://github.com/Kha73k/Xbox2Windows-fork/actions/runs/44951935190) then published it as a github-actions[bot] commit. The image is served as `image/svg+xml` and reads x64 49/948, gfx1013 61/1968 on windows-2025 WARP. A failed checks run leaves the publish job skipped. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The Windows job writes CTest's JUnit file, runs form_coverage.py and
coverage_svg.py on pushes to main, and uploads the SVG. A separate
coverage-dashboard workflow, triggered when that run succeeds, copies the
SVG to a coverage-dashboard branch that holds only that file. It runs no
repository code, has the only contents: write permission, and skips a run
whose commit is no longer the head of main. The README shows the image
from that branch, so the committed snapshot is removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:41:28 +00:00
github manually merged commit a9c2dc44e5 into gh-pr/302/base 2026-11-26 21:41:29 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-21 21:57 UTC · original

Please keep the committed README snapshot and scope a revision to producing a downloadable SVG artifact in the existing CI run. That gives contributors a current measurement without adding a write-capable workflow, a publication branch or force pushes for a generated graphic. The separate publishing job and README branch URL are outside the approved scope.

**@⁠R0Y00** on GitHub · 2026-11-21 21:57 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/302#issuecomment-7069834654) Please keep the committed README snapshot and scope a revision to producing a downloadable SVG artifact in the existing CI run. That gives contributors a current measurement without adding a write-capable workflow, a publication branch or force pushes for a generated graphic. The separate publishing job and README branch URL are outside the approved scope.
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-22 03:57 UTC · original

Merged the artifact-only revision. The reviewed workflow has one changed file and uploads the SVG from the existing Windows job. I downloaded coverage-dashboard from run 44982495550, parsed the SVG, and checked its fixture coverage and measured-commit label. The committed README snapshot stays in place. Thanks for the rendering and upload steps.

**@⁠R0Y00** on GitHub · 2026-11-22 03:57 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/302#issuecomment-7073886141) Merged the artifact-only revision. The reviewed workflow has one changed file and uploads the SVG from the existing Windows job. I downloaded coverage-dashboard from run 44982495550, parsed the SVG, and checked its fixture coverage and measured-commit label. The committed README snapshot stays in place. Thanks for the rendering and upload steps.
This discussion has been locked. Commenting is limited to contributors.
No description provided.