Repository navigation
MAUI Autopilot: hand over /review run-tests when a model finishes without a proposal - #40919
Merged
Merged
Conversation
The MAI Code 2 selection for #37337 ended without calling the selection tool (agent succeeded, no output), so run_selected_ui_tests and the fallback were both skipped: no dispatch, no result comment, and MAUI Autopilot waited in 'testing' forever. The fallback now also runs when the agent succeeded but nothing was dispatched, in both selection workflows. 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 03:18 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 03:19 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 03:20 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the workflow fallback updates intended to prevent stalled test handoffs.
No open issues 🎉
What changed in this PR
Prevents MAUI Autopilot from remaining stuck in testing when a /review run-tests model succeeds without producing a test proposal, addressing the stalled handoff reported for #37337.
Changes:
- Extends both model workflows’ fallback conditions to handle successful agent completion when the dispatch job did not succeed.
- Preserves cancellation and context-readiness checks.
- Updates the primary workflow’s explanatory comment and regenerates both workflow lock files.
| File | Description |
|---|---|
.github/workflows/copilot-review-run-tests.md |
Broadens the primary model’s fallback condition and clarifies its comment. |
.github/workflows/copilot-review-run-tests.lock.yml |
Synchronizes the generated primary workflow and metadata. |
.github/workflows/copilot-review-run-tests-mai.md |
Broadens the MAI model’s fallback condition. |
.github/workflows/copilot-review-run-tests-mai.lock.yml |
Synchronizes the generated MAI workflow and metadata. |
Review effort: Balanced
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 03:22 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 03:23 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
December 1, 2026 03:24 — 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:
11c30c44a06a0739ce0715e1b6f5aecbd44f3fc9↑
review-run-tests-dispatch.ymlalready handles one or both proposals missing and posts a result.↑ Both workflows compile.
↓ Live check pending merge.
agent_output.jsonhas 0 items;run_selected_ui_testsandrun-tests-fallbackboth skipped; no dispatch run for #37337.s/autopilot-testingsince 01:59 with no test comment for its head.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
/review run-testsselects tests with two models in sequence, thenreview-run-tests-dispatch.ymlcombines their proposals and posts the result. The fallback that hands over without a proposal ran only when the agent job failed.For #37337 the MAI Code 2 agent succeeded but never called the selection tool, so
run_selected_ui_testsandrun-tests-fallbackwere both skipped. Nothing was dispatched, no result comment was posted, and MAUI Autopilot waits intestingforever.The fallback in both
copilot-review-run-testsandcopilot-review-run-tests-mainow also runs when the agent succeeded but nothing was dispatched.Validation: replayed the job condition against real run results;
gh aw compilesucceeds for both workflows.