upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/progress_dashboard.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/progress_dashboard.md')
-rw-r--r--docs/progress_dashboard.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/progress_dashboard.md b/docs/progress_dashboard.md
index b36e938c8..88647e1f0 100644
--- a/docs/progress_dashboard.md
+++ b/docs/progress_dashboard.md
@@ -22,7 +22,7 @@ are read directly; there is no need to re-save them as UTF-8.
22| Panel | Source | Unit | 22| Panel | Source | Unit |
23|---|---|---| 23|---|---|---|
24| Unit tests | `--run-tests` runs `tests/test_*.py` with the selection `ci.yml` uses (standard-library files with a `__main__` block), one process each; the outcome and the commit it ran on are kept in `<out>/unit_results.json`. That is CI's standard-library loop only: `tests/semantic` (the translator suite) and files that need pytest or numpy are not run, so the panel is not the whole test suite; feed those through `--junit` (`python -m pytest tests/semantic --junitxml <file>`) to see them in the runtime-tests panel | test file | 24| Unit tests | `--run-tests` runs `tests/test_*.py` with the selection `ci.yml` uses (standard-library files with a `__main__` block), one process each; the outcome and the commit it ran on are kept in `<out>/unit_results.json`. That is CI's standard-library loop only: `tests/semantic` (the translator suite) and files that need pytest or numpy are not run, so the panel is not the whole test suite; feed those through `--junit` (`python -m pytest tests/semantic --junitxml <file>`) to see them in the runtime-tests panel | test file |
25| Runtime tests | `runtime/build/Testing/Temporary/LastTest.log` and any `--junit` file (CTest `--output-junit` or pytest `--junitxml`). CTest logs and XML reports are age-checked by file modification time | test | 25| Runtime tests | `runtime/build/Testing/Temporary/LastTest.log` and any `--junit` file (CTest `--output-junit` or pytest `--junitxml`). The CTest log and CTest XML reports are age-checked by file modification time; a pytest report is not | test |
26| GPU tests | `--gpu-log <file>[=<GPU, driver, OS>]`: the saved output of `runtime/test/shaders/check.py`, one group per GPU; a log older than the last commit touching `runtime/test/shaders` or `tools/rdna2spirv.py` counts as needing a re-run | test program | 26| GPU tests | `--gpu-log <file>[=<GPU, driver, OS>]`: the saved output of `runtime/test/shaders/check.py`, one group per GPU; a log older than the last commit touching `runtime/test/shaders` or `tools/rdna2spirv.py` counts as needing a re-run | test program |
27| 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 | 27| 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 |
28| Runtime imports | the measured tables in [runtime_imports.md](runtime_imports.md) | import | 28| Runtime imports | the measured tables in [runtime_imports.md](runtime_imports.md) | import |
@@ -34,11 +34,15 @@ are read directly; there is no need to re-save them as UTF-8.
34Every run with `--github` reads the pull requests again, so a merge into `main` shows up on the next run as 34Every run with `--github` reads the pull requests again, so a merge into `main` shows up on the next run as
35IMPLEMENTED, even before a tracking table (such as the D3D12 tracking issue's PR column) is edited. A pull request closed without merging is 35IMPLEMENTED, even before a tracking table (such as the D3D12 tracking issue's PR column) is edited. A pull request closed without merging is
36left out. The page also lists the 30 latest merges, and the trend chart follows the share of pull requests merged and 36left out. The page also lists the 30 latest merges, and the trend chart follows the share of pull requests merged and
37of item IDs with a merged pull request. `gh pr list` reads at most 5000 per state; the Sources table says when that 37of item IDs with a merged pull request. The chart draws at most eight metrics, the first eight metric IDs of the
38limit is reached. 38history in alphabetical order, so with every source present `runtime.current`, `tests.current` and `tests.passed`
39are left out of it (they are still in the metrics table). `gh pr list` reads at most 5000 per state; the Sources
40table says when that limit is reached.
39 41
40With `--github --login <account>` the page also lists that account's claims in the coordination issue (and the issue 42Every run with `--github` also reads the open coordination issue and shows the size of three of its sections ("Up for
41it continues) and its pull requests. Nothing is posted: every `gh` call is a read. 43grabs", "Ready for review or a GPU test", "Needs a rebase on `main`") in the page header. With `--github --login
44<account>` the page also lists that account's claims in the coordination issue (and the issue it continues) and its 50
45latest pull requests. Nothing is posted: every `gh` call is a read.
42 46
43## How a status is decided 47## How a status is decided
44 48
@@ -49,7 +53,7 @@ it continues) and its pull requests. Nothing is posted: every `gh` call is a rea
49| PARTIAL | passed before a change to the test, `make_game.py`, or a Python file under `tools/`, `scripts/` or `runtime/test/shaders/` (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 | 53| PARTIAL | passed before a change to the test, `make_game.py`, or a Python file under `tools/`, `scripts/` or `runtime/test/shaders/` (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 |
50| FAILED | failed on its last run | — | — | — | — | 54| FAILED | failed on its last run | — | — | — | — |
51| MISSING | — | — | unimplemented | — | unclaimed | 55| MISSING | — | — | unimplemented | — | unclaimed |
52| UNKNOWN | skipped, or git can't tell what changed | states no confirmation method | — | — | claimed, no code yet | 56| UNKNOWN | skipped (a unit-test file whose every case skipped) | states no confirmation method | — | — | claimed, no code yet |
53 57
54The contract classification reads the row's own words; the matched words are shown in each cell's details, so a 58The contract classification reads the row's own words; the matched words are shown in each cell's details, so a
55wrong class is visible and the rule list in the tool (`CONFIRMATION`) can be corrected. 59wrong class is visible and the rule list in the tool (`CONFIRMATION`) can be corrected.