go-chaos-test

Inject controlled faults into Go services to validate circuit breakers and retries.

1|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/shafibabar/SDLC-Artifact-Factory --skill go-chaos-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-chaos-test
Source: https://github.com/shafibabar/SDLC-Artifact-Factory/tree/main/skills/go-chaos-test
Command: npx skills add https://github.com/shafibabar/SDLC-Artifact-Factory --skill go-chaos-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the gap between theoretical resilience patterns and actual system behavior by deliberately injecting faults to prove that circuit breakers, retries, and graceful degradation mechanisms function as intended under stress.

Core Features & Use Cases

  • Hypothesis-Driven Testing: Enforces a rigorous four-part experiment structure (steady state, hypothesis, blast radius, rollback) to ensure chaos testing produces actionable data rather than anecdotes.
  • Multi-Tier Fault Injection: Supports both in-process network fault injection via Toxiproxy and infrastructure-level faults like pod kills or network partitions using Chaos Mesh.
  • Concurrency Validation: Includes specialized experiments to detect partial deadlocks and livelocks that standard Go runtime tools often miss.

Quick Start

Use the go-chaos-test skill to execute the pod-kill experiment against the canary environment to verify the system's automatic recovery capabilities.

Frequently Asked Questions about go-chaos-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test circuit breakers and retries in Go services?

You test circuit breakers and retries by injecting controlled faults into Go services to verify they handle failures gracefully under stress. This proves theoretical resilience patterns actually function as intended.

What is hypothesis-driven chaos engineering and how does it work?

Hypothesis-driven chaos engineering enforces a four-part experiment structure: steady state, hypothesis, blast radius, and rollback. This structured approach ensures fault injection produces actionable validation data rather than unstructured anecdotes.

How do I inject network faults into Go applications for resilience testing?

Inject network faults into Go applications using in-process fault injection via Toxiproxy. This validates application-level failure modes and verifies graceful degradation mechanisms function correctly during isolated network disruptions.

Can I use Chaos Mesh with Go services for infrastructure-level fault injection?

Yes, Chaos Mesh works with Go services to inject infrastructure-level faults like pod kills and network partitions. This verifies automatic recovery capabilities and validates system resilience at the infrastructure level.

How do I detect partial deadlocks and livelocks in concurrent Go programs?

Detect partial deadlocks and livelocks in concurrent Go programs using specialized chaos experiments. These targeted fault injections identify concurrency issues that standard Go runtime tools often miss during resilience testing.

What are the limits of chaos testing in non-production Kubernetes environments?

Chaos testing in non-production Kubernetes requires strict blast-radius scoping and automatic rollback triggers to limit impact. Experiments must be isolated to canary environments to prevent uncontrolled fault propagation.