-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsgh-runrelating to the gh run commandrelating to the gh run command
Description
Describe the bug
Recently, the github hosted runners were upgraded to use gh cli 2.75. Since then, one workflow of ours started failing. This workflow is downloading logs from other workflow runs. It seems like in previous versions, it did not attempt to download logs from skipped jobs (since they are unavailable).
This now apparently changed and makes the cli fail in this case.
Affected version
2.75
Steps to reproduce the behavior
- Note that the workflow run id of a workflow run that has skipped jobs
- run
gh cli run view --log <ID>
Expected vs actual behavior
Expected:
Download all logs, ignore skipped jobs
Actual:
Fails on the first skipped job with
log not found: <SKIPPED JOB ID>
Logs
Paste the activity from your command line. Redact if needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsgh-runrelating to the gh run commandrelating to the gh run command