Skip to content

Rename RunOnAndroid CI lane to match its Linux pool - #34866

Merged
kubaflo merged 2 commits into
inflight/currentfrom
copilot/rename-mac-runandroid-tests-lane
Jun 7, 2026
Merged

Rename RunOnAndroid CI lane to match its Linux pool#34866
kubaflo merged 2 commits into
inflight/currentfrom
copilot/rename-mac-runandroid-tests-lane

Conversation

Copilot AI commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

The RunOnAndroid lane in eng/pipelines/ci.yml still used a mac_ prefix even though it now runs on the Linux Android pool. This updates the lane name so the pipeline surface reflects the actual execution environment.

  • Pipeline naming

    • Renamed the integration test lane from mac_runandroid_tests to linux_runandroid_tests
    • Left pool selection, timeout, and test category unchanged
  • Behavior

    • No functional pipeline changes
    • RunOnAndroid continues to run on AndroidPoolLinux
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid

Agent-Logs-Url: https://github.com/dotnet/maui/sessions/98ad92cf-5286-4529-b3ce-39ddde147c1c

Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Copilot AI changed the title [WIP] Rename mac_runandroid_tests CI lane to reflect Linux pool Rename RunOnAndroid CI lane to match its Linux pool Apr 7, 2026
Copilot AI requested a review from sbomer April 7, 2026 23:05
@sbomer
sbomer marked this pull request as ready for review April 7, 2026 23:23
Copilot AI review requested due to automatic review settings April 7, 2026 23:23
@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 34866

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 34866"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Renames the Azure Pipelines CI integration test lane for RunOnAndroid so the lane name reflects that it runs on the Linux Android pool, improving pipeline surface clarity without changing execution behavior.

Changes:

  • Renamed the lane from mac_runandroid_tests to linux_runandroid_tests in eng/pipelines/ci.yml.
Comments suppressed due to low confidence (1)

eng/pipelines/ci.yml:308

  • The if/else here sets the same pool value in both branches, so the conditional can be removed and pool: ${{ parameters.AndroidPoolLinux }} specified once (also avoids the trailing whitespace on the ${{ else }}: line).
    - name: linux_runandroid_tests
      ${{ if eq(variables['Build.DefinitionName'], 'maui-pr') }}:
        pool: ${{ parameters.AndroidPoolLinux }}
      ${{ else }}:  
        pool: ${{ parameters.AndroidPoolLinux }}
      timeout: 240

@kubaflo

kubaflo commented May 24, 2026

Copy link
Copy Markdown
Contributor

/review -b feature/refactor-copilot-yml

@kubaflo

kubaflo commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

/review -b feature/enhanced-reviewer -p android

@MauiBot MauiBot added s/agent-fix-win AI found a better alternative fix than the PR s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review) labels Jun 7, 2026

@MauiBot MauiBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

AI Review Summary

@copilot — new AI review results are available based on this last commit: 04913e6.
Rename runandroid CI lane to linux pool name To request a fresh review after new comments or commits, comment /review rerun.

Gate Skipped Code Review In Review Confidence High Platform Android

Review Sessions — click to expand
Gate — Test Before & After Fix

Gate Result: ⚠️ SKIPPED

No tests were detected in this PR.

Recommendation: Add tests to verify the fix using the write-tests-agent.


Pre-Flight — Context & Validation

Issue: #34866 - No linked issue found; PR itself tracks the pipeline naming cleanup
PR: #34866 - Rename RunOnAndroid CI lane to match its Linux pool
Platforms Affected: android (CI integration-test lane)
Files Changed: 1 implementation/pipeline, 0 test

Key Findings

  • PR changes eng/pipelines/ci.yml only, renaming the RunOnAndroid integration-test job from mac_runandroid_tests to linux_runandroid_tests.
  • The job already uses AndroidPoolLinux; pool selection, timeout, and testCategory: RunOnAndroid are unchanged.
  • No inline review comments were found through the public GitHub API. gh CLI was unavailable because this environment has no GitHub authentication token.
  • Gate was already completed by the caller and skipped because no tests were detected in the PR.

Code Review Summary

Verdict: LGTM
Confidence: high
Errors: 0 | Warnings: 0 | Suggestions: 1

Key code review findings:

  • 💡 eng/pipelines/ci.yml: the maui-pr and else pool branches both resolve to ${{ parameters.AndroidPoolLinux }}; redundant but pre-existing/out of scope for the PR's minimal rename.

Fix Candidates

# Source Approach Test Result Files Changed Notes
PR PR #34866 Rename RunOnAndroid integration-test job from mac_runandroid_tests to linux_runandroid_tests ⚠️ SKIPPED (Gate; no tests detected) eng/pipelines/ci.yml Original PR

Code Review — Deep Analysis

Code Review — PR #34866

Independent Assessment

What this changes: Renames the AzDO integration-test job from mac_runandroid_tests to linux_runandroid_tests in eng/pipelines/ci.yml (line 303). Pool, timeout, and test category are untouched.

Inferred motivation: The mac_ prefix was a stale misnomer. The job already runs on AndroidPoolLinux (MAUI-DNCENG / 1ESPT-Ubuntu22.04), almost certainly since commit 0d4220b391 ("[ci] Run android on MAUI-Dnceng") — the name was just never updated.


Reconciliation with PR Narrative

Author claims: "No functional pipeline changes. RunOnAndroid continues to run on AndroidPoolLinux."

Agreement: Confirmed. The diff is exactly one string substitution. The name field feeds internal AzDO identifiers (job ID, test-run title, log artifact name) but is not referenced by any other file in the repository.


Findings

💡 Suggestion — Redundant if/else on pool (pre-existing, out of scope)

ci.yml lines 304–307: both the maui-pr and else branches resolve to ${{ parameters.AndroidPoolLinux }}, making the conditional a no-op. Not introduced by this PR — worth a future cleanup pass.


Devil's Advocate

Could renaming break a required AzDO status check? AzDO check names exposed to GitHub branch protection follow <pipeline> / <stage> / <job>. If maui-pr / IntegrationTests / mac_runandroid_tests is a required check, this rename would orphan it. Investigation found: no file in the repo references the old name outside ci.yml itself; the GitHub branch-protection API was unavailable through unauthenticated gh, but repository search found no Android-scoped required-check reference. Branch protection is expected to gate on stage-level names, not individual job names. Risk assessed as low.


Verdict: LGTM

Confidence: high

Summary: One-line name correction — aligns a stale mac_ prefix with the actual Linux execution environment. No behavioral change, no other consumers of the old name, no test-category or pool modifications.


Fix — Analysis & Comparison

Fix Candidates

# Source Approach Test Result Files Changed Notes
1 try-fix Keep linux_runandroid_tests and collapse redundant identical AndroidPoolLinux pool branches to a direct pool: assignment ✅ Pass 1 file Directly improves the PR by preserving the rename and removing a no-op branch
2 try-fix Change integration-test testRunTitle to $(testIdentifier) so the Tests tab shows semantic category/test names ✅ Pass 1 file Broader template change; useful but affects all integration-test jobs
3 try-fix Add os: linux to AndroidPoolLinux and use OS-agnostic runandroid_tests job id ✅ Pass 1 file Architecturally clean but diverges from existing OS-prefixed lane naming
4 try-fix Correct AI-facing integration-test docs/skill metadata from macOS/MacOSPool to Linux/AndroidPoolLinux ✅ Pass 2 files Companion cleanup; does not replace the PR's lane rename
PR PR #34866 Rename mac_runandroid_tests to linux_runandroid_tests ⚠️ SKIPPED (Gate; no tests detected) 1 file Original PR

Cross-Pollination

Model Round New Ideas? Details
claude-sonnet-4.6 1 Yes Candidate 1: collapse redundant pool conditional along with PR rename
claude-sonnet-4.6 1 Yes Candidate 2: semantic test-run titles via $(testIdentifier)
claude-sonnet-4.6 1 Yes Candidate 3: pool-level os: linux metadata plus OS-agnostic job id
claude-sonnet-4.6 1 Yes Candidate 4: correct AI-facing integration-test docs and skill metadata

Exhausted: Yes
Selected Fix: Candidate #1 — It is the best direct replacement because it preserves the PR's intended linux_runandroid_tests rename and removes a misleading no-op pool conditional without changing shared templates, docs, or naming philosophy. Candidate #4 is a worthwhile companion cleanup, but not a standalone replacement. Candidate #2 and #3 passed static checks but have broader blast radius than the PR.


Report — Final Recommendation

Comparative Report — PR #34866

Candidates reviewed

Rank Candidate Regression result Assessment
1 pr Gate skipped; no tests detected Best overall. Narrowly renames mac_runandroid_tests to linux_runandroid_tests, matching the existing AndroidPoolLinux pool without broadening the change.
1 pr-plus-reviewer Gate skipped; no tests detected Equivalent to pr; the expert reviewer found no actionable feedback to apply.
2 try-fix-1 Pass Strong direct improvement: keeps the PR rename and removes a redundant conditional where both branches select AndroidPoolLinux. It is safe-looking, but it changes more YAML than required for the PR's specific fix.
3 try-fix-4 Pass Useful companion documentation cleanup for AI-facing integration-test guidance, but it does not replace the CI lane rename.
4 try-fix-3 Pass Architecturally coherent, but switching to OS-agnostic runandroid_tests diverges from the repository's existing OS-prefixed lane naming convention.
5 try-fix-2 Pass Useful broader improvement to test-run titles, but it affects all integration-test jobs and is outside the narrow PR scope.

Expert review outcome

The expert reviewer found no actionable inline findings against the PR diff, so pr-plus-reviewer is identical to pr. The raw inline findings file is an empty array.

Decision

Winner: pr. The PR fix precisely addresses the misleading Android lane name while preserving execution behavior. Although try-fix-1 passed its static regression check and is a reasonable follow-up cleanup, its redundant-conditional removal is not required to fix the issue and expands the change surface beyond the submitted PR.

Notes

The gate was skipped because no tests were detected. Consider asking the author to add lightweight validation for CI lane naming if this area has an existing testable pipeline/template validation surface.


Future Action — review latest findings

No alternative fix was selected for this run. Review the session findings and CI results before merging.

@kubaflo
kubaflo changed the base branch from main to inflight/current June 7, 2026 18:46
@kubaflo
kubaflo merged commit 6e1c3f1 into inflight/current Jun 7, 2026
32 of 35 checks passed
@kubaflo
kubaflo deleted the copilot/rename-mac-runandroid-tests-lane branch June 7, 2026 18:46
@github-actions github-actions Bot added this to the .NET 10.0 SR8 milestone Jun 7, 2026
PureWeen pushed a commit that referenced this pull request Jun 11, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
@sheiksyedm sheiksyedm modified the milestones: .NET 10 SR8, .NET 10 SR9 Jun 18, 2026
PureWeen pushed a commit that referenced this pull request Jun 22, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
kubaflo pushed a commit that referenced this pull request Jun 25, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
kubaflo pushed a commit that referenced this pull request Jul 3, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
@kubaflo kubaflo mentioned this pull request Jul 6, 2026
kubaflo pushed a commit that referenced this pull request Jul 6, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
PureWeen pushed a commit that referenced this pull request Jul 7, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
PureWeen pushed a commit that referenced this pull request Jul 7, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
kubaflo pushed a commit that referenced this pull request Jul 10, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
kubaflo pushed a commit that referenced this pull request Jul 15, 2026
The RunOnAndroid lane in `eng/pipelines/ci.yml` still used a `mac_`
prefix even though it now runs on the Linux Android pool. This updates
the lane name so the pipeline surface reflects the actual execution
environment.

- **Pipeline naming**
- Renamed the integration test lane from `mac_runandroid_tests` to
`linux_runandroid_tests`
  - Left pool selection, timeout, and test category unchanged

- **Behavior**
  - No functional pipeline changes
  - `RunOnAndroid` continues to run on `AndroidPoolLinux`

```yaml
- name: linux_runandroid_tests
  pool: ${{ parameters.AndroidPoolLinux }}
  timeout: 240
  testCategory: RunOnAndroid
```

---------
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

s/agent-fix-win AI found a better alternative fix than the PR s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename mac_runandroid_tests CI lane to reflect Linux pool

6 participants