Repository navigation
[release/9.0] Use OneLocBuild v3 - #17709
Conversation
Backport of #17706, commit 7103cc6. Change only the localization task major version; preserve branch-specific authentication and inputs. Co-authored-by: Copilot <[email protected]> Copilot-Session: 3d24c7a1-de44-482c-aa6a-eedc4a0cae5b
There was a problem hiding this comment.
🟡 Changes recommended
Azure Repos mirror compatibility remains unresolved without a validated correction or safe scope restriction.
1 open issue
What changed in this PR
Backports OneLocBuild v3 to the release/9.0 shared localization template.
Changes:
- Replaces
OneLocBuild@2withOneLocBuild@3. - Preserves existing authentication, inputs, conditions, and localization PR settings.
| File | Description |
|---|---|
| eng/common/core-templates/job/onelocbuild.yml | Upgrades the shared localization task to v3. |
Review effort: Balanced
| condition: ${{ parameters.condition }} | ||
|
|
||
| - task: OneLocBuild@2 | ||
| - task: OneLocBuild@3 |
|
Full local Release restore/build/test at backport commit 47b663b exited 1 during tests: four failed cases across SignTool.Tests (net472/x64) and Workloads.Tests (net9.0/x64). Observed failures were a signing-output assertion, KeyNotFoundException, a codepages.h file-in-use error and a workload assertion. No baseline comparison was performed; these failures are not attributed to the OneLoc task change and this is not successful full validation. Targeted YAML/input-preservation checks and git diff --check passed. Required CI and release-consumer localization/mirror compatibility validation remain outstanding. |

Backport
Backport #17706 (7103cc6) to release/9.0.
Related investigation: AB#13198.
Apply the original one-line task-major replacement to the shared core localization template.
The only template change is OneLocBuild@2 to OneLocBuild@3. Preserve this release branch's existing Ceapex WIF and GitHub App authentication, all task inputs, conditions, and localization PR settings.
Validation
Merge gate: Azure Repos mirror compatibility
Draft preparation only. Do not merge until the known mirror-checkout compatibility problem is resolved and validated for affected consumers, or an explicitly reviewed safe scope is established.
The original PR documents internal validation 3109543 selecting https://dev.azure.com/api/v3 and failing with Octokit.NotFoundException when v3 interprets an Azure Repos checkout as GitHub Enterprise. A successful GitHub-backed checkout does not resolve that failure.
After approved merge, consumers must ingest the corresponding Arcade update and pass real localization validation before any temporary exemption or credential is retired. This PR does not change exemptions, retire credentials, modify consumer pipelines, deploy, enable auto-merge, or request production rollout.