Skip to content

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

Open
5headsmartbtw wants to merge 1 commit into
ProjectLeonida:mainfrom
5headsmartbtw:fix/dash-ci-actionable-states
Open

5headsmartbtw wants to merge 1 commit into
ProjectLeonida:mainfrom
5headsmartbtw:fix/dash-ci-actionable-states

Conversation

@5headsmartbtw

Copy link
Copy Markdown
Contributor

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.

Adapted from LeonidaReforge/Leonida#127 (a7aba01d8204fcf679341049f7314223a89b8fca). AI-assisted (Codex).
@PierreEbele

Copy link
Copy Markdown
Contributor

Reviewed e98b345: 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants