Skip to content

fix(ci): resolve reconcile-screenshots PR probe with curl+jq - #1053

Merged
cursor[bot] merged 1 commit into
mainfrom
jkt/auto/ci-failure-investigation-a44b
Jul 20, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
jkt/auto/ci-failure-investigation-a44b

Conversation

@cursor

@cursor cursor Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Main tip f3741723 check suite failed three reconcile (N, branch) jobs (970 / 978 / 989) with exit 127.

Root cause

.github/workflows/reconcile-screenshots.yml runs on ${{ vars.CHECKS_RUNNER }}. Those self-hosted images ship curl + jq but not the GitHub CLI (ci-runners/Dockerfile). The "Check pull request is still open" step still called gh api, so every matrix cell failed immediately with gh: command not found.

Same tool gap #1031 fixed for ci-passed / commit-screenshots in ci.yml.

Fix

Replace the gh api … --jq .state probe with curl + jq against github.api_url, and fail closed on transport/API errors (do not treat a failed lookup as a closed PR).

Validation

Trigger

  • Failed jobs: 88432415440 / 88432415411 / 88432415410 on tip f3741723
Open in Web View Automation 

CHECKS_RUNNER images ship curl+jq but not the gh CLI. The open-PR gate in
reconcile-screenshots.yml still called `gh api`, so every matrix cell failed
with exit 127 (`gh: command not found`) on screenshot-churn main pushes.
Mirror the #1031 REST lookup and fail closed on transport/API errors.

Co-authored-by: Jonathan Kingston <jonathanKingston@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review July 20, 2026 18:50
@cursor
cursor Bot merged commit 0ea9911 into main Jul 20, 2026
18 checks passed
@cursor
cursor Bot deleted the jkt/auto/ci-failure-investigation-a44b branch July 20, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant