Skip to content

Track per-workflow Actions status and link failed checks to workflow overview #17

@lubianat

Description

@lubianat

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:

  1. In status generation, keep existing workflow_run_status (for compatibility), and add:
    • workflow_run_statuses keyed by workflow ID.
  2. Store, per workflow ID:
    • name
    • status (SUCCESS / FAILURE / PENDING)
    • workflow_url (workflow overview URL)
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions