Repository navigation
MAUI Autopilot: stop when a conflicts round cannot publish a merge - #40915
Merged
Merged
Conversation
When the merge with the base has conflicts the round cannot resolve (e.g. outside src/), the round publishes nothing, has no open threads, and next_round started another round: the same unresolvable merge again, every ~6 minutes (#40334, #39502). A conflicts round that publishes nothing now stops with needs-maintainer-decision and asks for the conflicts to be resolved. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
@dalexsoto stamp |
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 01:37 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 01:38 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 01:39 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 01:41 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change that stops automatic redispatch after an unpublished conflicts round.
No open issues 🎉
What changed in this PR
Stops MAUI Autopilot from repeatedly attempting unresolved merge conflicts when a conflicts round publishes nothing, addressing the loop reported on #39502 and #40334.
Changes:
- Passes the round source into
next_roundand prevents automatic redispatch after an unpublished conflicts round. - Adds conflict-specific guidance to resolve conflicts manually and restart with
/review autopilot. - Updates the generated workflow to match the source, preserving continuation for other successful rounds.
| File | Description |
|---|---|
.github/workflows/maui-expert-autopilot.md |
Adds the conflicts stop condition and recovery message. |
.github/workflows/maui-expert-autopilot.lock.yml |
Synchronizes the generated workflow and metadata with the source changes. |
Review effort: Balanced
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 01:43 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 01:43 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
3188a84e2228b1bac39272149528c00e3013bee2↑ Workflow compiles;
SOURCEcomes from the existing pre_activation output.↓ Live check pending merge.
next_rounddispatches again whenever nothing is published and no thread is open.Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
When a PR's merge conflicts can't be resolved by Autopilot (for example conflicts outside
src/, which it never publishes), the conflicts round publishes nothing. With no open review threads,next_roundtreated that as "move on" and dispatched again — which picks the same conflicts round, forever (#40334: six identical rounds in 30 minutes; #39502 likewise).A conflicts round that publishes nothing now stops the loop with
s/autopilot-needs-maintainer-decisionand a clear message: the conflicts could not be resolved automatically; resolve them and comment/review autopilot.Validation: replayed the
next_rounddecision for these PRs' state and for the unaffected paths;gh aw compile maui-expert-autopilotsucceeds.