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

Merged
5headsmartbtw merged 1 commit from upstream-pr/1001 into main 2026-11-28 21:52:31 +00:00
5headsmartbtw commented 2026-11-24 16:43:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by 5headsmartbtw on 2026-11-24T16:43:28Z.


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.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5476410441 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1001). Originally posted by [5headsmartbtw](https://github.com/5headsmartbtw) on 2026-11-24T16:43:28Z. --- Claimed in the coordination issue as: [DASH-CI-ACTIONABLE-STATES](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137911652) ### 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.
PierreEbele commented 2026-11-25 14:25:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T14:25:12Z.


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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7165249206 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1001#issuecomment-7165249206). Originally posted by [PierreEbele](https://github.com/PierreEbele) on 2026-11-25T14:25:12Z. --- 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
OreoFR commented 2026-11-28 21:46:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-28T21:46:13Z.


Verified by OreoFR

  • Base: main 5cb45921e + PR head e98b345cb
  • Test: python -I tests/test_progress_dashboard_ci.py
  • Red on main: 3 FAIL + 36 ERROR (KeyError ci_state, collect_github without a ci_branch argument, IndexError): the missing function itself (CI states)
  • Green with the PR: 21 OK
  • Verdict: READY
  • Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246258377 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1001#issuecomment-7246258377). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-28T21:46:13Z. --- **Verified by OreoFR** - Base: main `5cb45921e` + PR head `e98b345cb` - Test: `python -I tests/test_progress_dashboard_ci.py` - Red on main: 3 FAIL + 36 ERROR (KeyError ci_state, collect_github without a ci_branch argument, IndexError): the missing function itself (CI states) - Green with the PR: 21 OK - Verdict: READY - Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11 AI-assisted (Claude Code, Claude Opus 5.5).
MoonEyes commented 2026-11-28 21:52:34 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T21:52:34Z.


Merged after OreoFR's red/green check (check) (RTX 4070 Laptop, driver 621.40, Windows 11) and a local re-check here. Merged after local re-verification: this PR merged onto main 58b7a4ee1 without conflict, and its test file(s) (tests/test_progress_dashboard_ci.py) pass there. Earlier today the same tests failed on main without the PR (red/green) and a bundle with other open PRs showed no new failures. check_no_game_data.py is clean. Windows 11, Python 3.14; no GPU needed for these tests.

AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246336897 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1001#issuecomment-7246336897). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-28T21:52:34Z. --- Merged after **OreoFR**'s red/green check ([check](https://github.com/ProjectLeonida/mandy/pull/1001#issuecomment-7246258377)) (RTX 4070 Laptop, driver 621.40, Windows 11) and a local re-check here. Merged after local re-verification: this PR merged onto `main` 58b7a4ee1 without conflict, and its test file(s) (`tests/test_progress_dashboard_ci.py`) pass there. Earlier today the same tests failed on `main` without the PR (red/green) and a bundle with other open PRs showed no new failures. `check_no_game_data.py` is clean. Windows 11, Python 3.14; no GPU needed for these tests. _AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes._
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
ProjectLeonida/mandy!1001
No description provided.