Skip to content

analyze-action-pr: document gh keyring and docker PATH gotchas - #1135

Open
potiuk wants to merge 1 commit into
mainfrom
analyze-action-pr-env-gotchas
Open

analyze-action-pr: document gh keyring and docker PATH gotchas#1135
potiuk wants to merge 1 commit into
mainfrom
analyze-action-pr-env-gotchas

Conversation

@potiuk

@potiuk potiuk commented Aug 3, 2026

Copy link
Copy Markdown
Member

Follow-up to the #1133 / #1134 triage. Two environment failures in
verify_action_build report causes that point away from the real problem, and
both cost a diagnosis round-trip:

  • A keyring-stored gh token is unreachable from the child process the CLI
    spawns, so the nested gh pr diff gets HTTP 401 and the CLI prints
    could not fetch diff for PR #<N> even though gh auth status reports a
    healthy login.
  • Docker Desktop installs its CLI in ~/.docker/bin, which may be off PATH
    (or a sandbox-denied read path), so docker is required but not found in PATH fires while the daemon is running fine.

Adds to the analyze-action-pr skill:

Docs-only; no code touched. prek run --all-files clean.

Both failures point away from their cause. A keyring-stored gh token is
unreachable from the child process verify_action_build spawns, so the
nested `gh pr diff` 401s and the CLI reports "could not fetch diff" even
though `gh auth status` is healthy. Docker Desktop's CLI lives in
~/.docker/bin, which may be off PATH, so "docker is required but not
found" fires while the daemon is running.

Also records the #1133/#1134 precedent: a tag-pinned-base-image warning
that the already-approved version shares is not a regression.

Generated-by: Claude Opus 5 (1M context) via Claude Code
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