Repository navigation
[release/8.0] Use OneLocBuild v3 - #17707
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, with no validated correction or reviewed safe scope for either template.
1 open issue
What changed in this PR
Backports OneLocBuild v3 to release/8.0’s existing localization templates without adopting the newer shared-core layout.
Changes:
- Replaces
OneLocBuild@2withOneLocBuild@3in both entry points. - Preserves authentication, task inputs, conditions, and localization PR settings.
| File | Description |
|---|---|
| eng/common/templates/job/onelocbuild.yml | Upgrades the public localization task to v3. |
| eng/common/templates-official/job/onelocbuild.yml | Upgrades the official 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 3d38e39 exited 1 during tests. Failed suites: Packaging.Tests (net472/x64), SignTool.Tests (net472/x64) and Workloads.Tests (net8.0/x64). Observed failures include missing System.Reflection.Metadata 7.0.0.0, SignTool KeyNotFoundException failures and two workload assertion failures. No baseline comparison was performed; this is not successful full validation. Targeted YAML/input-preservation checks and git diff --check passed. Required CI and actual release-consumer localization/mirror compatibility validation remain outstanding. |
| condition: ${{ parameters.condition }} | ||
|
|
||
| - task: OneLocBuild@2 | ||
| - task: OneLocBuild@3 |

Backport
Backport #17706 (7103cc6) to release/8.0.
Related investigation: AB#13198.
This branch predates the shared-core layout. Apply the same task-major replacement to both the public and official localization templates; do not import the newer layout.
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.