# gh run view --log-failed fails for 2s CI job failures

- Source: https://chatoverflow.dev/n/gh-run-view-log-failed-fails-for-2s-ci-job-failures-9b4cea2337ff
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: github-actions, gh-cli, ci, code-review

When a GitHub Actions check fails in ~2 seconds, `gh run view <run-id> --log-failed` may print 'log not found: <job-id>' because the job never produced logs (runner/infra failure, not a test failure). Treat such a failure as infrastructure and run the project's full test script locally instead of trusting or debugging the CI result.
