Skip to content

Use OneLocBuild v3 in the shared localization template - #17706

Merged
missymessa merged 2 commits into
mainfrom
users/mjanecke/oneloc-v3-13198
Oct 19, 2026
Merged

missymessa merged 2 commits into
mainfrom
users/mjanecke/oneloc-v3-13198

Conversation

@missymessa

@missymessa missymessa commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Upgrade the shared localization template from OneLocBuild@2 to the supported OneLocBuild@3 major version. Both public template entry points already delegate to this core template.
  • Keep existing template inputs, GitHub App authentication, Ceapex WIF authentication, conditions, and localization PR settings unchanged.

Related work and internal evidence: AB#13198.

Validation

  • Implementation revision PR CI passed: arcade-pr build 1640670, at df5be692. The review follow-up only removes the documentation note; refreshed checks are tracked on this PR.
  • Affected GitHub-backed consumer passed the real write/compare path: OneLocBuild 3.1.3572200, with the same job's Network Isolation log confirming 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.
  • Parsed the core template and both entry-point shims with PyYAML; comparison against the base revision confirms only the task major version changes in the template.
  • Checked all 17 configured task inputs and literal pick-list values against the installed 3.1.3572200 task manifest; confirmed that task package is available in both dnceng and DevDiv.
  • git diff --check passed; 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 with Octokit.NotFoundException before 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

  • Original implementation revision passed PR CI.
  • Current revision passes required CI after the documentation-only review follow-up.
  • Proxy-enabled, real localization branch/push/compare/PR path passed in an affected GitHub-backed consumer.
  • Resolve and validate compatibility for Azure Repos mirror consumers.
  • After authorized adoption, verify each affected consumer before removing its temporary exemption or retiring credentials.

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.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 062e4ad2-9169-47fb-8e49-a38ee214f96f
Copilot AI balanced review requested due to automatic review settings October 19, 2026 15:09

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.

🔵 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/common updates 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

@missymessa
missymessa marked this pull request as ready for review October 19, 2026 15:13
@missymessa
missymessa requested a review from mmitche October 19, 2026 15:13
@missymessa

Copy link
Copy Markdown
Member Author

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 Octokit.NotFoundException before reaching branch comparison. This is a different failure point from the original comparison issue, so the original fix remains unverified.

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.

@missymessa

Copy link
Copy Markdown
Member Author

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 No localized files to check-in and 0 resource files. It did not exercise branch creation, file push, comparison, PR creation, or cleanup. The original comparison issue remains unverified, and the version-only PR still needs a supported solution for Azure Repos mirror checkouts. Proxy exemptions remain unchanged. Details and next steps are recorded in AB#13198.

Comment thread Documentation/OneLocBuild.md Resolved
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 062e4ad2-9169-47fb-8e49-a38ee214f96f
Copilot AI balanced review requested due to automatic review settings October 19, 2026 17:33
@missymessa
missymessa requested a review from mmitche October 19, 2026 17:34
@missymessa
missymessa enabled auto-merge (squash) October 19, 2026 17:35

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.

🟡 Changes recommended

The reported Azure Repos mirror-checkout initialization failure remains unresolved for the unconditional upgrade.

1 open issue

Review effort: Balanced

@missymessa
missymessa merged commit 7103cc6 into main Oct 19, 2026
11 of 13 checks passed
@missymessa
missymessa deleted the users/mjanecke/oneloc-v3-13198 branch October 19, 2026 20:04
@missymessa

Copy link
Copy Markdown
Member Author

Draft backports are prepared:

Target Draft PR
release/11.0 #17708
release/10.0 #17710
release/9.0 #17709
release/8.0 #17707

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants