Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:38:14 +08:00
commit 08d8f7a4e0
12 changed files with 397 additions and 0 deletions

60
commands/check-pr.md Normal file
View File

@@ -0,0 +1,60 @@
---
description: Check pull request status and CI results
---
Check pull request status, CI results, and review details.
GitHub CLI commands:
1. **List Recent PRs**:
```bash
gh pr list --repo DataDog/dd-trace-dotnet
```
2. **View PR Details**:
```bash
gh pr view <pr-number> --repo DataDog/dd-trace-dotnet
```
3. **Check PR Status/Checks**:
```bash
gh pr checks <pr-number> --repo DataDog/dd-trace-dotnet
```
4. **View PR Diff**:
```bash
gh pr diff <pr-number> --repo DataDog/dd-trace-dotnet
```
Azure DevOps commands:
1. **List Pipeline Runs**:
```bash
az pipelines runs list --org https://dev.azure.com/datadoghq --project dd-trace-dotnet
```
2. **View Run Details**:
```bash
az pipelines runs show --id <run-id> --org https://dev.azure.com/datadoghq --project dd-trace-dotnet
```
What to check:
- **Build status**: All builds passing
- **Test results**: No failing tests
- **Code coverage**: Coverage maintained or improved
- **Integration tests**: All integration tests passing
- **Smoke tests**: Smoke tests successful
- **PR template**: All sections filled out
- **Reviews**: Required reviewers approved
Common issues:
- Flaky tests: Check test history for patterns
- Timeout: Look for long-running tests
- Docker issues: Verify Docker services are healthy
- Dependencies: Check for version conflicts
After checking:
- Report status summary (passed/failed/running)
- Identify any blocking issues
- Suggest fixes for failures
- Provide links to detailed results