From 77db9f62316a6982100627bec43c76374efd7cbf Mon Sep 17 00:00:00 2001 From: tegwick Date: Fri, 3 Oct 2025 10:25:33 +0200 Subject: [PATCH] refactor: organize chaos test runner into tools directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move chaos_test_runner.py to tools/ directory for better project organization and update all Makefile targets to reference the new location. This improves the project structure by keeping specialized tools separate from main code. Changes: - Move chaos_test_runner.py to tools/chaos_test_runner.py - Update Makefile chaos-* targets to use tools/ path - Maintain all existing functionality and CLI interface 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- Makefile | 8 ++++---- chaos_test_runner.py => tools/chaos_test_runner.py | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename chaos_test_runner.py => tools/chaos_test_runner.py (100%) diff --git a/Makefile b/Makefile index 7afdca3a..48a147b8 100644 --- a/Makefile +++ b/Makefile @@ -254,11 +254,11 @@ release-dry-run: # Chaos Engineering targets chaos-validate: @echo "🔥 Running architectural independence validation..." - $(VENV_PYTHON) chaos_test_runner.py validate-independence + $(VENV_PYTHON) tools/chaos_test_runner.py validate-independence chaos-matrix: @echo "🏗️ Showing architectural dependency matrix..." - $(VENV_PYTHON) chaos_test_runner.py dependency-matrix + $(VENV_PYTHON) tools/chaos_test_runner.py dependency-matrix chaos-inject: @echo "💥 Injecting chaos into layer..." @@ -266,11 +266,11 @@ chaos-inject: echo "❌ Usage: make chaos-inject LAYER=L1_Presentation TYPE=import_failure"; \ exit 1; \ fi - $(VENV_PYTHON) chaos_test_runner.py inject-layer-failure --layer $(LAYER) $(if $(TYPE),--injection-type $(TYPE)) + $(VENV_PYTHON) tools/chaos_test_runner.py inject-layer-failure --layer $(LAYER) $(if $(TYPE),--injection-type $(TYPE)) chaos-report: @echo "📄 Generating chaos engineering report..." - $(VENV_PYTHON) chaos_test_runner.py chaos-report + $(VENV_PYTHON) tools/chaos_test_runner.py chaos-report # Code linting lint: $(VENV)/bin/activate diff --git a/chaos_test_runner.py b/tools/chaos_test_runner.py similarity index 100% rename from chaos_test_runner.py rename to tools/chaos_test_runner.py