Repository navigation
fix(scripts): show gh's error when an upstream pin lookup fails - #14647
Conversation
The pin check discarded gh's stderr, so the filer's three failures on cursor/plugins@ae5650fe could not say whether the commit was missing or the API call failed (rate limit, outage). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #14647No security issues found. Scope: one file, What changed: the pin lookup used to discard all of What I checked:
Throughput-phase holds: none of the owner's named friction holds is touched. Spend: none. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsI read the whole diff for the one changed file, What changed. The upstream pin lookup at scripts/check-upstream-drift.sh#L369-L370 used to discard gh's output. It now captures gh's stderr and adds it to the What I checked:
Closing issue. The PR only says Tests. The fixture seam skips this live-API branch, so no test exercises the new message. The PR says this itself. The change only affects diagnostics, so I'm not counting it as a finding. The PR body lists verification steps (tests with 101 passing, shellcheck, a report run). The author ran these and I did not. No embedded instructions were found in the PR context or the prior-findings file. This is the lane's first review of this PR, so it was not limited to blocking findings. |
Refs: #14209
Summary
The upstream-drift pin check threw away gh's error output. Because of that, filer runs 42575536672 and 42607319598 failed on
cursor/plugins@ae5650fewithout a cause in the log. That commit exists upstream, and the same report runs clean locally, so the failure was most likely an API error (rate limit or outage) that the log could not show.Fix
scripts/check-upstream-drift.sh: the pin lookup captures gh's stderr and adds it to the error message it exits with. The exit code and the message prefix stay the same.Verification
bash scripts/check-upstream-drift.test.sh: PASS=101 FAIL=0.shellcheck scripts/check-upstream-drift.sh: clean.scripts/check-upstream-drift.sh --report --page docs/upstream/cursor-pstack.md: clean, every row unchanged.Related
N/A
Remaining
workflow_dispatchrun of the filer creates or reopens issues that carryneeds-human. That rerun follows this merge.🤖 Generated with Claude Code