Skip to content

Restore OneLocBuild v3 after validating the updated task - #17732

Merged
missymessa merged 2 commits into
mainfrom
users/mjanecke/oneloc-v3-retry-17717
Oct 28, 2026
Merged

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

Conversation

@missymessa

Copy link
Copy Markdown
Member

Summary

Reverts #17717 to restore OneLocBuild@3 now that the updated task has passed internal CI.

  • Change only the shared core template from OneLocBuild@2 to OneLocBuild@3.
  • Preserve existing GitHub App and Ceapex WIF authentication, inputs, conditions, and localization PR settings.
  • No separate GitHub checkout workaround is included.

Validation evidence

Passed: arcade-official-ci 3118904 / 20261027.2. Both the localization stage and mandatory SDL checks succeeded.

  • Actual OneLocBuild task version: 3.1.3586203 (task log).
  • Executed using the original Azure Repos mirror checkout, without the workaround proposed in Fix OneLoc v3 builds from Azure Repos mirrors #17711.
  • HTTP proxy was enabled in the same OneLoc job (SetUpHttpProxy=true).
  • Validation commit 8f124f52c35043ca3fd73cffdd12c8429a1400f4 contains this PR's source commit a627a0ccf77c65f3c6412019f1fed87d18914db5 plus a separate localization-only CI harness. The shared OneLoc template is identical; the harness is not part of this PR.
  • Generated localization PRs were restricted to the validation branch with auto-completion disabled. No product publishing, promotion, or deployment ran.

Scope limit: Arcade reported 100% localized for 0 resource files and No localized files to check-in. This proves successful execution of the updated task on Arcade's proxy-enabled Azure Repos path, but does not establish a fresh localization commit/push or branch-comparison lifecycle test.

Reviewed the complete one-line diff, parsed the core template and both entry-point shims, and checked diff whitespace.

Revert the OneLocBuild task downgrade from PR #17717 (f67f82c). Preserve all authentication, inputs and conditions.

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

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 block restoring OneLocBuild v3 in the shared localization template.

No open issues 🎉

What changed in this PR

Restores OneLocBuild v3 in Arcade’s shared localization template after the updated task passed internal CI, reversing #17717.

Changes:

  • Updates OneLocBuild@2 to OneLocBuild@3.
  • Leaves authentication, inputs, conditions, and localization PR settings unchanged; adds no checkout workaround.

Reported validation covers proxy-enabled Azure Repos execution, but not a fresh localization commit/push lifecycle.

File Description
eng/​common/​core-templates/​job/​onelocbuild.yml Restores the shared localization task to OneLocBuild v3.

Review effort: Balanced

@missymessa
missymessa marked this pull request as ready for review October 28, 2026 00:27
@missymessa
missymessa requested a review from mmitche October 28, 2026 00:32
Copilot AI balanced review requested due to automatic review settings October 28, 2026 15:49

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

The shared-template task’s major-version upgrade needs human review because CI processed no resource files, leaving localization output and the GitHub App-authenticated commit, push, and PR lifecycle unvalidated.

No open issues 🎉

Review effort: Balanced

@missymessa
missymessa enabled auto-merge (squash) October 28, 2026 16:46
@missymessa
missymessa merged commit d69b07c into main Oct 28, 2026
13 checks passed
@missymessa
missymessa deleted the users/mjanecke/oneloc-v3-retry-17717 branch October 28, 2026 17:00
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 29, 2026
joperezr added a commit to microsoft/aspire that referenced this pull request Oct 29, 2026
## Description

Update Arcade to bring in the OneLoc fix for the official build break.

This updates the Arcade toolset dependencies from `10.0.0-beta.26472.2`
to `10.0.0-beta.26528.9` (build `20261028.9`) from the `.NET 10 Eng`
channel, including the matching SDK pins and the darc-generated
`eng/common` refresh.

The new Arcade revision includes
[dotnet/arcade#17710](dotnet/arcade#17710),
which upgrades the localization task to `OneLocBuild@3`. It also
includes the updated GitHub App authentication templates consumed by the
localization job.

### OneLoc Azure Repos mirror compatibility

The initial OneLoc v3 task (`3.1.3572200`) had a real Azure Repos mirror
host-detection bug: it selected `https://dev.azure.com/api/v3` instead
of public GitHub. The OneLoc task was subsequently corrected.
[dotnet/arcade#17732](dotnet/arcade#17732)
records successful execution of the updated task (`3.1.3586203`) using
the original Azure Repos checkout, without a separate GitHub checkout
workaround.

Verified that `dnceng` currently has OneLocBuild v3 `3.1.3586203`
installed. `OneLocBuild@3` selects that deployed task; the minor/patch
version is supplied by Azure DevOps, not the Arcade package. The [actual
task log from Arcade run
3118904](https://dev.azure.com/dnceng/internal/_apis/build/builds/3118904/logs/35?api-version=7.0)
confirms `Version: 3.1.3586203` and `GitHub host: github.com, REST API:
https://api.github.com/` on the mirror configuration. No checkout
workaround or generated-template edits are needed to address the older
host-selection failure.

That upstream run reported `0 resource files` and `No localized files to
check-in`. It proves the mirror host-selection correction, not a fresh
localization commit/push/compare/PR lifecycle. Aspire's actual
localization write path with v3 still needs confirmation in an official
main build.

### Validation

- `darc update-dependencies -c '.NET 10 Eng'` - passed; updated all
seven Arcade toolset dependencies.
- `darc update-dependencies -c '.NET 10 Eng' --dry-run` - passed; no
further dependency updates available.
- `.\restore.cmd` - passed with 0 errors and 12 package vulnerability
warnings for existing non-Arcade dependencies.
- `git diff --cached --check` - passed.
- PowerShell parser checks for the changed `.ps1` files, `bash -n
eng/common/run-helix-job-monitor.sh`, and dependency XML/JSON parsing -
passed.
- Verified that all added/modified `eng/common` files match Arcade
revision `8e2b32008e4016ac8d333a42d1bc27c5dd29525f`.
- Existing test-selection routing already sends `eng/common/**` changes
to the full PR matrix; no routing changes are needed.
- Queried the live `dnceng` task catalog and inspected the timeline and
task log of [Arcade run
3118904](https://dev.azure.com/dnceng/internal/_build/results?buildId=3118904):
OneLoc `3.1.3586203` succeeded and selected public GitHub on the
original mirror checkout, with the no-localized-files limit described
above.

The requested literal channel ``.NET 10 `Eng` `` was tried first but
does not exist in Maestro; `darc get-channels` identifies the channel as
`.NET 10 Eng` (ID 8394).

The official Azure DevOps build and tests for this PR were not run. The
OneLoc job is included only for non-PR builds on `main`, so a
personal-branch build cannot exercise the fix. Source-index upload is
likewise main-only and remains unvalidated. No localization, publishing,
or branch-gating overrides were made.

Fixes # (issue)

## Checklist

- Is this feature complete?
  - [x] Yes. Ready to ship.
  - [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
  - [ ] Yes
  - [x] No
- Did you add public API?
  - [ ] Yes
    - If yes, did you have an API Review for it?
      - [ ] Yes
      - [ ] No
- Did you add `<remarks />` and `<code />` elements on your triple slash
comments?
      - [ ] Yes
      - [ ] No
  - [x] No
- Does the change make any security assumptions or guarantees?
  - [ ] Yes
    - If yes, have you done a threat model and had a security review?
      - [ ] Yes
      - [ ] No
  - [x] No

Co-authored-by: Copilot App <[email protected]>
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.

4 participants