Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

aprapipes-devops

БесплатноЗапускает вложенные скриптыНе проверен

Diagnose and fix ApraPipes CI/CD build failures across all platforms (Windows, Linux x64/ARM64, Jetson, macOS, Docker). Handles vcpkg dependencies, GitHub…

Apra-Labsот Apra-Labs★ 38 звёзд на GitHub16 установок в других каталогах

Об этом скилле

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:
    1. Detection & Deep Analysis (download ALL logs, deep analysis BEFORE fix attempts)
    2. Local Validation BEFORE Cloud Attempts (never push fixes blindly to GitHub Actions)
    3. Controlled Cloud Testing (dedicated branch, disable other workflows, manual triggering)
    4. 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::Int16 not 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

Полный SKILL.md на GitHub

Установить aprapipes-devops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

methodology.mdreference.mdscripts/debug-cudnn-local.shscripts/test-gh-cache-delete.shtroubleshooting.containers.mdtroubleshooting.cuda.mdtroubleshooting.jetson.mdtroubleshooting.linux.mdtroubleshooting.macos.mdtroubleshooting.vcpkg.mdtroubleshooting.windows.md

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить aprapipes-devops с