diff options
| author | Leonardo Guimaraes <leozinhoszg@gmail.com> | 2026-11-22 14:42:08 -0300 |
|---|---|---|
| committer | Leonardo Guimaraes <leozinhoszg@gmail.com> | 2026-11-22 14:42:08 -0300 |
| commit | 4958cb1e7230787b669bd65289fcb2d59061ea59 (patch) | |
| tree | 1c16430bdde79ad7ad44095319d6ed57d55c724b /docs/progress_dashboard.md | |
| parent | 2de7683f43be84ee3c7c70c243d1e5bda8eaf653 (diff) | |
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.
Diffstat (limited to 'docs/progress_dashboard.md')
| -rw-r--r-- | docs/progress_dashboard.md | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/docs/progress_dashboard.md b/docs/progress_dashboard.md index 973b6ba94..07c182c2d 100644 --- a/docs/progress_dashboard.md +++ b/docs/progress_dashboard.md | |||
| @@ -24,22 +24,29 @@ Each source is optional. A missing one is listed under "Sources" on the page; it | |||
| 24 | | Translator contract | the contract table in [design.md](design.md#translator-status-and-runtime-contract), each row classified by how it says it was confirmed | contract row | | 24 | | Translator contract | the contract table in [design.md](design.md#translator-status-and-runtime-contract), each row classified by how it says it was confirmed | contract row | |
| 25 | | Runtime imports | the measured tables in [runtime_imports.md](runtime_imports.md) | import | | 25 | | Runtime imports | the measured tables in [runtime_imports.md](runtime_imports.md) | import | |
| 26 | | Shader corpus | `--work <work>`: counts per stage from `<work>/shaders/dxbc/index.json` and `<work>/shaders/spirv/index.json` | shaders, aggregated per stage | | 26 | | Shader corpus | `--work <work>`: counts per stage from `<work>/shaders/dxbc/index.json` and `<work>/shaders/spirv/index.json` | shaders, aggregated per stage | |
| 27 | | D3D12 layer | `--github`: the `D3D-` table of [#313](https://github.com/ItsNotRexed/Leonida/issues/313), read through `gh` | item | | 27 | | Pull requests into main | `--github`: every pull request into `main` of the main repository (`--repo`, default `ItsNotRexed/Leonida`), grouped by the item ID its title names (`D3D-86: …`, `… (SHADER-339)`) | pull request | |
| 28 | | D3D12 layer | `--github`: the `D3D-` table of [#313](https://github.com/ItsNotRexed/Leonida/issues/313), read through `gh` and checked against the merged and open pull requests | item | | ||
| 28 | | CI on main | `--github`: the latest completed run of each workflow on `main` | workflow | | 29 | | CI on main | `--github`: the latest completed run of each workflow on `main` | workflow | |
| 29 | 30 | ||
| 31 | Every run with `--github` reads the pull requests again, so a merge into `main` shows up on the next run as | ||
| 32 | IMPLEMENTED, even before a tracking table (such as #313's PR column) is edited. A pull request closed without merging is | ||
| 33 | left out. The page also lists the 30 latest merges, and the trend chart follows the share of pull requests merged and | ||
| 34 | of item IDs with a merged pull request. `gh pr list` reads at most 5000 per state; the Sources table says when that | ||
| 35 | limit is reached. | ||
| 36 | |||
| 30 | With `--github --login <account>` the page also lists that account's claims in the coordination issue (and the issue | 37 | With `--github --login <account>` the page also lists that account's claims in the coordination issue (and the issue |
| 31 | it continues) and its pull requests. Nothing is posted: every `gh` call is a read. | 38 | it continues) and its pull requests. Nothing is posted: every `gh` call is a read. |
| 32 | 39 | ||
| 33 | ## How a status is decided | 40 | ## How a status is decided |
| 34 | 41 | ||
| 35 | | Status | Unit tests and CTest | Contract row | Import | D3D- item | | 42 | | Status | Unit tests and CTest | Contract row | Import | Pull request | D3D- item | |
| 36 | |---|---|---|---|---| | 43 | |---|---|---|---|---|---| |
| 37 | | VERIFIED | passed, and nothing it depends on changed since | names a GPU check and leaves nothing open | image with 0 unimplemented imports | — | | 44 | | VERIFIED | passed, and nothing it depends on changed since | names a GPU check and leaves nothing open | image with 0 unimplemented imports | — | — | |
| 38 | | IMPLEMENTED | — | confirmed by an LLVM/Mesa reference, a corpus count or a CPU test, not a GPU | bound to a shim, the host or a module | merged on `main` | | 45 | | IMPLEMENTED | — | confirmed by an LLVM/Mesa reference, a corpus count or a CPU test, not a GPU | bound to a shim, the host or a module | merged into `main` | a PR merged into `main` and none open | |
| 39 | | PARTIAL | passed before a change to the test, `tools/`, `scripts/` or `make_game.py` (CTest: before the last commit touching `runtime/`) | waits for a GPU measurement, or names a GPU check with an item still open | — | pull request open | | 46 | | PARTIAL | passed before a change to the test, `tools/`, `scripts/` or `make_game.py` (CTest: before the last commit touching `runtime/`) | waits for a GPU measurement, or names a GPU check with an item still open | — | open | pull request open | |
| 40 | | FAILED | failed on its last run | — | — | — | | 47 | | FAILED | failed on its last run | — | — | — | — | |
| 41 | | MISSING | — | — | unimplemented | unclaimed | | 48 | | MISSING | — | — | unimplemented | — | unclaimed | |
| 42 | | UNKNOWN | skipped, or git can't tell what changed | states no confirmation method | — | claimed, no code yet | | 49 | | UNKNOWN | skipped, or git can't tell what changed | states no confirmation method | — | — | claimed, no code yet | |
| 43 | 50 | ||
| 44 | The contract classification reads the row's own words; the matched words are shown in each cell's details, so a | 51 | The contract classification reads the row's own words; the matched words are shown in each cell's details, so a |
| 45 | wrong class is visible and the rule list in the tool (`CONFIRMATION`) can be corrected. | 52 | wrong class is visible and the rule list in the tool (`CONFIRMATION`) can be corrected. |