Repository navigation
fix(pr-merge): clear a native gate's needs-human label once its cause is gone #10198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
df1d211
fix(pr-merge): clear a native gate's needs-human label once its cause…
kyle-sexton 8107219
Merge branch 'main' into fix/clear-native-escalations
kyle-sexton 115fb7b
Merge remote-tracking branch 'origin/main' into fix/clear-native-esca…
kyle-sexton 9775cdd
fix(pr-merge): re-judge native refusals only at their own head and ke…
kyle-sexton 9d04e31
fix(pr-merge): keep a verifier label when the reader stops at the iss…
kyle-sexton 6c4b371
fix(pr-merge): clear a person's recorded cause only when nothing refuses
kyle-sexton 149f71a
Merge remote-tracking branch 'origin/main' into fix/clear-native-esca…
kyle-sexton 2fcd8c9
fix(pr-merge): lift a lane answer only for recorded causes on an expl…
kyle-sexton c238424
Merge remote-tracking branch 'origin/main' into fix/clear-native-esca…
kyle-sexton e987f31
fix(pr-merge): judge the current refusal on the same lane list as the…
kyle-sexton 6433994
fix(pr-merge): size the merge job for the escalation clear's reader runs
kyle-sexton 07cddf7
Merge remote-tracking branch 'origin/main' into fix/clear-native-esca…
kyle-sexton ecf1fda
fix(pr-merge): never lift a person-class needs-human at its head
kyle-sexton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
.changes/pr-pipeline/fix-clear-native-escalations-6e1b4a92.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| bump: patch | ||
| --- | ||
|
|
||
| ### Fixed | ||
|
|
||
| - Under `merge.lane-prs: native`, `clear-escalations.mjs` judges `enable-auto-merge`'s person refusal again at the head it was raised at, but only when its recorded verifier or risk cause is one the lanes clear (every code on `LANE_CAUSES`, a label set before its cause became a lane's): the gate's reader runs, and the label comes off as `refusal-cleared` when nothing refuses, or only lane causes refuse, read at least as far as the recorded one. A recorded cause a person clears (an issue link, a security finding, a trust-gate widening, a cost hold, a high path, an untrusted spec, the repeated-fail cap, an unknown code) is never read and never lifted at its head (owner decision Q-CLEAR B); a person removes the label, or the `head-moved` clear does once the head moves. At most three reader runs a run, rotated with the run number. | ||
| - `pr-merge.yml`'s merge job allows 45 minutes, up from 30, and the escalation clear step 15, up from 3, so the clear's reader runs fit beside the gate's own budget. |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.