Skip to content

fix(ruleset): detect pull request control drift - #15

Merged
rldyourmnd merged 2 commits into
mainfrom
fix/ruleset-plan-detects-pull-drift
Aug 22, 2026
Merged

fix(ruleset): detect pull request control drift#15
rldyourmnd merged 2 commits into
mainfrom
fix/ruleset-plan-detects-pull-drift

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Outcome

Make the GDS ruleset planner compare every owned pull-request merge control instead of treating any existing pull-request rule as in sync.

The regression reproduces the live case:

  • observed require_extra_approval_for_unattributed_changes: true
  • observed merge methods merge/squash/rebase
  • desired extra approval false
  • desired merge methods merge

The planner must produce drift until both values match.

Evidence

  • targeted app/provider/ruleset suites
  • quick Go validation
  • portable synthetic ruleset fixtures only

@rldyourmnd
rldyourmnd merged commit ab15f51 into main Aug 22, 2026
2 checks passed
@rldyourmnd
rldyourmnd deleted the fix/ruleset-plan-detects-pull-drift branch August 22, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant