Repository navigation
Throughput exemption at the stop-starting cap; admission guidance for prior drop specs and a hot set - #2184
Merged
Conversation
… prior drop specs and a hot set At the cap, the stop-starting hook denied test and CI work along with everything else, so the work that would shorten the queue waited behind it. It now lets through one lone `gh pr create` of a pushed branch whose diff against origin/<base> holds only throughput paths (test files, CI config, test-runner config; PERUN_THROUGHPUT_PATHS replaces the list) while fewer than PERUN_THROUGHPUT_OPEN (default 2) such PRs are open. Anything the hook cannot judge keeps the deny: an operator or expansion, a glob or brace word (quoted or not), another repo or head, a bundled option, a branch not pushed exactly at HEAD, a remote other than origin, or a gh default repo other than base; remote names, ref names and config values are compared whole. Every deny is logged with its class and no file names or command text. The red-gate-triage admission section now recommends running the specs named in a PR's earlier drop records and a capped recent hot set at admission, triaged with solo re-runs and base-red failures subtracted, states that the train script does not do this yet, and one eval covers it. Tests: run-ci-tests.sh --affected 19/19 on an identical tree; flow_alarm 68/68; changelog fragments 23/23 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> 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.
Test and CI work no longer waits behind the queue it would shorten: at the cap, 1 pushed
gh pr createwith a throughput-only diff passes, with at most 2 such PRs open. Closes #2180.What changes
flow_alarm.py: anything the hook cannot judge keeps the deny (operators, expansions, glob and brace words, another repo or head, bundled options, HEAD not pushed as is, a non-origin remote or gh default repo).perun-flow-denials.jsonlwith its class only, no file names or command text.red-gate-triage.md: admission guidance adds a PR's prior drop specs and a capped hot set, triaged with solo re-runs, base-red subtracted; one eval.Known limits
$ * ? [ {or a backtick keeps the deny, quoted or not.train_land.shdoes not implement it yet.Verification
Tests: run-ci-tests.sh --affected 19/19 on an identical tree; flow_alarm 68/68; changelog fragments 23/23
🤖 Generated with Claude Code