Skip to content

Conversation

@lewing
Copy link
Member

@lewing lewing commented Feb 9, 2026

Summary

Adds Azure CLI guidance to the ci-analysis skill for investigating AzDO pipelines directly, reducing reliance on manual REST API construction.

Changes

  • New section: "Deep Investigation with Azure CLI"

    • Auth checking: how to verify az is installed/authenticated, refresh PATH on Windows, check azure-devops extension
    • Pipeline querying: az pipelines list, az pipelines show, az pipelines runs list/show
    • Artifact listing: az pipelines runs artifact list
    • REST API fallback: only for build timelines and artifact downloads (no CLI equivalent)
    • Pipeline YAML: all arcade-based dotnet repos use eng/pipelines/; use az pipelines show to find the YAML path
  • Key principle: prefer az CLI over manual REST API construction

    • CLI handles auth, pagination, and output formatting automatically
    • --query (JMESPath) and -o table reduce scripting overhead
  • Concurrency safety: never use az devops configure --defaults

    • Global config causes conflicts when multiple agents run concurrently
    • Always pass --org and -p explicitly
  • Terminology fix: AAD access token, not PAT

  • New tip Darc removes the TEST_RESTORE_SOURCES_INSERTION_LINE placeholder line in NuGet.config. #8: verify az account show before making REST calls

- Add 'Deep Investigation with Azure CLI' section with auth checking
- Add pipeline definition and build querying examples using az CLI
- Add guidance to examine pipeline YAML in dotnet/dotnet
- Prefer az CLI commands over manual REST API construction
- Add tip #8 about verifying az auth before REST calls
Copilot AI review requested due to automatic review settings February 9, 2026 18:28
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Feb 9, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the ci-analysis skill documentation to add guidance for using the Azure CLI (with the azure-devops extension) to investigate Azure DevOps pipelines and runs, reducing reliance on manual REST calls.

Changes:

  • Adds a new “Deep Investigation with Azure CLI” section covering auth checks, pipeline/run queries, and artifact listing.
  • Adds REST API fallback examples for build timeline querying and artifact ZIP downloads when CLI isn’t sufficient.
  • Adds a new Tips item reminding investigators to verify az account show before making REST calls.

Multiple agents running concurrently would stomp on each other's
global az devops config. Pass org/project explicitly instead.
Copilot AI review requested due to automatic review settings February 9, 2026 18:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

@lewing lewing requested a review from steveisok February 9, 2026 19:03
@lewing lewing added area-skills Agent Skills and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Feb 9, 2026
@lewing lewing merged commit 126fddc into main Feb 9, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-skills Agent Skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants