Blueprint for chaos#109
Open
gloskull wants to merge 2 commits into
Open
Conversation
…blueprint Add staging chaos engineering blueprint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
src/chaos.rsthat defines constants,ServiceSurface,FaultKind,RolloutPhase,ChaosExperiment,ChaosHealthSnapshot, a canonicalSTAGING_CHAOS_EXPERIMENTScatalog, andnext_rollout_phaseand safety-gate helpers.pub mod chaos;insrc/lib.rsso the catalog and helpers are available to off-chain tooling.docs/chaos-engineering-staging.mddescribing architecture, scope, safety gates, monitoring/alerting, blue-green/canary flow, and a runbook.src/chaos.rsthat validate catalog coverage, safety-gate behavior, and rollout progression.Testing
cargo test chaoswhich executed the chaos module unit testscatalog_covers_every_service_surface_with_safe_blast_radius,safety_gate_enforces_latency_availability_security_and_canary_burn, androllout_phase_advances_through_blue_green_and_canary, and all passed.chaos_50k_transactions_block_matches_top_fee_per_gas_subject_to_gas_limitand it passed.Closes #80