Back to Efcore

Azure DevOps and Helix Reference

.agents/skills/ci-analysis/references/azdo-helix-reference.md

11.0.1002.3 KB
Original Source

Azure DevOps and Helix Reference

Build Definition IDs (Example: dotnet/efcore)

Each repository has its own build definition IDs. Here are common ones for dotnet/efcore:

Definition IDNameDescription
17efcore-ciMain PR validation build

Note: The script auto-discovers builds for a PR, so you rarely need to know definition IDs.

Azure DevOps Organizations

Public builds (default):

  • Organization: dnceng-public
  • Project: cbb18261-c48f-4abb-8651-8cdcb5474649

Internal/private builds:

  • Organization: dnceng
  • Project GUID: Varies by pipeline

Override with:

powershell
./scripts/Get-CIStatus.ps1 -BuildId 1276327 -Organization "dnceng" -Project "internal-project-guid"

Common Pipeline Names (Example: dotnet/efcore)

PipelineDescription
efcore-ciMain PR validation build

Other repos have different pipelines - the script discovers them automatically from the PR.

Test Execution Types

Helix Tests

Tests run on Helix distributed test infrastructure. The script extracts console log URLs and can fetch detailed failure info with -ShowLogs.

Local Tests (Non-Helix)

Some repositories (e.g., dotnet/efcore and dotnet/sdk) run tests directly on the build agent. The script detects these and extracts Azure DevOps Test Run URLs.

Known Issue Labels

  • Known Build Error - Used by Build Analysis across all dotnet repositories
  • Search syntax: repo:<owner>/<repo> is:issue is:open label:"Known Build Error" <test-name>

Example searches (use search_issues when GitHub MCP is available, gh CLI otherwise):

bash
# Search in runtime
gh issue list --repo dotnet/runtime --label "Known Build Error" --search "FileSystemWatcher"

# Search in efcore
gh issue list --repo dotnet/efcore --label "Known Build Error" --search "SaveChanges"