Home Project Architecture Presentations Team Admin / Login
Software Engineering Project · TIET · 2026

CHAOSLAB

Declarative Recovery-Correctness Analysis
for Distributed Microservices

ChaosLab verifies whether distributed applications recover to a correct business state after controlled failures — not just whether the services come back up.

🧩
Microservices
⚡
Failure
♻️
Recovery
🔎
Evidence
✔
PASS / FAIL

"Healthy" isn't the same as "correct."

After a chaos experiment, a distributed system can report every service as up, every health check green, and every pod running — while the underlying business state is quietly wrong. Liveness checks don't catch this. ChaosLab does.

post-recovery-state.log
$ kubectl get pods --namespace=boutique
✔ all 11 services Running
✔ readiness probes: 11/11 passing
$ chaoslab verify --experiment checkout-partition-01
✘ duplicate payment charge detected (order #48213)
✘ inventory not decremented after confirmed order
⚠ order state = "CONFIRMED", payment state = "REFUND_PENDING"
VERDICT: RECOVERY_INCORRECT
×2

Duplicate Payment

A retried request after a network partition charges the customer twice, even though every service reports success.

∅

Missing Inventory Deduction

An order is confirmed, but a crash during recovery leaves stock levels untouched — silently overselling later.

≠

Incorrect Order State

The order service and payment service disagree about what happened, and nothing surfaces the contradiction.

Inject failure. Let it recover. Prove the outcome.

ChaosLab sits between a chaos-engineering tool and the application under test, correlating what actually happened against a declarative definition of what should have happened.

Chaos Mesh injects controlled failure
Distributed Application e.g. Online Boutique
Recovery system self-heals / restarts
ChaosLab observes & analyzes
Evidence Correlation logs, DB state, traces
Declarative Oracle expected business invariants
Recovery Correctness Verdict PASS / FAIL + evidence

What ChaosLab actually does

Fault injection is supporting infrastructure. These are the parts that make recovery correctness verifiable.

§

Declarative Recovery Oracles

Business-level invariants — "an order's payment and inventory state must always agree" — expressed declaratively, not hard-coded per test.

⋈

Evidence Correlation

Logs, database snapshots, and OpenTelemetry traces are correlated across services to reconstruct exactly what happened during recovery.

✓

Business Invariant Verification

Checks outcomes against real business rules, not just HTTP status codes or pod readiness.

⚡

Controlled Fault Experiments

Reproducible failure scenarios — network partitions, pod kills, latency injection — driven through Chaos Mesh.

⚑

Ground-Truth Mutation Testing

Deliberately broken recovery paths validate that ChaosLab's oracles actually detect incorrect state, not just healthy ones.

▤

Recovery Correctness Reports

A structured PASS/FAIL verdict backed by the evidence trail that produced it — auditable, not a black box.

How the pieces fit together

A birds-eye view of the ChaosLab system. See the full breakdown on the Architecture page.

User
ChaosLab API
Experiment Manager
Oracle Engine
Evidence Collector
Correlation Engine
Verdict Generator
External Systems
Chaos Mesh Online Boutique Database Logs OpenTelemetry

Who's building this

AS

Arjan Singh Sawhney

1024170074
HG

Himanshi Gupta

1024170079
HM

Harsith Mahay

1024170075
PS

Parth Singh

1024170086

A working MVP, built on the plan

The planned engine now exists as a multi-user web platform. Here is what it does today — and what it deliberately does not.

▤

Web platform

Accounts, an application registry, experiment configuration, live monitoring, Oracle results and downloadable reports.

§

Verification Oracle

Declarative invariants checked against collected evidence, giving PASS / FAIL / SKIPPED / NOT APPLICABLE per invariant. The same Oracle judges simulated and live runs.

⚡

Real fault experiments

Curated Chaos Mesh experiments (pod kills, network faults) against Online Boutique and further demo applications, with recovery tracking, probes and OpenTelemetry/Jaeger traces.

⇄

Bring your own cluster

A ChaosLab agent runs next to your cluster and connects outbound over HTTPS. It runs the job, returns raw evidence, and the server's Oracle makes the verdict — the agent's own verdict is never trusted.

✓

Safety controls

One-time enrollment tokens, an explicit allow-list of namespaces, a per-cluster emergency stop that removes the running fault, and an append-only audit log.

⚑

Sandboxed uploads

Uploaded Kubernetes manifests are inspected before storage. Deploying them is fail-closed: refused until an isolated tenant runtime passes its preflight check.

Simulated mode runs anywhere with no cluster. Live mode needs kubectl access to a cluster with Chaos Mesh installed. Source: github.com/V0L1TUDE/ChaosLab-Platform.

Planning
Online MVP
Evaluation

The recovery-correctness engine and its web platform are built and working as an MVP. Work continues on broader experiment coverage, hardening, and evaluating how well the Oracle catches incorrect recovery. This website itself is a separate project site: it documents the plan and publishes our presentations, and is not the analysis engine.