Skip to content

Revert OneLocBuild task @3 -> @2 to fix arcade-official-ci loc check-in - #17142

Merged
missymessa merged 1 commit into
dotnet:mainfrom
missymessa:dev/mjanecke/onelocbuild-revert-to-v2
Jul 17, 2026
Merged

missymessa merged 1 commit into
dotnet:mainfrom
missymessa:dev/mjanecke/onelocbuild-revert-to-v2

Conversation

@missymessa

Copy link
Copy Markdown
Member

Problem

arcade-official-ci has been failing in the OneLocBuild task since build 20260716.2 (first build to pick up #17083):

Git remote URL: https://[email protected]/dnceng/internal/_git/dotnet-arcade
Detected GitHub Enterprise URL: https://dev.azure.com/api/v3
Preparing localized file check-in...
Octokit.NotFoundException: The resource cannot be found.
   at OneLocBuildClient.GitHubCheckin.InitializeAsync() ... GitHubCheckin.cs:line 228
##[error]Process 'OneLocBuildClient.exe' exited with code '1'.

Root cause

PR #17083 (WIF-based Entra auth for the ceapex feed) also bumped the task from OneLocBuild@2 to OneLocBuild@3. The WIF feed auth works fine (all ceapex packages install). The regression is in the @3 task's GitHub PR check-in: on the internal AzDO mirror it derives a GitHub Enterprise API endpoint (https://dev.azure.com/api/v3) from the mirror remote instead of github.com, and 404s.

Evidence: last good build 3023903 used task v2.1.290000 (@2) and checked in successfully; every build on v3.1.3462174 (@3) fails with the error above.

Fix

Revert only the task version @3 -> @2. This keeps the WIF Entra-token feed auth intact (@2 consumes the token via packageSourceAuth: patAuth / patVariable, exactly as the last successful build did) and restores the working GitHub PR check-in.

The @3 upgrade needs a separate fix for its GitHub Enterprise URL detection before it can be re-attempted.

PR dotnet#17083 bumped the task from OneLocBuild@2 to OneLocBuild@3 alongside the WIF feed-auth change. The @3 task regressed the GitHub PR check-in on the internal AzDO mirror: it derives a GitHub Enterprise URL (https://dev.azure.com/api/v3) from the mirror remote and fails with Octokit.NotFoundException, breaking arcade-official-ci (build 20260716.2 onward). The WIF feed auth itself works. Revert only the task version to @2 to restore the localization PR check-in while keeping the WIF Entra-token feed auth.
Copilot AI review requested due to automatic review settings July 17, 2026 18:02
@missymessa
missymessa enabled auto-merge (squash) July 17, 2026 18:03

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.

Pull request overview

Reverts the Azure DevOps OneLocBuild task version used by Arcade’s localization job template from OneLocBuild@3 back to OneLocBuild@2 to restore the previously working PR check-in behavior when running against the internal AzDO mirror.

Changes:

  • Downgrade OneLocBuild task invocation from @3 to @2 in the core localization job template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mmitche

mmitche commented Jul 17, 2026

Copy link
Copy Markdown
Member

@missymessa Have you verified with a one-off official build with oneloc enabled?

@missymessa
missymessa merged commit bfaeb3f into dotnet:main Jul 17, 2026
9 of 10 checks passed
@missymessa

Copy link
Copy Markdown
Member Author

@mmitche giving it a try here: https://dev.azure.com/dnceng/internal/_build/results?buildId=3025276&view=results

This fix will at least fix the build where it's breaking now. I'll follow up if other errors occur, too.

@missymessa

Copy link
Copy Markdown
Member Author

@mmitche it's good! :)

@akoeplinger

Copy link
Copy Markdown
Member

/backport to release/10.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/10.0 (link to workflow run)

@akoeplinger

Copy link
Copy Markdown
Member

/backport to release/9.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/9.0 (link to workflow run)

@akoeplinger

Copy link
Copy Markdown
Member

/backport to release/8.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/8.0 (link to workflow run)

@github-actions

Copy link
Copy Markdown
Contributor

@akoeplinger an error occurred while backporting to release/9.0. See the workflow output for details.

@github-actions

Copy link
Copy Markdown
Contributor

@akoeplinger an error occurred while backporting to release/8.0. See the workflow output for details.

@akoeplinger

Copy link
Copy Markdown
Member

@missymessa would you mind handling the 8.0/9.0 backports?

@missymessa

Copy link
Copy Markdown
Member Author

@akoeplinger 8.0 and 9.0 are already fine, thanks for handling the 10.0 backport

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.

5 participants