Command Palette

Search for a command to run...

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

ci-cd-workflows

БесплатноБез исполняемых скриптовНе проверен

Guide for GitHub Actions workflows, test orchestration, parallel testing, adapter builds, releases, and CI/CD configuration. Use when working with…

ai-debugger-incот ai-debugger-inc★ 22 звезды на GitHub15 установок в других каталогах

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

CI/CD Workflows

Purpose: Guide development, modification, and troubleshooting of AIDB's GitHub Actions CI/CD infrastructure

This skill provides practical guidance for working with workflows and configuration. Complete documentation lives in docs/developer-guide/ci-cd.md.

Related Skills

  • testing-strategy - Test architecture and patterns
  • dev-cli-development - Local testing with dev-cli
  • adapter-development - Adapter build processes

System Overview

For complete architecture, see docs/developer-guide/ci-cd.md and architecture.md.

Workflow Organization

Note: All workflow files are now in .github/workflows/ root directory (GitHub Actions requirement). Workflows use category prefixes for organization:

Release Workflows (release-*.yaml)

  • release-pr.yaml - PR-based release orchestration (validate, test, build, matrix, adapters, upload)
  • release-publish.yaml - Publish draft release on PR merge

Testing Workflows (test-*.yaml)

  • test-parallel.yaml - Main test orchestrator (10-15 min, runs everything including frameworks). Called by release-pr.yaml or via manual dispatch. Builds adapters and Docker images as part of its flow.

Adapter Workflows (adapter-*.yaml)

  • adapter-build.yaml - Build debug adapters for multiple platforms
  • adapter-build-act.yaml - ACT local testing workflow (for local development with act)

Maintenance Workflows (maintenance-*.yaml)

  • (Currently none - Dependabot PRs are merged manually)

Reusable Workflows (*.yaml)

  • load-versions.yaml - Dynamic version loading
  • test-suite.yaml - Generic test runner
  • test-frameworks.yaml - Framework testing
  • build-adapters.yaml - Adapter build orchestration
  • build-docker.yaml - Docker image builds

Single Source of Truth

versions.json (repo root):

  • Infrastructure versions (Python, Node, Java) with docker_tag fields
  • Adapter versions and repositories (debugpy, vscode-js-debug, java-debug)
  • Global packages (build tools: pip, setuptools, wheel, typescript, ts-node)
  • Platform/architecture matrix
  • GitHub Actions configuration

All workflows dynamically load versions via load-versions.yaml - zero hardcoded versions.

See docs/developer-guide/ci-cd.md for configuration overview.

Version Management Strategy

  • versions.json - Infrastructure versions (Python, Node, Java) and adapter versions updated manually
  • pyproject.toml - Application dependencies managed by Dependabot (creates PRs automatically)

Dependabot Integration

Dependabot creates PRs directly against main, but no workflows run on these PRs:

  1. Target Branch: All Dependabot PRs target main
  2. No CI Triggers: release-pr.yaml skips Dependabot PRs (github.actor != 'dependabot[bot]')
  3. Manual Management: PRs are reviewed, typically retargeted to release branches, and merged manually
  4. Ecosystems: pip (daily), github-actions (weekly), npm (weekly)

Configuration: .github/dependabot.yaml

Common Tasks

Running Tests

On GitHub:

  • Release PRs to main → triggers release-pr.yaml which calls test-parallel.yaml
  • Manual dispatch via Actions UI (workflow_dispatch) with options:
    • suite: all, cli, shared, common, logging, mcp, core, frameworks, launch, ci_cd
    • skip_coverage: Skip coverage reporting for faster execution
    • debug_logging: Enable TRACE-level logging (equivalent to dev-cli -vvv)

Debug logging: Enable trace-level debugging via debug_logging input (mirrors dev-cli -vvv):

  • gh workflow run test-parallel.yaml -f debug_logging=true
  • Sets: AIDB_LOG_LEVEL=TRACE, AIDB_ADAPTER_TRACE=1, AIDB_CONSOLE_LOGGING=1

Test artifacts: All jobs upload logs to test-logs-{suite} artifacts (7-day retention):

  • Includes: pytest logs, container logs, CLI logs, full test output
  • Retrieval: gh run download {run-id} -n test-logs-{suite}
  • Job summaries show pytest summary (capped at 100 lines) with link to full artifact

Locally:

./dev-cli test run --suite shared
./dev-cli test run -t "path/to/test.py"
./dev-cli test run --suite shared --language python

# CI/CD workflow tests (includes act-based validation)
./dev-cli test run -s ci_cd              # All tests (unit + integration)
./dev-cli test run -s ci_cd -m "not slow"  # Skip slow act tests
./dev-cli test run -s ci_cd -m integration  # Only integration tests

With act (local CI): See quick-reference.md and CI/CD Integration Tests below.

Troubleshooting CI Failures with GitHub CLI

GitHub CLI is the primary tool for CI observability and debugging. When tests fail in CI, use GH CLI to inspect jobs, download artifacts, and analyze logs locally.

Prerequisites:

# Verify GH CLI is installed and authenticated
gh auth status

Common workflows:

# List recent workflow runs
gh run list --status=failu
Полный SKILL.md на GitHub

Установить ci-cd-workflows в Claude Code и Claude Desktop

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

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

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

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

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

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

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

resources/adapter-builds.mdresources/architecture.mdresources/quick-reference.mdresources/release-workflows.mdresources/test-orchestration.mdresources/troubleshooting.md

FAQ

Что делает скилл ci-cd-workflows?

Guide for GitHub Actions workflows, test orchestration, parallel testing, adapter builds, releases, and CI/CD configuration. Use when working with .github/workflows/, versions.json, or troubleshooting CI issues.

Как установить скилл ci-cd-workflows?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ci-cd-workflows запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить ci-cd-workflows с