ci(nightly-link-fix): stop the agent from running out of turns - #164
Merged
Merged
Conversation
The agent only checked for an existing PR right before opening one, so it re-investigated links an open PR already fixed and ran out of turns. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The prompt told the agent to verify URLs with curl and to run git log inside ./landing_page, but the allowlist permitted neither, so each run wasted turns on denied calls. Allow the exact curl check and git -C landing_page log/show, and point the prompt at git -C. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for qdrant-skills ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
szabosteve
approved these changes
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The nightly link fix job failed on 9/27 (run) and 9/28 because the agent hit its 40-turn limit. The 9/26 run succeeded, but it used 38 turns.
There are two causes:
curland to rungit loginside./landing_page, but the allowlist permitted neither. The 9/27 run had 14 denied calls and the 9/28 run had 15.Changes
One commit per change:
gh pr list+gh pr diff) before investigating. If it covers every broken URL, stop. If it covers only some, investigate the rest.curl -s -o /dev/null -w ...andgit -C landing_page log/show, and tell the agent in the prompt to usegit -Cinstead ofcd.--max-turnsfrom 40 to 50.Merging #163 separately will clear the current 404s.
🤖 Generated with Claude Code