Commit Graph

38 Commits

Author SHA1 Message Date
814381969c Preserve distinct dashboard snapshots from the same second 2026-11-24 17:02:35 +01:00
6883da46ba progress_dashboard: find the D3D12 tracking issue by title, not as #313
--github read the D3D- table with `gh issue view 313`. That number was the
tracking issue of the repository the project started in. Here no such
issue exists, so the D3D12 panel was empty without a word, and once this
repository reaches that number the tool would read an unrelated item.

The issue is now the open one whose title starts with "D3D12 → Vulkan
layer" (looked up like the coordination issue), or the one --d3d-issue N
names. When there is none, or it cannot be read, the sources list says so
(github_d3d12: missing / invalid) and no other issue is read.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 21:28:55 -05:00
584b2679ae make_game, progress_dashboard: name this repository, not the private original
ensure_submodule() told a user with a ZIP download to
git clone https://github.com/ItsNotRexed/Leonida, which is private since
23 November 2026, and progress_dashboard.py --github read that repository by
default, so its pull-request, CI and coordination panels came back empty.

Both now name ubiquitarianism/leonida, as the README's clone command does.
Two tests tie the hint and DEFAULT_REPO to that README line, so a later move
fails a test instead of a user.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
(cherry picked from commit a837d9a616)
2026-11-23 21:27:53 -05:00
c9bb5becf7 Merge remote-tracking branch 'origin/pr/8979' 2026-11-23 17:40:58 -05:00
c83031fa51 progress_dashboard: require --github when using --login 2026-11-24 03:00:45 +05:00
8c1bde707e Use explicit CTest JUnit results for the local dashboard run 2026-11-23 22:52:51 +03:00
eea34639f6 progress_dashboard: refuse --out when it names a non-directory file (#6581)
Squash-merged after diff review of PR #6581
2026-11-23 12:24:41 -06:00
c1392d06f8 Reject nonpositive progress dashboard test options (#6592)
Squash-merged after diff review of PR #6592
2026-11-23 11:21:05 -06:00
9b60c92c99 docs: point progress_dashboard at its --help usage line (#6606)
Squash-merged after diff review of PR #6606
2026-11-23 11:17:36 -06:00
cc7f9e3db1 Include shader test helpers in dashboard freshness checks (#6683)
Squash-merged after diff review of PR #6683
2026-11-23 10:58:02 -06:00
590631f342 progress_dashboard: honor the encoding of JUnit reports (#6868)
Squash-merged after diff review of PR #6868 - progress_dashboard: honor the encoding of JUnit reports
2026-11-23 09:39:03 -06:00
09abd97dbb Merge pull request #4515 from Silent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:27 -05:00
2758d7d2cf Merge pull request #4492 from bobcatchris
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:13 -05:00
3bcba34319 Merge pull request #4442 from tedin7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:45 -05:00
5b9b583842 Merge pull request #4387 from TG0000
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:15 -05:00
571687f335 Merge pull request #4184 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:05 -05:00
c0438d5724 Merge pull request #4142 from Markas
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:11:41 -05:00
1249ff4f59 Merge pull request #4109 from Marco Luzzaro
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:11:22 -05:00
d78ad2da80 Merge pull request #4081 from Markas
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:11:06 -05:00
9fc6b263e4 progress_dashboard: fail on an unlistable sub-folder instead of a partial test selection or code digest 2026-11-22 22:58:17 -03:00
448fb32f7a fix: d3d12.merged does not count an ID that still has an open PR; marked partial when a PR list is unreadable (review) 2026-11-23 02:52:37 +01:00
a59a9baf81 progress_dashboard: publish text through a unique temp file 2026-11-22 19:46:43 -06:00
372cf42ec2 progress_dashboard: count merged D3D- items from merged PR titles (BUILD-1283) 2026-11-23 02:28:32 +01:00
cfb4a6fbf4 Check imported CTest reports for stale results 2026-11-23 01:54:06 +01:00
3dfa9f49e4 fix(tools): ignore nested CTest verdicts in captured output
A child can print a successful LastTest log before the outer test fails. Keep the outer record open until its own output ends.
2026-11-23 01:00:45 +01:00
68dbfad406 fix(tools): show CTest regex verdicts in dashboard
CTest writes its regex verdicts as reason lines. Omitting these lines hides failures, while reading captured stdout as a verdict can report a false pass.
2026-11-23 00:47:43 +01:00
6c194edb0b progress dashboard: preserve results when no tests match 2026-11-22 23:38:29 +00:00
6375cc8a96 Count fully skipped unittest files in the progress dashboard 2026-11-23 00:28:14 +01:00
4316631cd1 progress dashboard: reject malformed test filters 2026-11-22 23:19:24 +00:00
de16453976 BUILD-1129: recognize the checkout directory before trailing log text 2026-11-23 07:13:01 +08:00
9b04ba4c10 BUILD-1129: redact paths in similarly named sibling folders 2026-11-23 06:58:00 +08:00
5754abc1f6 BUILD-1129: scrub dashboard checkout paths containing spaces 2026-11-23 06:52:34 +08:00
dac28e6b19 Fix what the round-42 merges broke (tests and docs)
- shader_disasm: prune stale listings against every input, not the --skip-existing remainder (a resumed run
  deleted every listing it had just reused).
- progress_dashboard: a drive-letter path is never inside the repository off Windows (it printed user names);
  its own read_text helper is read_utf8, so the encoding check does not take it for pathlib's.
- Translator tests follow this round's rules: desc_lookup's BroadcastFirst in the typed-load condition walker;
  resinfo sizes are 0 past the last level and a 2D depth word is 0 (SHADER-388); SHADER-315 constant folding in
  the perm and i16 tests; #2089's structured wave64 emulation.
- test_semantic_translator_use: 57 oracle-only files merged before it are DEBT; test_spirv_tools_required is
  allowed (CI meta-test).
- Test fixes: image_fuzz fake writes the programs, preflight follows c506d00c's loader hint rule, feature_scan
  reads the first line of a pytest-decorated message, w64_graphics wording.
- docs: rows merged again in design.md, README.md, d3d12_vulkan.md; GameInput table rebuilt from #3172's rows;
  orphan rows in models.md and embedded_shaders.md; repeated bullets; anchors; a flag not on main.
- Repo rules: stdout guard on 14 programs; LF writes; csv lineterminator in bink_play.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:14:54 -05:00
b4a2e05585 progress_dashboard: no file name from outside the repository on the page
scrub() kept the last component of every absolute path, so a failing test line
naming a carved shader in the work folder showed the shader's name. A path
inside the repository now becomes its relative path and any other path becomes
<path>, file name included; URLs and relative paths are left alone.

The corpus test checked components, sources and metrics only, so a name added
to notes (which the page prints) passed. It now checks everything the
collector holds. Both cases were found by JRamos1993 in review; each new check
fails when the old behaviour is put back.
2026-11-22 16:52:03 -03:00
56c0bc848e progress_dashboard: project logo in the header, sticky filters, theme switch
The page embeds assets/logo.png as a data: URI, so it stays one file that
opens from disk; without the asset it shows no image. The filters, search
and section links stay at the top while scrolling, each status filter shows
its count, and a button clears the filters. Panel metrics are bars with
their ratio, panels without evidence move after the ones with it, and the
latest merges are a table with item tags and authors. A theme button
overrides the system theme (kept in localStorage when it is available);
the treemaps and the trend chart redraw on a theme change. Neutrals carry
a faint tint from the logo; status colours are unchanged.
2026-11-22 14:48:31 -03:00
4958cb1e72 progress_dashboard: count every pull request merged into main as implemented
With --github the dashboard now reads every pull request into main of the
main repository (--repo, default ItsNotRexed/Leonida) on each run: merged
ones are IMPLEMENTED, open ones PARTIAL, closed-unmerged ones are left out.
They are grouped by the item ID the title names (D3D-, SHADER-, BUILD-, ...).
Two new metrics follow the share of merged pull requests and of item IDs
with a merged pull request, and the page lists the 30 latest merges.

The D3D- items of #313 are checked against the same lists, so a pull
request the table still shows as open but already merged counts as merged,
and one closed without merging no longer keeps the item partial.
2026-11-22 14:42:08 -03:00
2de7683f43 progress_dashboard: read make_game.py's shaders folder; add a GPU-test panel
- corpus: make_game.py writes <work>/shaders/dxbc and <work>/shaders/spirv; the tool
  looked for <work>/dxbc and <work>/spirv and found nothing on a real work folder. The
  shaders folder itself is accepted too. The test now builds that layout.
- GPU tests: --gpu-log <file>[=<GPU, driver, OS>] reads the saved output of
  runtime/test/shaders/check.py, one group per GPU. ok is a pass, SKIP is not counted,
  anything else is a failure with its one-line detail; a log older than the last commit
  touching runtime/test/shaders or tools/rdna2spirv.py counts as needing a re-run.
  Result lines are told from the other lines check.py prints by its {name:20} column.

Checked on a real work folder: 26,501 of 26,503 carved shaders pass spirv-val, and none
of the 26,503 shader names appears in the page or the JSON.
2026-11-22 14:23:53 -03:00
9a82abceb3 tools/progress_dashboard: local page of what works, what changed and what blocks next
progress_dashboard.py (standard library, python -I) collects outcomes the project already
produces and writes a self-contained progress.html, JSON snapshots and a history into a
folder outside the repository (a folder inside it is refused):

- unit tests: --run-tests runs tests/test_*.py with ci.yml's selection, one process each;
  a test counts as current only if neither it nor tools/, scripts/, make_game.py changed
  since it passed (content digests, so uncommitted edits are handled too)
- runtime tests: runtime/build LastTest.log and --junit files (CTest or pytest)
- the translator contract table in docs/design.md, each row classified by how it says it
  was confirmed, with the matched words shown
- the measured tables in docs/runtime_imports.md
- --work: per-stage counts from the user's own carve and translation (numbers only)
- --github (read-only gh): latest completed CI run per workflow on main, the D3D- table
  of #313, the coordination issue's section sizes and, with --login, claims and PRs

No game data: counts, pass/fail and error classes only; no shader names or paths into the
game copy. The page has no packages and no network access. tests/test_progress_dashboard.py
covers the parsers, the classification, freshness, the no-names rule and the output folder.
2026-11-22 14:07:29 -03:00