I did not add it in the context of #14, as I needed more time to think about ux.
The dashboard currently stores and displays only an aggregate workflow_run_status per repo (SUCCESS/FAILURE/PENDING/NO_WORKFLOWS), which makes it hard to see which workflow is
failing.
When a repo shows a failed checks icon, we don’t expose the failing workflow directly.
Example target URL shape we want to support:
https://github.com/ome/ngff/actions/workflows/pages/pages-build-deployment
Add per-workflow status data and use it in the UI:
- In status generation, keep existing
workflow_run_status (for compatibility), and add:
workflow_run_statuses keyed by workflow ID.
- Store, per workflow ID:
name
status (SUCCESS / FAILURE / PENDING)
workflow_url (workflow overview URL)
- In the dashboard UI:
- display it (still not sure on what is best!)
I would not store run-specific URLs/IDs (e.g. run_url) to avoid config churn:
- New runs with unchanged per-workflow status should not create unnecessary diffs in
generated.yml.
I did not add it in the context of #14, as I needed more time to think about ux.
The dashboard currently stores and displays only an aggregate
workflow_run_statusper repo (SUCCESS/FAILURE/PENDING/NO_WORKFLOWS), which makes it hard to see which workflow isfailing.
When a repo shows a failed checks icon, we don’t expose the failing workflow directly.
Example target URL shape we want to support:
https://github.com/ome/ngff/actions/workflows/pages/pages-build-deploymentAdd per-workflow status data and use it in the UI:
workflow_run_status(for compatibility), and add:workflow_run_statuseskeyed by workflow ID.namestatus(SUCCESS/FAILURE/PENDING)workflow_url(workflow overview URL)I would not store run-specific URLs/IDs (e.g.
run_url) to avoid config churn:generated.yml.