Repository navigation
fix(repos): Keep live rules and stricter thresholds - #7481
Merged
Merged
Conversation
devops-cli-service
Bot
force-pushed
the
fix/7326-onboard-lowers-a-stricter-ruleset
branch
from
November 28, 2026 00:07
476d186 to
f162eb4
Compare
Contributor
Author
|
The steps of the job:
|
The rank tables of the ruleset merge lacked the GitHub values none and all and held low_or_higher, which GitHub does not have, and they did not rank max_coverage_drop. A live value that a table does not rank stays, so a live none stayed over a stricter baseline value. The merge also kept a stricter live parameter of the required checks rule that the settings file of the repository sets, and it gave a warning line for it, but the file value then won. The merge now leaves each such parameter to the file and gives no warning line for it.
dan-petty
force-pushed
the
fix/7326-onboard-lowers-a-stricter-ruleset
branch
from
November 28, 2026 00:42
f162eb4 to
a87385d
Compare
A live required checks rule that the baseline lacks and that holds only its checks gave the warning line "keeps the rule required_status_checks". The change line of row 10 names each required check, so the rule gives no warning line of its own.
Owner
|
Vetting of this pull request, 2026-11-28. Fixes pushed to the branch (test first, each test failed before its fix):
Evidence:
Out of scope, filed as #7494: the top-level keys |
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 28, 2026
🤖 I have created a release *beep* *boop* --- ## [0.231.1](v0.231.0...v0.231.1) (2026-11-28) ### Bug Fixes * **repos:** Keep live rules and stricter thresholds ([#7481](#7481)) ([3e187f1](3e187f1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This was referenced Nov 28, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 28, 2026
The merge-readiness verdict of `devops pr ready`, `check-readiness` and `pr monitor` now reads the checks with `gh pr checks --json`. gh reads the check runs and the commit statuses, keeps the newest run of each check and gives the bucket. When gh answers `no checks reported`, the rules of the base branch decide: a required check keeps the wait, and no required check gives the no-CI advisory. This deletes the REST check and status reads, `workflow_triggers.py` (a copy of the GitHub `on.pull_request` filters), `pull_request_workflow_at`, the REST fallback of `devops pr checks` and the `wcmatch` dependency. These broke in #5144, #5383 and #5408. The verdict keeps all checks, not `--required`: on PR #7481, 3 of 29 checks were required, and `--required` would pass a failed Fail-to-Pass Check (AGENTS.md rule 5). #7509, #7510 and #7512 do the rest of #7499. Closes #7508 Change: `openspec/changes/archive/2026-11-28-7508-readiness-checks-gh/`
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.
Row 10 of
devops repos onboardwrites the baselinemainruleset over the live ruleset and keeps only the live required check names, so each other live rule and each stricter live threshold is lost with no warning. On 2026-11-26 it removed thecode_coveragerule of dan-petty/devops-cli and lowered its CodeQL, code quality and review-thread settings (#7326). Rule 5 of the repository rules lets only the owner lower a security or quality threshold, so the row must keep each live rule and each stricter live value, name each one, and leave the choice to the owner.Closes #7326
Change:
openspec/changes/archive/2026-11-28-7326-onboard-lowers-a-stricter-ruleset/