Skip to content

Document Azure CLI task hang mitigations - #22535

Open
v-nairin wants to merge 2 commits into
masterfrom
users/v-nairin/azcli-taskhang-workaround
Open

v-nairin wants to merge 2 commits into
masterfrom
users/v-nairin/azcli-taskhang-workaround

Conversation

@v-nairin

@v-nairin v-nairin commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Context

Azure CLI tasks can remain blocked during CLI initialization before reaching the configured script. This documents preventive, non-interactive pipeline settings and finite timeout/retry limits.


Task Name

AzureCLI@2 and AzureCLI@3


Description

  • Add troubleshooting guidance for unresponsive Azure CLI initialization.
  • Document non-interactive Azure CLI environment settings.
  • Recommend finite timeout and retry limits.
  • Bump AzureCLIV2 and AzureCLIV3 task versions to sprint 281.0.

Risk Assessment (Low / Medium / High)

Low. The functional guidance is documentation-only; task metadata changes are limited to the required version bumps.


Change Behind Feature Flag (Yes / No)

No. This PR documents an opt-in pipeline workaround and does not change task runtime behavior.


Tech Design / Approach

No architectural changes. The README examples set Azure CLI to non-interactive behavior and bound task execution with timeout and retry values.


Documentation Changes Required (Yes/No)

Yes. The AzureCLIV2 and AzureCLIV3 task READMEs are updated.


@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@v-nairin

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@v-nairin

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

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.

1 participant