Repository navigation
claw-refresh: survive HTML error pages, refresh only what the merger lands next, cap 5, stop above 150 queued runs (Closes #10545) - #10559
Merged
Conversation
…lands next, cap 5, stop above 150 queued runs (Closes #10545) The claw-refresh job failed on every push to master: the GraphQL listing (100 PRs x 50 labels) came back as an HTML error page and `gh api --paginate` died with "invalid character '<'" under bash -e. - list(): pages of first:30, labels(first:10), up to 3 tries, a failed try keeps nothing; a persistent failure writes ::warning:: and a step-summary line and exits 0. - specs/claw/refresh.t27 owns the rule: refresh only a behind, clean PR with auto-merge armed or the bee-reviewed label (the two signals the merger acts on), at most 5 per run (was 30), nothing when more than 150 Actions runs are queued or the queue size is unread. 54 tests, boundaries 150/151 and 5/6 included. - scripts/gen_w661.py deleted (dead) to pay the foreign-line budget for the job's growth. - Regenerated gen/c/claw/refresh.c and the seal on the lab. - Census: tools/census/quiet.txt "named a path but not quiet" 233 -> 237 (four new run steps in claw-refresh); shell.txt and fetches.txt did not move. Lab results: 54/54 tests pass; mutation 185/199 killed, 11 survivors are loop-bound flips whose extra pass touches nothing (rank == cap is never assigned, index == count is past the used records), 3 hangs are endless loops made by the mutant. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 18, 2026 17:13
This was referenced Oct 18, 2026
Merged
Contributor
gHashTag
added a commit
that referenced
this pull request
Oct 18, 2026
…ried listing) #10559 landed the same queue gate and listing fix this branch carried (refresh_budget, first:25), with more: three tries, a cap of 5 and only PRs the merger lands next. specs/claw/refresh.t27, gen/c/claw/refresh.c and the seal are master's. This branch keeps the token shape for claw-t27f, claw-suggest and claw-refresh, the claw-batch red marker, and adds actions: read to claw-refresh: without it the queue read falls to -1 and the job refreshes nothing, silently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #10545
claw-refreshfailed on every push to master (Gate Topology runs 39146314331, 39145102967, 39144352772, 39143956433): the GraphQL listing came back as an HTML error page andgh api --paginateexited 1 withinvalid character '<'. When it did work it could start update-branch on 30 PRs at once, about 26 workflows each, into a queue of 396 queued runs against 13 running.What changes
gate-topology.yml,claw-refreshonly): pages offirst:30,labels(first:10), up to 3 tries, a failed try keeps nothing. A persistent failure writes::warning::and a step-summary line and exits 0.specs/claw/refresh.t27, with tests): refresh a behind, conflict-free PR only if auto-merge is armed on it or it carriesbee-reviewed(the two things the merger acts on); at most 5 per run (was 30); nothing at all when more than 150 Actions runs are queued or the queue size cannot be read. The job only copies facts into the module.scripts/gen_w661.py(dead) deleted to pay the foreign-line budget for the job's growth.gen/c/claw/refresh.cand the seal.Lab results (Railway only)
<to<=loop-bound flips whose extra pass touches nothing (rank == cap is never assigned; index == count is past the used records); 3 hangs are endless loops the mutant makes.tools/census/quiet.txt: "named a path but not quiet" 233 to 237 (four new run steps); shell and fetches did not move.Not verified
github.tokendo not trigger push workflows.🤖 Generated with Claude Code