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

Closed
opened 2026-11-26 20:17:07 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/149
Author: @natterman12
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism

Base: main ← Head: dashboard/d3d-issue-lookup


📝 Commits (2)

  • 584b267 make_game, progress_dashboard: name this repository, not the private original
  • 6883da4 progress_dashboard: find the D3D12 tracking issue by title, not as #313

📊 Changes

5 files changed (+146 additions, -19 deletions)

View changed files

📝 docs/progress_dashboard.md (+3 -3)
📝 make_game.py (+1 -1)
📝 tests/test_make_game_preflight.py (+14 -2)
📝 tests/test_progress_dashboard.py (+79 -0)
📝 tools/progress_dashboard.py (+49 -13)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/149 **Author:** [@natterman12](https://github.com/natterman12) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@ubiquitarianism](https://github.com/ubiquitarianism) **Base:** `main` ← **Head:** `dashboard/d3d-issue-lookup` --- ### 📝 Commits (2) - [`584b267`](https://github.com/ubiquitarianism/leonida/commit/584b2679aebf82690b47c50798558c247602d6f0) make_game, progress_dashboard: name this repository, not the private original - [`6883da4`](https://github.com/ubiquitarianism/leonida/commit/6883da46ba6255202ef5fd1631031949f1a86209) progress_dashboard: find the D3D12 tracking issue by title, not as #313 ### 📊 Changes **5 files changed** (+146 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `docs/progress_dashboard.md` (+3 -3) 📝 `make_game.py` (+1 -1) 📝 `tests/test_make_game_preflight.py` (+14 -2) 📝 `tests/test_progress_dashboard.py` (+79 -0) 📝 `tools/progress_dashboard.py` (+49 -13) </details> ### 📄 Description 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:17:07 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#200
No description provided.