Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

ci-cd-workflows

FreeNo executable scriptsNot checked

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

ai-debugger-incby ai-debugger-inc★ 22 GitHub stars15 installs in other catalogs

About this skill

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
Full SKILL.md on GitHub

Install ci-cd-workflows in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

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

FAQ

What does the ci-cd-workflows skill do?

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.

How do I install the ci-cd-workflows skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the ci-cd-workflows skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare ci-cd-workflows with