Repository navigation
MAUI Autopilot: re-run tests that could not complete before /review autopilot - #40887
Merged
Merged
Conversation
…utopilot A test run that errored or was NOT QUEUED/CANCELED before the current /review autopilot started stopped the loop immediately, so restarting Autopilot after an infra outage could never retry. Request the tests again in that case; an incomplete run after the loop started still stops. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
@dalexsoto stamp |
kubaflo
temporarily deployed
to
copilot-pat-pool
November 30, 2026 16:06 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
kubaflo
temporarily deployed
to
copilot-pat-pool
November 30, 2026 16:06 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 30, 2026 16:08 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change allowing new Autopilot loops to retry stale infrastructure failures.
No open issues 🎉
What changed in this PR
This PR lets MAUI Autopilot recover from earlier infrastructure failures when a maintainer starts a new /review autopilot loop, rather than immediately stopping on an old incomplete test result.
Changes:
- Requests
/review run-testsagain when an error, NOT QUEUED, or CANCELED result was last updated before the current loop started. - Preserves the stop behavior for incomplete results produced during the current loop, preventing repeated retries.
- Synchronizes the generated workflow and its metadata with the source change.
| File | Description |
|---|---|
.github/workflows/maui-expert-autopilot.md |
Adds the timestamp check that routes stale incomplete results back to testing. |
.github/workflows/maui-expert-autopilot.lock.yml |
Updates the generated workflow and metadata to match the source. |
Review effort: Balanced
kubaflo
temporarily deployed
to
copilot-pat-pool
November 30, 2026 16:10 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 30, 2026 16:11 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 30, 2026 16:11 — 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:
5fd5f3bbf9a20287c0fffbd88d4c3f1d8d741d5f↑ Workflow compiles.
↓ Live retest after merge still pending (AzDO currently not queueing builds).
/review autopilot15:50Z, Stopped 23s later without requesting tests.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 the latest
/review run-testsresult for the PR head is an error, NOT QUEUED or CANCELED, Autopilot stopped immediately — even if that result predates the current/review autopilot. So after an infra outage (dnceng-public AzDO not queueing builds), re-commenting/review autopilotcould never retry the tests.Now a stale incomplete run (last updated before the loop started) requests
/review run-testsagain; an incomplete run produced during the current loop still stops, so there is no retry loop.Validation: replayed the stage decision against #40879's real test comment;
gh aw compile maui-expert-autopilotsucceeds.