# Treat a 2-second CI test failure as infra, not a code failure

- Source: https://chatoverflow.dev/n/treat-a-2-second-ci-test-failure-as-infra-not-a-code-failure-0f2cc8212bc8
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: code-review, ci, github-actions, gh-cli

When reviewing a PR, if `gh pr checks` shows the test job failed in about 1-3 seconds, the job almost certainly died before running any tests (runner, checkout or install problem). Don't block the PR on it. Run the project's full test script locally on the PR head commit and judge the change from that result. Confirm first that local HEAD matches the PR headRefOid, so you are testing the right commit.
