Use WIF for OneLocBuild in DevDiv - #17415
Merged
Merged
Conversation
Acquire a short-lived Ceapex feed token in both supported Azure DevOps projects so DevDiv consumers no longer fall back to dn-bot-ceapex-package-r. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 42b6e46d-b9c0-4558-856d-1d1bdb50609d
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the shared OneLocBuild job template so DevDiv pipelines can use workload identity federation (WIF) to access Ceapex feeds via a project-scoped service connection, while preserving PAT-based fallback behavior for other projects and explicit opt-out cases. This aligns Arcade’s OneLoc infrastructure with the plan to retire the legacy Ceapex PAT.
Changes:
- Extend the federated access-token acquisition path to run in
DevDivas well asinternalwhenCeapexServiceConnectionis set. - Keep PAT fallback behavior for unsupported projects and for callers that set
CeapexServiceConnection: ''. - Document
CeapexServiceConnectionbehavior and the pipeline-authorization requirement.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| eng/common/core-templates/job/onelocbuild.yml | Enables WIF token acquisition for Ceapex feeds in DevDiv in addition to internal, while retaining PAT fallback logic. |
| Documentation/OneLocBuild.md | Documents the new/expanded CeapexServiceConnection supported-project behavior and authorization expectations. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Aug 26, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 42b6e46d-b9c0-4558-856d-1d1bdb50609d
mmitche
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dnceng-onelocbuild-ceapexWIF connection for OneLocBuild in bothdnceng/internalandDevDiv/DevDivCeapexServiceConnection: ''callersRollout safety
The DevDiv connection is Ready and uses workload identity federation. The enabled OneLoc pipelines authorized for variable group 343 have been explicitly authorized to use it: NuGet.Client, VSUnitTesting CI/Signed, Pythia, MSBuild, Roslyn SDK, MachineLearning Tools CLI, NuGet.BuildTasks, and vs-code-coverage. Project System and MAUI were already authorized.
This is a prerequisite for safely merging #17413 and retiring
dn-bot-ceapex-package-r.AB#10151