Skip to content

No health metrics returned #20220

@mnkiefer

Description

@mnkiefer

Investigate possible issues in the gh aw health command. A user has reported it returning:
⚠ No workflow runs found in the last 7 days
while a we know from the bash cmd below there were in fact many runs:
gh workflow list --json id,path \ | jq -r '.[] | select(.path | endswith(".lock.yml")) | .id' \ | xargs -I{} gh run list --workflow {}
Output:

STATUS  TITLE                                    WORKFLOW                                 BRANCH  EVENT   ID           ELAPSED  AGE
✓       Escalation Context for First Responders  Escalation Context for First Responders  main    issues  22853136166  6m22s    about 1 hour ago
✓       Escalation Context for First Responders  Escalation Context for First Responders  main    issues  22827361775  6m15s    about 19 hours ago
✓       Escalation Context for First Responders  Escalation Context for First Responders  main    issues  22821668340  4m2s     about 1 day ago
...

/cc @szabta89

Metadata

Metadata

Labels

bugSomething isn't workingcli

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions