Skip to content

[release/6.0] Backport renewable Azure CLI authentication for Helix - #17643

Merged
mmitche merged 1 commit into
dotnet:release/6.0from
missymessa:backport/17592-release-6.0
Oct 7, 2026
Merged

mmitche merged 1 commit into
dotnet:release/6.0from
missymessa:backport/17592-release-6.0

Conversation

@missymessa

Copy link
Copy Markdown
Member

Backport

Backport of #17592 to release/6.0.

Summary

  • Run Entra-authenticated Helix submission and inline waiting inside AzureCLI@2 with keepAzSessionActive: true.
  • Prefer AzureCliCredential while retaining the release branch's existing Azure Pipelines/default credential fallbacks.
  • Preserve existing PAT and anonymous behavior.

Mainline-only standalone Job Monitor, core-template, and ArcadeAzureIntegration changes are omitted because those surfaces do not exist on release/6.0.

Validation

  • Focused Microsoft.DotNet.Helix.Sdk.Tests validation passed on release/6.0.
  • Both release template variants contain the same adapted implementation.

Tracks AB#12269.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b83ddd94-a1da-4c3c-aead-1d1643a6b83f
Copilot-Session: 40ffbc91-7138-4298-b61c-73a788185f11
Copilot-Session: 3ee73e53-8098-4533-b3f9-1686640d4f55
Copilot-Session: 0a4ed861-2664-48de-a412-84d7adccd0f0
Copilot AI balanced review requested due to automatic review settings September 30, 2026 22:29

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.

Copilot review overview

🟢 Approval recommended

The backport consistently implements renewable authentication across both templates without altering legacy authentication paths.

Review effort: Balanced
Findings: None

What changed in this PR

Backports renewable Azure CLI authentication for Entra-authenticated Helix operations while preserving PAT and anonymous flows.

Changes:

  • Prefer renewable Azure CLI credentials with existing fallbacks.
  • Run Helix submission inside authenticated AzureCLI@2 sessions.
  • Document the workload identity federation requirement.
File Description
src/​Microsoft.DotNet.Helix/​Sdk/​HelixTask.cs Prioritizes Azure CLI credentials.
eng/​common/​templates/​steps/​send-to-helix.yml Adds renewable authentication for standard pipelines.
eng/​common/​templates-official/​steps/​send-to-helix.yml Mirrors authentication changes for official pipelines.
Documentation/​AzureDevOps/​SendingJobsToHelix.md Documents configuration and renewal behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@missymessa
missymessa marked this pull request as ready for review September 30, 2026 22:49
@missymessa
missymessa requested a review from mmitche September 30, 2026 22:49
@missymessa
missymessa enabled auto-merge (squash) October 1, 2026 16:43
@mmitche
mmitche disabled auto-merge October 7, 2026 17:08
@mmitche
mmitche merged commit fdea710 into dotnet:release/6.0 Oct 7, 2026
17 checks passed
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