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

Open
opened 2026-11-26 20:19:53 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1001
Author: @5headsmartbtw
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: fix/dash-ci-actionable-states


📝 Commits (1)

  • e98b345 dashboard: show actionable CI states for the newest workflow runs

📊 Changes

3 files changed (+344 additions, -27 deletions)

View changed files

📝 docs/progress_dashboard.md (+39 -1)
➕ tests/test_progress_dashboard_ci.py (+203 -0)
📝 tools/progress_dashboard.py (+102 -26)

📄 Description

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.

🔄 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/1001 **Author:** [@5headsmartbtw](https://github.com/5headsmartbtw) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/dash-ci-actionable-states` --- ### 📝 Commits (1) - [`e98b345`](https://github.com/ubiquitarianism/leonida/commit/e98b345cb24b4cf801f13442494d947244fda575) dashboard: show actionable CI states for the newest workflow runs ### 📊 Changes **3 files changed** (+344 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `docs/progress_dashboard.md` (+39 -1) ➕ `tests/test_progress_dashboard_ci.py` (+203 -0) 📝 `tools/progress_dashboard.py` (+102 -26) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1038
No description provided.