feat: reconciler enables allow_auto_merge (queue-usable on all + new repos)#31
Merged
Merged
Conversation
Merge queues need allow_auto_merge enabled to be usable (the --auto/enable- auto-merge path and the queue button). It was on only for the 6 hand-tuned repos; the 13 I added queues to had it off, so their queue was effectively unusable via automation. Backfilled all 19; this makes it durable: an idempotent ensure_repo_settings() flips allow_auto_merge=true for every managed repo and any NEW repo the reconciler provisions. Enabling the setting does not merge anything on its own — it only permits arming auto-merge / using the queue; your own PRs still wait for a click.
Aswincloud-Bot
approved these changes
Jul 15, 2026
Aswincloud-Bot
left a comment
There was a problem hiding this comment.
Auto-approved: @Aswinmcw is a member of @Aswincloud/admins.
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.
Why
Merge queues require
allow_auto_mergeenabled to be usable. Only the 6 originally-tuned repos had it; the 13 I added queues to (PR #24) had it off, so their queue couldn't be driven by--auto/ automation. Backfilled all 19 by API.This PR — make it durable + apply to new repos
Adds
ensure_repo_settings(repo)— an idempotent helper that enablesallow_auto_mergeon every managed repo and any new repo the reconciler provisions (reads current state first; only PATCHes if off; dry-run aware). Result folded into the run report note.Important (not a behavior change you'll notice)
Enabling the setting does not auto-merge anything. It only unlocks the capability. Your own PRs still sit until you click Merge when ready; unattended merge happens only if a PR is explicitly armed (e.g. the update-readme bot). Verified live: with the setting on, a PR merges unattended only after being armed; the manual queue button and a plain approved PR both wait for you.