progress_dashboard: find the D3D12 tracking issue by title, not as #313 (DASH-D3D-ISSUE) #149

Manually merged
github merged 2 commits from gh-pr/149/head into gh-pr/149/base 2026-11-26 08:46:27 +00:00
Owner

@⁠natterman12 on GitHub · 2026-11-24 02:29 UTC · original
dashboard/d3d-issue-lookup → main · +146 −19 · 5 files · 2 commits · merged 2026-11-24 03:10 UTC

Claimed in the coordination issue as: DASH-D3D-ISSUE (#14)

Depends on: #68 (same file and the adjacent docs row; this branch is main plus #68's commit plus one commit. If #68 lands first the diff here shrinks to that one commit; if you would rather take this one alone, it includes #68.)

What and why

tools/progress_dashboard.py --github read the D3D- table with a fixed gh issue view 313. That was the D3D12 → Vulkan tracking issue of the original repository. In this one:

  • no such issue exists, so the lookup returns nothing and the D3D12 panel is empty with no line saying why;
  • when this repository reaches number 313, the tool will read whatever unrelated issue or pull request has it.

Now the issue is found the way the coordination issue already is, by title: the open issue whose title starts with "D3D12 → Vulkan layer" (-> and other punctuation are accepted; the lowest number wins if a continuation exists). --d3d-issue N names one directly.

When there is no such issue, the sources list carries github_d3d12: missing with the title it looked for and the option to pass, and no other issue is read. When the issue cannot be read, it is invalid with the number. The panel title shows the number actually used. The source id changes from github_313 to github_d3d12; nothing else in the tree reads the old id.

The rest of the D3D- logic (d3d_state, the merged-PR cross-check, the metric) is untouched.

Tested

No GPU involved. Windows 11, Python 3.15.2:

  • python -I tests/test_progress_dashboard.py: OK, 50 tests (5 new)
    • title lookup picks the right issue among a near-miss title and a continuation, and never views 313
    • no issue, an unreadable list, and an unrelated item numbered 313 all give missing and read nothing
    • --d3d-issue skips the search; an unreadable issue is invalid; the option needs --github and a positive number
    • the three existing D3D- metric tests now answer the title search in their fake gh; their assertions are unchanged
  • python -I tests/test_docs_cli_flags.py, test_docs_links.py, test_text_encoding.py, test_text_write_line_endings.py: OK
  • A real run, python -I tools/progress_dashboard.py --github --out <folder outside the repo>, against this repository: 25 merged and 111 open pull requests, 3 workflows, coordination issue #14, and github_d3d12: missing - no open issue titled "D3D12 → Vulkan layer ..." in ubiquitarianism/leonida: pass --d3d-issue N to name one.
  • Not tested against a real tracking issue, since this repository has none yet; that path is covered by the faked gh tests only.

AI-assisted: yes (Claude Code)

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (not applicable: no translator change)

🤖 Generated with Claude Code

**@⁠natterman12** on GitHub · 2026-11-24 02:29 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/149) `dashboard/d3d-issue-lookup` → `main` · +146 −19 · 5 files · 2 commits · merged 2026-11-24 03:10 UTC Claimed in the coordination issue as: DASH-D3D-ISSUE (#14) Depends on: #68 (same file and the adjacent docs row; this branch is `main` plus #68's commit plus one commit. If #68 lands first the diff here shrinks to that one commit; if you would rather take this one alone, it includes #68.) ### What and why `tools/progress_dashboard.py --github` read the `D3D-` table with a fixed `gh issue view 313`. That was the D3D12 → Vulkan tracking issue of the original repository. In this one: - no such issue exists, so the lookup returns nothing and the D3D12 panel is empty with no line saying why; - when this repository reaches number 313, the tool will read whatever unrelated issue or pull request has it. Now the issue is found the way the coordination issue already is, by title: the open issue whose title starts with "D3D12 → Vulkan layer" (`->` and other punctuation are accepted; the lowest number wins if a continuation exists). `--d3d-issue N` names one directly. When there is no such issue, the sources list carries `github_d3d12: missing` with the title it looked for and the option to pass, and no other issue is read. When the issue cannot be read, it is `invalid` with the number. The panel title shows the number actually used. The source id changes from `github_313` to `github_d3d12`; nothing else in the tree reads the old id. The rest of the D3D- logic (`d3d_state`, the merged-PR cross-check, the metric) is untouched. ### Tested No GPU involved. Windows 11, Python 3.15.2: - `python -I tests/test_progress_dashboard.py`: OK, 50 tests (5 new) - title lookup picks the right issue among a near-miss title and a continuation, and never views 313 - no issue, an unreadable list, and an unrelated item numbered 313 all give `missing` and read nothing - `--d3d-issue` skips the search; an unreadable issue is `invalid`; the option needs `--github` and a positive number - the three existing D3D- metric tests now answer the title search in their fake `gh`; their assertions are unchanged - `python -I tests/test_docs_cli_flags.py`, `test_docs_links.py`, `test_text_encoding.py`, `test_text_write_line_endings.py`: OK - A real run, `python -I tools/progress_dashboard.py --github --out <folder outside the repo>`, against this repository: 25 merged and 111 open pull requests, 3 workflows, coordination issue #14, and `github_d3d12: missing - no open issue titled "D3D12 → Vulkan layer ..." in ubiquitarianism/leonida: pass --d3d-issue N to name one`. - Not tested against a real tracking issue, since this repository has none yet; that path is covered by the faked `gh` tests only. AI-assisted: yes (Claude Code) ### Checklist - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (not applicable: no translator change) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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 <[email protected]>
(cherry picked from commit a837d9a616)
--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 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:46:26 +00:00
github manually merged commit 6883da46ba into gh-pr/149/base 2026-11-26 08:46:27 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.