Skip to content

MAUI Autopilot: run rate-limit waits off ubuntu-slim so stalled loops resume - #41220

Merged
kubaflo merged 1 commit into
mainfrom
autopilot-rate-limit-wait-runner
Dec 4, 2026
Merged

kubaflo merged 1 commit into
mainfrom
autopilot-rate-limit-wait-runner

Conversation

@kubaflo

@kubaflo kubaflo commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 2277fc6429ef728d0c7a72021cac627685b9473b

Dimension Assessment Rationale
Change confidence 9/10 ↑ Only the runner of the two jobs that hold the 15-minute waits changes; both keep timeout-minutes: 25.
↑ gh-aw compiled both workflows; each lock changes only that runner and its metadata hash.
↓ No live rate-limit wait has run on the new runner yet.
Diagnosis confidence 9.5/10 ↑ All five rate-limited loops' wait jobs ended cancelled 15:00–15:03 after starting, despite timeout-minutes: 25.
↑ GitHub documents that ubuntu-slim jobs are limited to 15 minutes of execution time.
Evidence fit 9.5/10 ↑ #41188, #41182 and #41183 are still open with s/autopilot-rate-limited, and no Autopilot run has picked them up since; #41204 and #41195 merged with the same stale labels.

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!

Target Branch

This PR is for Initial base
New features, API changes, or .NET 12 work (including .NET 12 fixes) main
.NET 11 servicing fixes net11, for review
Older servicing, release integration, infrastructure, or documentation The branch designated for that work

For .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into net11; agents must not retarget or merge.

Description of Change

When the expert review or a fix round hits the Copilot API rate limit (or a ghcr.io outage), the job labels the PR s/autopilot-rate-limited, waits 15 minutes, and dispatches the next round. Both jobs that hold that wait run on ubuntu-slim, which ends every job at 15 minutes. The wait starts after the job's own work, so the runner cancels it before the dispatch, and the loop silently stalls.

On 2026-12-03 this stalled all five rate-limited loops. In expert runs 47218604696 (#41188), 47218665214 (#41182), 47218667908 (#41183), 47218477536 (#41204) and 47218571510 (#41195), autopilot_failed ended cancelled 15:00–15:03 after it started. All five PRs still carry s/autopilot-running.

This moves autopilot_failed (copilot-review-expert) and next_round (maui-expert-autopilot), the only jobs with the 15-minute wait, to ubuntu-latest. Their existing 25-minute timeouts already cover the wait. Nothing else changes.

Validation: gh aw compile maui-expert-autopilot copilot-review-expert --no-check-update (v0.86.2) passed with the existing warnings; each lock diff is the runner line plus its metadata hash; git diff --check passed. No live dispatch was run.

Issues Fixed

Observed on #41188, #41182, #41183, #41204 and #41195.

Let AI finish this PR

  • Let the MAUI agent address review feedback and fix remaining issues on this PR. Maintainers still decide whether it is merged. For PRs from forks, keep "Allow edits by maintainers" on so the agent can push to your branch; otherwise it opens a follow-up PR that keeps your commits.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kubaflo

kubaflo commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

@dalexsoto stamp

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dalexsoto dalexsoto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamping as requested by @kubaflo; no code review performed.

@kubaflo
kubaflo merged commit b7b4465 into main Dec 4, 2026
5 of 7 checks passed
@kubaflo
kubaflo deleted the autopilot-rate-limit-wait-runner branch December 4, 2026 00:32
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.

2 participants