Skip to content

fix(ci): Give TestFlight the xcode-27 agent pool - #26083

Merged
MartinZikmund merged 1 commit into
masterfrom
dev/mazi/testflight-pool
Nov 5, 2026
Merged

MartinZikmund merged 1 commit into
masterfrom
dev/mazi/testflight-pool

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

GitHub Issue: closes #26082

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

Every master build since 2026-10-27 has failed in Publish - iOS TestFlight before any step runs: No image label found to route agent pool Azure Pipelines. So master stays red even when all tests pass, and the samples app hasn't reached TestFlight since then.

#25492 moved macOSVMImage to xcode-27, which only exists in the GitHub-hosted Agents pool, and added that pool name to the other macOS jobs. This adds it to the TestFlight job too. It was the last active job missing it. The iOS_Publish_Skia deployment stays on macos-latest, since it only uploads an already-built .ipa.

Cost. That pool bills per minute, and this job's build takes 40-50 minutes on every master build. It has cost nothing for the last 9 days because it never got an agent. If that's too much, the job could run less often, but that's a separate decision from making it work.

Validation.

  • Code review: the pool block now matches the other macOS jobs (build/ci/tests/.azure-devops-tests-ios-build.yml). A search of build/ci finds no other active job using macOSVMImage without the pool name.
  • Not validated: the job only runs on master (condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')), so this PR's own CI won't run it. The first real run is the first master build after merge. That run will also be the job's first on Xcode 27, so signing or the Release build could fail next. The earlier failure happens before any of those steps.

PR Checklist ✅

🤖 Generated with Claude Code

https://claude.ai/code/session_01TXMNtyBVZWdemP5ouF7UUA

The job asked for the xcode-27 image without naming the GitHub-hosted Agents pool, so it never got an agent and every master build failed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNtyBVZWdemP5ouF7UUA
Copilot AI balanced review requested due to automatic review settings November 5, 2026 09:09
@github-actions github-actions Bot added the area/build Categorizes an issue or PR as relevant to build infrastructure label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 12s —— View job


Review: LGTM (no issues found)

Verdict: ship. 0 blocking, 0 non-blocking issues.

What I checked (Code review only, nothing run):

  • The one-line change adds name: 'GitHub-hosted Agents' to the iOS_TestFlight job pool in build/ci/publish/.azure-devops-publish-ios-testflight.yml. It matches the pool block in build/ci/tests/.azure-devops-tests-ios-build.yml, where the pool is name: plus vmImage:.
  • The iOS_Publish_Skia deployment keeps vmImage: macos-latest. That fits the PR's reasoning, since it only uploads an already-built .ipa.
  • Title follows Conventional Commits, and the PR references issue CI: iOS TestFlight stage fails on every master build (no pool for xcode-27) #26082.

Cross-cutting notes:

  • The job is gated to refs/heads/master, so PR CI can't exercise it. The first master build after merge is the real validation, and the PR description says so. Xcode 27 signing or Release build steps could surface new failures at that point.
  • The per-minute billing for a 40–50 minute job on every master build is disclosed in the PR. It is a reasonable follow-up decision and not a reason to hold this fix.

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.

🟢 Approval recommended

No active review issues remain for the agent-pool change, though actual agent allocation and publishing await validation in the first post-merge master build.

No open issues 🎉

What changed in this PR

This PR addresses #26082 by routing the iOS TestFlight build job to the agent pool that provides xcode-27, correcting the scheduling gap left by #25492.

Changes:

  • Adds GitHub-hosted Agents as the TestFlight build job’s pool while retaining the parameterized VM image.
  • Leaves the upload-only deployment unchanged.

Actual agent allocation and publishing remain unvalidated until the first master build after merge.

File Description
build/​ci/​publish/​.azure-devops-publish-ios-testflight.yml Selects the agent pool required for the TestFlight build’s xcode-27 image.

Review effort: Balanced

@MartinZikmund
MartinZikmund merged commit 2ba06ce into master Nov 5, 2026
19 of 28 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/testflight-pool branch November 5, 2026 09:11
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Categorizes an issue or PR as relevant to build infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: iOS TestFlight stage fails on every master build (no pool for xcode-27)

3 participants