Repository navigation
Use OneLocBuild v3 in the shared localization template - #17706
Conversation
Co-authored-by: Copilot <[email protected]> Copilot-Session: 062e4ad2-9169-47fb-8e49-a38ee214f96f
There was a problem hiding this comment.
🔵 Needs a closer look
CI and proxy-enabled consumer validation of the external task upgrade remain pending.
No open issues 🎉
What changed in this PR
Upgrades Arcade’s shared localization template to OneLocBuild@3 while preserving existing inputs and authentication.
Changes:
- Updates the core template’s task major version.
- Documents adoption through
eng/commonupdates and proxy-enabled validation before removing temporary exemptions.
| File | Description |
|---|---|
| eng/common/core-templates/job/onelocbuild.yml | Upgrades to OneLocBuild@3. |
| Documentation/OneLocBuild.md | Explains adoption and required proxy validation. |
Review effort: Balanced
|
Internal CI validation failed: arcade-official-ci run 3109543. The run executed OneLocBuild 3.1.3572200 with the HTTP proxy enabled. Localization generation completed, but GitHub check-in initialization failed with The version-only migration is not yet functionally validated for the internal mirrored-checkout configuration. Detailed evidence and the required OneLoc-owner follow-up are recorded in AB#13198. Existing proxy exemptions remain unchanged. |
|
Follow-up isolated internal CI experiment: run 3109577 succeeded, including OneLocBuild 3.1.3572200, with the HTTP proxy enabled. Supplying a separate GitHub-backed source checkout pinned to this PR's commit corrected host detection and allowed GitHub check-in initialization to succeed. This experiment exists only on the internal validation branch; this public PR remains unchanged. Not end-to-end validation: OneLoc reported |
Co-authored-by: Copilot <[email protected]> Copilot-Session: 062e4ad2-9169-47fb-8e49-a38ee214f96f
|
Draft backports are prepared:
Each changes only OneLocBuild@2 to @3. The 8.0 adaptation updates both public and official templates because that branch predates the shared core template. Existing branch-specific inputs and authentication are preserved. All four remain drafts with no auto-merge or requested reviewers. The known Azure Repos mirror host-detection failure remains an explicit merge gate in each PR; GitHub-backed validation does not prove mirror compatibility. No consumer adoption, exemption removal, credential retirement or production rollout is part of this setup. Tracking: AB#13198. |

Summary
OneLocBuild@2to the supportedOneLocBuild@3major version. Both public template entry points already delegate to this core template.Related work and internal evidence: AB#13198.
Validation
df5be692. The review follow-up only removes the documentation note; refreshed checks are tracked on this PR.SetUpHttpProxy=true, processed actual localization resources, created a new localization branch, pushed a localized-file change, compared the branches, and created a PR. The generated PR targets an isolated validation branch, has automatic completion disabled, and is retained as a draft. This was not a no-op green run. Private consumer identifiers and logs are retained in AB#13198 rather than copied here.git diff --checkpassed; complete diff reviewed.The successful consumer run demonstrates v3's functional write/compare behavior for that GitHub-backed configuration. It does not establish the task's internal SHA-versus-ref implementation or constitute a production rollout.
Remaining blocker: Azure Repos mirror checkouts
The version-only change is not yet ready to merge for all supported consumers.
Internal Arcade validation run 3109543 ran v3 with the proxy enabled but failed during GitHub check-in initialization: the task interpreted its Azure Repos checkout remote as GitHub Enterprise and selected
https://dev.azure.com/api/v3. It failed withOctokit.NotFoundExceptionbefore branch comparison.A separate GitHub-backed checkout experiment, run 3109577, cleared that initialization failure. However, Arcade had no localization resources to check in, so that run was only host-selection/initialization evidence. The later affected-consumer run above supplies the actual write/compare evidence. The checkout experiment is not included in this PR.
Obtain a supported OneLoc correction/configuration for Azure Repos mirror checkouts, or implement and validate a safe compatibility solution, before merging this shared-template migration. The v3 task manifest currently exposes no explicit GitHub API-host override input.
Completion gates
This PR does not remove proxy exemptions, retire credentials, or deploy changes. Validation-only consumer pipeline changes must not be merged as the adoption mechanism.