Skip to content

v2.75 fails downloading logs from workflows with skipped jobs #11311

@kirschem-fernride

Description

@kirschem-fernride

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

  1. Note that the workflow run id of a workflow run that has skipped jobs
  2. 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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsgh-runrelating to the gh run command

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions