Open
Description
Describe the bug
Running gh run view --lo 5853 g --job #jobNumber results in failure for logs of bigger size. This issue also occurs when downloading logs archives via GitHub webpage for the workflow.
Affected version
gh version
gh version 2.74.0 (2025-05-29)
https://github.com/cli/cli/releases/tag/v2.74.0
Steps to reproduce the behavior
- Type this 'gh run view --log --job #jobNumber'
- The output 'failed to get run log: stream error: stream ID 1; CANCEL; received from peer'
Expected vs actual behavior
Error while trying to view logs for a job and the same issue occurs via GitHub.com as well, tried on chrome and safari. On safari after downloading for sometime I get 'The network connection is lost'. In some cases retrying the download archive works but CLI fails for specific jobs(I suspect it's to do with large log size). Log sizes are ~500MB for some workflows.