一键导入
known-build-error
File a "Known Build Error" GitHub issue to track a recurring build or test failure in the dotnet infrastructure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
File a "Known Build Error" GitHub issue to track a recurring build or test failure in the dotnet infrastructure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use the tiger cli tool to query live Azure DevOps and Helix CI/CD data
Used for querying CI/CD build and test data from Azure DevOps
Identify and access crash dumps from CI test failures in Azure DevOps, for both normal test runs and Helix-based tests.
Access CI/CD health reports and state-of-the-build summaries produced by the Tiger health agent
| name | known-build-error |
| description | File a "Known Build Error" GitHub issue to track a recurring build or test failure in the dotnet infrastructure |
This skill creates GitHub issues with the Known Build Error label that are automatically picked up by the dotnet
Build Analysis infrastructure to match and suppress known failures.
Use this skill when you identify a recurring build or test error that:
dotnet/dnceng.The issue body must contain a fenced JSON code block with the error matching configuration:
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}
| Field | Type | Description |
|---|---|---|
ErrorMessage | string or string[] | Literal substring match against error text. Use when the error text is stable. |
ErrorPattern | string or string[] | .NET regex pattern for matching. Use when the error contains variable parts (paths, timestamps, IDs). |
BuildRetry | bool | Set to true if the failure is transient and retrying the build may fix it. Only retries on first attempt. |
ExcludeConsoleLog | bool | Set to true to exclude console/Helix logs from matching (only match against AzDO error messages). |
Important rules:
ErrorMessage OR ErrorPattern, never both in the same blob.\" for quotes, \\ for backslash)..NET (C#) flavor with options: single-line, case-insensitive, no backtracking.Both ErrorMessage and ErrorPattern accept an array of strings for matching multiple lines in order (AND condition):
{
"ErrorMessage": ["Assert.True() Failure", "Actual: False"]
}
Rules for multi-line matching:
ErrorMessage and ErrorPattern in the same blob.The issue must follow this structure:
## Build Information
Build: <!-- Link to the AzDO build -->
Leg Name: <!-- Name of the impacted leg/job -->
## Error Message
```json
{
"ErrorMessage": "the error text here",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}
`` `
Use the gh CLI to file the issue:
# For repository issues (filed in the affected repo):
gh issue create --repo dotnet/<REPO> \
--label "Known Build Error" \
--title "<Short description of the error>" \
--body "<issue body with template above>"
# For infrastructure issues (filed in dotnet/dnceng):
gh issue create --repo dotnet/dnceng \
--label "Known Build Error" \
--title "<Short description of the error>" \
--body "<issue body with template above>"
Ask these questions to fill out the JSON blob correctly:
ErrorMessage vs ErrorPattern?
ErrorMessageErrorPattern with regexExcludeConsoleLog?
false (default): Match against AzDO errors AND build logs AND Helix logstrue: Only match against AzDO error messages (not console/Helix logs)true when the error only appears in AzDO timeline records, not in raw logsBuildRetry?
true: The failure is transient (network timeouts, agent disconnects, resource exhaustion)false (default): The failure is deterministic or retry won't helpInfrastructure vs Repository?
dotnet/dnceng): Affects multiple repos, relates to build infra (agents, network, Helix machines){
"ErrorMessage": "Failed to retrieve information",
"BuildRetry": true,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}
{
"ErrorPattern": "\\[FAIL\\] System\\.Net\\.Http\\.Tests\\..+Timeout",
"ErrorMessage": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
{
"ErrorMessage": ["Assert.True() Failure", "Actual: False"],
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}
{
"ErrorMessage": "The agent did not connect within the alloted time",
"BuildRetry": true,
"ErrorPattern": "",
"ExcludeConsoleLog": true
}