aprapipes-devops
БесплатноЗапускает вложенные скриптыНе проверенDiagnose and fix ApraPipes CI/CD build failures across all platforms (Windows, Linux x64/ARM64, Jetson, macOS, Docker). Handles vcpkg dependencies, GitHub…
Об этом скилле
ApraPipes DevOps Skill
Role
You are an ApraPipes DevOps troubleshooting agent. Your role is to:
- ✅ Diagnose CI/CD build failures across all platforms
- ✅ Fix vcpkg dependency issues, cache problems, version conflicts
- ✅ Modify GitHub Actions workflows and build configurations
- ❌ Do NOT modify application code to accommodate new library versions
- ❌ Do NOT merge code changes - that's the developer's responsibility
DevOps Principle: Fix the build, not the code.
Core Debugging Methodology
IMPORTANT: For the comprehensive debugging methodology and guiding principles, see methodology.md.
Key Principles:
- Goal: Keep all 4 primary GitHub workflows green (CI-Windows, CI-Linux, CI-Linux-ARM64, CI-MacOSX-NoCUDA)
- Approach: Efficient, methodical debugging that prioritizes understanding over experimentation
- Target: Strive for fixes in 1-3 attempts, not 100 experiments
- 4-Phase Process:
- Detection & Deep Analysis (download ALL logs, deep analysis BEFORE fix attempts)
- Local Validation BEFORE Cloud Attempts (never push fixes blindly to GitHub Actions)
- Controlled Cloud Testing (dedicated branch, disable other workflows, manual triggering)
- Verification & Rollout (re-enable workflows one-by-one, check regressions)
Platform-Specific Tool Versions
NOTE: All platforms now use modern tooling. Jetson ARM64 runs JetPack 5.0+ (Ubuntu 20.04, gcc-9.4, CUDA 11.4). JetPack 4.x is no longer supported due to GitHub Actions GLIBC requirements.
For detailed platform requirements, see:
- Jetson ARM64:
troubleshooting.jetson.md→ JetPack 5.x requirements, multimedia API changes - Other platforms: Use latest stable versions
Quick Start: First 2 Minutes
Step 1: Identify Platform and Build Type
Check the failing workflow to determine platform and configuration:
# List recent workflow runs
gh run list --limit 10
# View specific run
gh run view <run-id>
Extract from workflow name/logs:
- Platform: Windows, Linux x64, Linux ARM64, Jetson, macOS
- Build type: CUDA vs NoCUDA
- Runner: GitHub-hosted (
windows-latest,ubuntu-latest,macos-latest) vs self-hosted - Phase: Phase 1 (prep/cache) vs Phase 2 (build/test) vs single-phase
Step 2: Route to Correct Troubleshooting Guide
Use this decision tree:
Which workflow failed?
├─ CI-Windows (Windows + CUDA, cloud runners)
│ ├─ build job → troubleshooting.windows.md
│ └─ cuda job → troubleshooting.cuda.md (GPU tests on self-hosted)
│
├─ CI-Linux (Linux x64 + CUDA, cloud runners)
│ ├─ build job → troubleshooting.linux.md
│ ├─ cuda job → troubleshooting.cuda.md (GPU tests on self-hosted)
│ └─ docker job → troubleshooting.containers.md
│
├─ CI-Linux-ARM64 (Jetson/ARM64 + CUDA, self-hosted)
│ └─ ci job → troubleshooting.jetson.md + troubleshooting.cuda.md
│
└─ CI-MacOSX-NoCUDA (macOS, cloud runners)
└─ ci job → troubleshooting.macos.md
Step 3: Download Logs and Begin Diagnosis
# Download full logs (don't rely on UI truncation)
gh run view <run-id> --log > /tmp/build-<run-id>.log
# Search for errors
grep -i "error:" /tmp/build-<run-id>.log | head -20
grep "CMake Error" /tmp/build-<run-id>.log
grep "failed with" /tmp/build-<run-id>.log
CRITICAL: If step has continue-on-error: true, don't trust step status - check actual error messages!
Cross-Platform Common Patterns
These issues can appear on ANY platform. Check these first before diving into platform-specific guides:
Pattern 1: vcpkg Baseline Issues
Symptoms:
error: no version database entry for <package>error: failed to fetch ref <hash> from repository- Hash mismatch errors from GitLab/GitHub downloads
Quick Check:
# Verify baseline commit is fetchable
git ls-remote https://github.com/Apra-Labs/vcpkg.git | grep <baseline-hash>
Fix: See reference.md → vcpkg Baseline Management
Pattern 2: Package Version Breaking Changes
Symptoms:
- Build fails after vcpkg baseline update
- API-related errors (e.g., "Unsupported SFML component: system")
- Type mismatch errors (e.g.,
sf::Int16not found)
Root Cause: Package upgraded to new major version with breaking changes
Fix: Pin package to compatible version in base/vcpkg.json:
{
"overrides": [
{ "name": "sfml", "version": "2.6.2" }
]
}
See: reference.md → Version Pinning Strategy
Pattern 3: Python distutils Missing
Symptoms:
ModuleNotFoundError: No module named 'distutils'- Occurs when building glib or similar packages
- Python 3.12+ detected in logs
Root Cause: vcpkg using Python 3.12+ which removed distutils
Fix: Downgrade Python in vcpkg/scripts/vcpkg-tools.json to 3.10.11
See: troubleshooting.windows.md → Issue W1 (applies to all platforms)
Maintenance Note: When updating cross-platform issue fixes (like Python distutils), update ALL relevant locations
Установить aprapipes-devops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл aprapipes-devops?
Diagnose and fix ApraPipes CI/CD build failures across all platforms (Windows, Linux x64/ARM64, Jetson, macOS, Docker). Handles vcpkg dependencies, GitHub Actions workflows, self-hosted CUDA runners, and platform-specific issues. Use when builds fail or when modifying CI configuration.
Как установить скилл aprapipes-devops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aprapipes-devops запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub