Simulates storage and network failures for resilience testing. Provides a circuit breaker state machine, retry policies with backoff, and queue-preservation assertions. Includes utilities (createFaultScenario, createFaultInjector), a CircuitBreaker state machine (closed/open/half-open), a configurable RetryPolicy with backoff, and assertions (assertQueuePreserved/assertQueueTrimmed) to validate data integrity. Typical workflow: enumerate fault scenarios, inject failures against external dependencies, validate circuit-breaker transitions and backoff timing, and assert transactional/idempotent behavior and queue handling. Use cases: validating retry and rollback logic, protecting microservices from cascading failures, verifying queuing guarantees, and testing third-party API error handling. Avoid applying it to pure functions or UI-only components. Core advantages: uncover edge-case failures, prove resilience quantitatively, and reduce production incidents by exercising realistic fault modes.
Simulates storage and network failures for resilience testing. Provides a circuit breaker state machine, retry policies with backoff, and queue-preservation assertions. Includes utilities (createFaultScenario, createFaultInjector), a CircuitBreaker state machine (closed/open/half-open), a configurable RetryPolicy with backoff, and assertions (assertQueuePreserved/assertQueueTrimmed) to validate data integrity. Typical workflow: enumerate fault scenarios, inject failures against external dependencies, validate circuit-breaker transitions and backoff timing, and assert transactional/idempotent behavior and queue handling. Use cases: validating retry and rollback logic, protecting microservices from cascading failures, verifying queuing guarantees, and testing third-party API error handling. Avoid applying it to pure functions or UI-only components. Core advantages: uncover edge-case failures, prove resilience quantitatively, and reduce production incidents by exercising realistic fault modes.
用于弹性测试,模拟存储和网络故障。提供断路器(CircuitBreaker)状态机、带退避策略的重试机制,以及队列保全相关断言。主要功能包括工具(createFaultScenario、createFaultInjector)、断路器状态机(闭合/打开/半开)、可配置的带退避的 RetryPolicy,以及用于验证数据完整性的断言 assertQueuePreserved/assertQueueTrimmed。典型工作流程:枚举故障场景、向外部依赖注入故障、验证断路器转态和退避时序,并断言事务/幂等行为与队列处理。使用场景:验证重试与回滚逻辑、保护微服务免受级联故障、验证排队保障、测试第三方 API 的错误处理等。不适用于纯函数或仅 UI 的组件。核心优势:揭示边缘案例故障、以定量方式证明弹性,并通过演练真实故障模式减少生产事故。
Category: developer (开发工具) · Author: apankov1 · Version: @main · License: MIT
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer