dashboard: show actionable CI states for newest runs (DASH-CI-ACTIONABLE-STATES) #1001

Open
github-bot wants to merge 1 commit from github-bot/gh-1001 into main AGit
Owner

@⁠5headsmartbtw on GitHub · 2026-11-24 16:43 UTC · original
5headsmartbtw:fix/dash-ci-actionable-states → main · +344 −27 · 3 files · 1 commits · open

Claimed in the coordination issue as: DASH-CI-ACTIONABLE-STATES

What and why

The CI panel previously labeled every non-success conclusion as failed and let an older completed run decide the status. Select the newest observed run by stable workflow ID and report failures, cancellations, skips, pending runs, and authorization requests separately. Read the repository's workflow configuration as its own source, so a disabled workflow can still show its last observed failure. Include links and suggested actions in the details.

Adapted from Danila Kupreenko's LeonidaReforge/Leonida#127 onto Continued main. The GitHub collector retains the D3D12 tracking-issue behavior from #149. The changes cover CI evidence, while #625 covers CLI hardening, #757 and #965 cover other dashboard documentation, and #970 covers snapshot naming.

Tested

  • Windows, CPython 3.15.2. All 50 existing tests in python -I tests/test_progress_dashboard.py passed on the baseline and after the change.
  • All 21 synthetic regressions in python -I tests/test_progress_dashboard_ci.py passed. They cover workflow identity, newest-run selection, actionable states, missing data, source links, and evidence in the generated report.
  • python -I tools/progress_dashboard.py --out ../dashboard-live --github generated HTML and JSON from live Continued main metadata. Both CI sources reported ok. The snapshot contained 4 pending runs and 6 active workflows with no observed run in the queried window, each with a source link.
  • git diff --check and scripts/check_no_game_data.py passed on the changed files.

GPUs tested: n/a (CPU-only metadata and synthetic tests).

AI-assisted: yes, Codex.

Checklist

  • Based on main.
  • One topic.
  • No game data, keys or decryption.
**@⁠5headsmartbtw** on GitHub · 2026-11-24 16:43 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1001) `5headsmartbtw:fix/dash-ci-actionable-states` → `main` · +344 −27 · 3 files · 1 commits · open Claimed in the coordination issue as: [DASH-CI-ACTIONABLE-STATES](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14) ### What and why The CI panel previously labeled every non-success conclusion as failed and let an older completed run decide the status. Select the newest observed run by stable workflow ID and report failures, cancellations, skips, pending runs, and authorization requests separately. Read the repository's workflow configuration as its own source, so a disabled workflow can still show its last observed failure. Include links and suggested actions in the details. Adapted from Danila Kupreenko's [LeonidaReforge/Leonida#127](https://github.com/LeonidaReforge/Leonida/pull/127) onto Continued `main`. The GitHub collector retains the D3D12 tracking-issue behavior from #149. The changes cover CI evidence, while #625 covers CLI hardening, #757 and #965 cover other dashboard documentation, and #970 covers snapshot naming. ### Tested - Windows, CPython 3.15.2. All 50 existing tests in `python -I tests/test_progress_dashboard.py` passed on the baseline and after the change. - All 21 synthetic regressions in `python -I tests/test_progress_dashboard_ci.py` passed. They cover workflow identity, newest-run selection, actionable states, missing data, source links, and evidence in the generated report. - `python -I tools/progress_dashboard.py --out ../dashboard-live --github` generated HTML and JSON from live Continued `main` metadata. Both CI sources reported `ok`. The snapshot contained 4 pending runs and 6 active workflows with no observed run in the queried window, each with a source link. - `git diff --check` and `scripts/check_no_game_data.py` passed on the changed files. GPUs tested: n/a (CPU-only metadata and synthetic tests). AI-assisted: yes, Codex. ### Checklist - [x] Based on `main`. - [x] One topic. - [x] No game data, keys or decryption.
Adapted from LeonidaReforge/Leonida#127 (a7aba01d8204fcf679341049f7314223a89b8fca). AI-assisted (Codex).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:32:51 +00:00
Author
Owner

@⁠PierreEbele on GitHub · 2026-11-25 14:25 UTC · original

Reviewed e98b345c: ran the new CI test on the PR tree (21 OK), tests/test_progress_dashboard.py on the PR tree (50 OK),
main (51 OK) and a materialized merge into current main (51 + 21 OK); copied to main, the new test fails (36 errors, 3
failures). Mocked-gh edge probes (deleted-workflow runs, missing createdAt, null conclusion, ties) render without claiming a
pass. One reproduced finding: the run query passes --all, which gh 2.45.0 (current Ubuntu 24.04 apt gh) rejects with
"unknown flag: --all" before auth, so on authed machines with that gh every CI row is source_unavailable while main's query
is accepted; current gh documents --all and all fields used. Suggest dropping --all or documenting the minimum gh version.
AI-assisted review.

Recommendation: Fix first

**@⁠PierreEbele** on GitHub · 2026-11-25 14:25 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1001#issuecomment-7165249206) Reviewed e98b345c: ran the new CI test on the PR tree (21 OK), tests/test_progress_dashboard.py on the PR tree (50 OK), main (51 OK) and a materialized merge into current main (51 + 21 OK); copied to main, the new test fails (36 errors, 3 failures). Mocked-gh edge probes (deleted-workflow runs, missing createdAt, null conclusion, ties) render without claiming a pass. One reproduced finding: the run query passes --all, which gh 2.45.0 (current Ubuntu 24.04 apt gh) rejects with "unknown flag: --all" before auth, so on authed machines with that gh every CI row is source_unavailable while main's query is accepted; current gh documents --all and all fields used. Suggest dropping --all or documenting the minimum gh version. AI-assisted review. **Recommendation:** Fix first
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1001/head:github-bot/gh-1001'
git switch 'github-bot/gh-1001'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1001'
git switch 'github-bot/gh-1001'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1001'
git switch 'github-bot/gh-1001'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1001'
git switch 'main'
git merge --squash 'github-bot/gh-1001'
git switch 'main'
git merge --ff-only 'github-bot/gh-1001'
git switch 'main'
git merge 'github-bot/gh-1001'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.