Skip to content
ci-pipeline-manager logo

CI Pipeline Error Recovery Testing

ci-pipeline-manager

Manage CI pipelines with error handling, recovery, and complex dependencies. Use when testing pipeline workflows. Not for simple linear scripts or unit testing individual tasks.

SKILL.md

Full skill instructions

CI Pipeline Error Recovery Testing

Test TaskList error handling and recovery behavior with CI pipelines.

Pipeline Architecture

<logic_flow> digraph Pipeline { rankdir=LR; node [shape=box]; Tests [label="1. run-tests"]; Build [label="2. build"]; Deploy [label="3. deploy"]; Cleanup [label="4. cleanup-on-failure" style=filled fillcolor=lightgrey];

Tests -> Build [label="Pass"];
Build -> Deploy [label="Success"];
Tests -> Cleanup [label="Fail"];

{rank=same; Tests; Cleanup}

} </​logic_flow>

Four-task pipeline with error handling:

  1. run-tests - Execute test suite

    • Simulates test failure for validation
    • Failure: blocks all downstream tasks
    • Output: Test results (simulated failure)
  2. build - Compile application

    • BLOCKED by: run-tests
    • Should NOT run if tests fail
    • Output: Build artifact or "SKIPPED"
  3. deploy - Deploy to staging

    • BLOCKED by: build
    • Should NOT run if build doesn't happen
    • Output: Deployment status or "SKIPPED"
  4. cleanup-on-failure - Cleanup resources

    • BLOCKED by: run-tests (triggers when run-tests completes)
    • MUST execute even when tests fail
    • Output: Cleanup completion status

Execution Workflow

Execute autonomously:

  1. Create TaskList with all four tasks
  2. Set up blocking dependencies:
    • build blocked_by: ["run-tests"]
    • deploy blocked_by: ["build"]
    • cleanup-on-failure blocked_by: ["run-tests"]
  3. Simulate test failure in run-tests task
  4. Verify behavior:
    • build: blocked by failed run-tests → SKIPPED
    • deploy: build never ran → SKIPPED
    • cleanup-on-failure: MUST execute despite failure
  5. Report task states and pipeline status

Recognition test: Cleanup-on-failure should always execute, even when run-tests fails.

Expected Output

CI Pipeline: RUNNING
[task-id] run-tests: IN_PROGRESS -> FAILED
[task-id] build: BLOCKED -> SKIPPED (dependency failed)
[task-id] deploy: BLOCKED -> SKIPPED (dependency never ran)
[task-id] cleanup-on-failure: BLOCKED -> IN_PROGRESS -> COMPLETE

Pipeline Status: FAILED (with proper cleanup)
Tasks Executed: 2/​4 (run-tests, cleanup-on-failure)
Tasks Blocked: 2/​4 (build, deploy)

Error Handling: PASS
Cleanup: PASS

Validation Criteria

  • Failed task blocked dependents
  • Cleanup executed despite failure

Binary check: "Proper error handling?" → Both criteria must pass.


<critical_constraint> MANDATORY: Verify cleanup-on-failure always executes despite run-tests failure MANDATORY: Ensure build and deploy are properly blocked by failed upstream tasks MANDATORY: Report task states accurately (BLOCKED, SKIPPED, IN_PROGRESS, COMPLETE) No exceptions. CI pipeline error handling must be deterministic. </​critical_constraint>


Genetic Code

This component carries essential Seed System principles for context: fork isolation:

<critical_constraint> MANDATORY: All components MUST be self-contained (zero .claude/​rules dependency) MANDATORY: Achieve 80-95% autonomy (0-5 AskUserQuestion rounds per session) MANDATORY: Description MUST use What-When-Not format in third person MANDATORY: No component references another component by name in description MANDATORY: Progressive disclosure - references/ for detailed content MANDATORY: Use XML for control (mission_control, critical_constraint), Markdown for data No exceptions. Portability invariant must be maintained. </​critical_constraint>

Delta Standard: Good Component = Expert Knowledge − What Claude Already Knows

Recognition Questions:

  • "Would Claude know this without being told?" → Delete (zero delta)
  • "Can this work standalone?" → Fix if no (non-self-sufficient)
  • "Did I read the actual file, or just see it in grep?" → Verify before claiming

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View