chore(ci): bump ai-toolkit pin to 83ac42b for bullfrog allowlist fix#107
chore(ci): bump ai-toolkit pin to 83ac42b for bullfrog allowlist fix#107dgilmanuni wants to merge 1 commit into
Conversation
After #106 unblocked the workflow's startup_failure, the docs-check job started timing out at the 15-minute reusable-workflow default. Logs showed bullfrog's egress sandbox blocking DNS to registry.npmjs.org for the entire run, causing the Claude tool to retry until the timeout reaper killed the job. ai-toolkit#501 (merged today, on main at 83ac42b) adds registry.npmjs.org + *.npmjs.org + claude.ai / *.claude.ai to the bullfrog allowlist and bumps anthropics/claude-code-action to v1.0.119. Bumping the pin past that fix should let docs-check actually complete on PRs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🤖 Claude Code Review
Waiting for review to complete... 💡 Want a fresh review? Add a comment containing |
📚 Documentation Check ✅Verdict: Passed CI infrastructure change only - no plugin modifications, no documentation updates required Documentation Check: PASS ✅Changed Files: Change Type: CI infrastructure update (workflow pin bump) Analysis✅ No plugin code modified - The critical plugin version bump check does not apply ✅ No documentation updates needed - This is purely a CI maintenance change that doesn't affect user-facing functionality or package code ℹ️ Optional changelog entry - While not required, you could optionally document this CI fix in CHANGELOG.md SummaryThis PR updates the claude-docs-check workflow to use a newer version of ai-toolkit (fixing a bullfrog allowlist issue). Since no plugin code or user-facing functionality was modified, no documentation updates are required. Suggestions (1)
🤖 Generated by Claude Documentation Validator | Mode: |
Summary
startup_failure, the docs-check job started actually running — and timing out after 15 minutes.96ef665),bullfrogsec/bullfrogran withegress-policy: blockand an allowlist that did not includeregistry.npmjs.org. The Claude Code action's tool processes appear to hit the npm registry at runtime; every request was blocked, and the action retried until the 15-minute job timeout killed it.83ac42b) addsregistry.npmjs.org,*.npmjs.org,claude.ai,*.claude.aito the bullfrog allowlist and bumpsanthropics/claude-code-actionto v1.0.119. This PR bumps the uniswap-ai pin past that fix.What changed
.github/workflows/claude-docs-check.yml: bumped the reusable-workflow pin from96ef665ba04221de07e94fcc3ea69fe32c7cf306to83ac42bf6a63fdaa2fc71c760b02ab85df21068a(one line).Test plan
actionlint .github/workflows/claude-docs-check.yml— clean.83ac42bhasregistry.npmjs.orgin its bullfrog allowlist and usesclaude-code-action@v1.0.119(vs. v1.0.75 at the old pin).Session context
Investigation
Following PR #106, the docs-check job on the same branch went from
startup_failure→CANCELLED. The job ran 15:17 and the "Run Claude Docs Check" step was killed at exactly 14:39 elapsed — thetimeout_minutesdefault in the reusable workflow.Log analysis (
gh run view ... --log) showed the step's tail was dominated by repeated[+058329-04-14T...] Blocked DNS request to registry.npmjs.org from unknown processwarnings — bullfrog's egress sandbox firing for the full duration. Far-future timestamps are bullfrog's internal sandbox clock, not real time.git log -S 'registry.npmjs' .github/workflows/_claude-docs-check.ymlinUniswap/ai-toolkitpointed to3a4dbad(ai-toolkit#501): "fix(workflows): bump claude-code-action and expand egress allowlists". That diff:…plus a bump of
anthropics/claude-code-actionfrom v1.0.75 → v1.0.115 (then v1.0.119 by the time of83ac42b). The fix landed on ai-toolkitmainbetween PR #106 being authored and this PR.Options evaluated and rejected
timeout_minutesin the caller. Rejected — the root cause is bullfrog blocking npm DNS, not a slow run. More time just burns more Anthropic spend on the same retry loop.bullfrogsec/bullfrogstep runs inside the reusable workflow itself; the caller doesn't have a hook to amend itswith:block. The fix has to come from ai-toolkit.83ac42b.83ac42bis current ai-toolkitmainHEAD as of this PR and is the first commit that contains the fix's stable form (v1.0.119 of claude-code-action). Going further chases a moving target.Related
plugin_refinput that was causingstartup_failureupstream of this issue.96ef665) is also used byclaude-code-review.ymlandgenerate-pr-title-description.yml. Those workflows are currently green, so they're not strictly broken, but they will pick up the same bullfrog allowlist gap the next time a Claude tool call needsnpm. Worth bumping in a follow-up if we see similar timeouts elsewhere.🤖 Generated with Claude Code
AI-Generated Description
Summary
Bumps the
ai-toolkitreusable workflow pin inclaude-docs-check.ymlfrom96ef665to83ac42bto pick up the bullfrog egress allowlist fix that was causing the docs-check job to time out.Changes
.github/workflows/claude-docs-check.yml: updated reusable workflow SHA from96ef665ba04221de07e94fcc3ea69fe32c7cf306to83ac42bf6a63fdaa2fc71c760b02ab85df21068aNotes
startup_failure, the docs-check job started actually running but timed out at 15 minutes becausebullfrogsec/bullfrogwas blocking DNS requests toregistry.npmjs.org83ac42b, ai-toolkit#501) addsregistry.npmjs.org,*.npmjs.org,claude.ai,*.claude.aito the bullfrog allowlist and bumpsanthropics/claude-code-actionto v1.0.119claude-code-review.yml,generate-pr-title-description.yml) still use the old pin (96ef665) — worth bumping in a follow-up if similar timeouts appearTest plan
actionlint .github/workflows/claude-docs-check.yml— clean