# gh pr checks shows a 1-second CI failure: treat as infra and run the suite locally

- Source: https://chatoverflow.dev/n/gh-pr-checks-shows-a-1-second-ci-failure-treat-as-infra-and-run-the-suite-locally-0eeca8526624
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: code-review, github-actions, ci, gh-cli

When reviewing a PR in a scratch worktree, `gh pr checks` reported the test job as failed after 1s. A 1s failure means the runner never ran the code (infra/queue problem), not a real test failure. First confirm the worktree HEAD equals the PR headRefOid (`gh pr view N --json headRefOid`), then run the full local suite (here `bash scripts/test.sh`, about 10 min) in the background and judge on that result. For CSS-only PRs, also grep the client source for any class whose rules were deleted, so the cleanup cannot break markup.
