You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add Bash(pwsh:*) to allowed-tools for auto-approval
- Replace inline categorization rules with pointer to failure-patterns.md
- Sharpen "load when" guidance for reference files
- Condense output format template from ~70 to ~15 lines
- Add table of contents to failure-patterns.md
🤖 Co-Authored-By: Claude Code <noreply@anthropic.com>
description: Troubleshoot CI failures in dd-trace-dotnet Azure DevOps pipeline. Use this skill whenever the user mentions a failing CI build, PR checks failing, Azure DevOps pipeline failures, test failures in CI, or when they share a build ID or PR number and want to understand what went wrong. Analyzes build failures, categorizes them (infrastructure/flaky/real), and provides actionable recommendations.
-**[failure-patterns.md](failure-patterns.md)**- Reference guide with known CI failure patterns, categorization rules, and decision trees. Load when you need to categorize a failure type or compare against historical patterns.
41
-
-**[scripts-reference.md](scripts-reference.md)**- Documentation for `Get-AzureDevOpsBuildAnalysis.ps1`script (parameters, usage, output structure).
42
-
-**[references/cli-reference.md](references/cli-reference.md)**- Azure DevOps API endpoints and Windows CLI pitfalls. Load when running Azure DevOps CLI commands directly (bypassing the PowerShell script).
40
+
-**[failure-patterns.md](failure-patterns.md)**— Load ONLY during Phase 2 categorization or when the user asks about a specific failure type. Not needed for Phase 1 quick analysis.
41
+
-**[scripts-reference.md](scripts-reference.md)**— Load ONLY if the PowerShell script fails, returns unexpected output, or you need to understand the output object shape.
42
+
-**[references/cli-reference.md](references/cli-reference.md)**— Load ONLY if bypassing the PowerShell script entirely and running Azure DevOps CLI commands directly.
43
43
44
44
## Task
45
45
@@ -150,168 +150,36 @@ The script automatically:
150
150
151
151
## Output Format
152
152
153
-
**Important**: Use actual Unicode emoji characters (e.g., ❌, 🔴, 🟡, 🔵, 🔍, ✅) in output, NOT markdown emoji codes (e.g., `:x:`, `:red_circle:`). Markdown emoji codes are not rendered in all contexts.
153
+
**Important**: Use actual Unicode emoji characters (e.g., ❌, 🔴, 🟡, 🔵, 🔍, ✅), NOT markdown emoji codes (e.g., `:x:`).
154
154
155
-
### Phase 1: Quick Summary (Always Show This First)
### 🟡 Flaky Tests (Action: Retry, May Investigate)
282
-
**Indicators**:
283
-
- Tests with `previousAttempts > 0` (already auto-retried by CI)
284
-
- Stack walking failures: `Failed to walk N stacks for sampled exception: E_FAIL`
285
-
- Known intermittent tests (reference `failure-patterns.md`)
286
-
- Tests that pass/fail inconsistently across platforms
287
-
-**Single-runtime failures**: Same test fails on only one .NET runtime but passes on others (especially net6+). Example: net6 pass, net8 pass, net10 fail → likely flaky, not a real regression.
288
-
-**ARM64 single-platform timeout**: In an ARM64 stage (e.g., `unit_tests_arm64`), one runtime job is cancelled after ~60 min while all other runtimes complete normally in ~14 min → almost certainly a transient ARM64 infrastructure issue, not a code regression. Retry.
-[When to Investigate vs Retry](#when-to-investigate-vs-retry)
16
+
5
17
## Infrastructure Failures
6
18
7
19
These are typically transient issues with CI infrastructure, not code problems. **Recommendation: Retry the build. Alert #apm-dotnet if persistent after retries.**
0 commit comments