chore: remove Docker test files - use local testing instead

Docker Desktop removed from system. Evolution testing uses local bun runtime.

Local testing approach:
- Uses bun runtime (already installed)
- Millisecond precision timing
- Fitness calculation with 2 decimal places
- Works without Docker/WSL2

Usage:
  powershell: docker/evolution-test/run-local-test.bat feature
  bash: ./docker/evolution-test/run-local-test.sh feature

Tests verified:
  - 54/54 tests pass (100%)
  - Time: 214.16ms precision
  - Fitness: 1.00 (PASS)
This commit is contained in:
¨NW¨
2026-04-06 01:34:24 +01:00
parent 8e492ffa90
commit b5c5f5ba82
6 changed files with 0 additions and 662 deletions

View File

@@ -1,88 +0,0 @@
# Evolution Test Containers
# Run multiple workflow tests in parallel
version: '3.8'
services:
# Evolution test runner for feature workflow
evolution-feature:
build:
context: ../..
dockerfile: docker/evolution-test/Dockerfile
container_name: evolution-feature
environment:
- WORKFLOW_TYPE=feature
- TOKEN_BUDGET=50000
- TIME_BUDGET=300
- MIN_COVERAGE=80
volumes:
- ../../.kilo/logs:/app/.kilo/logs
- ../../src:/app/src
command: bun test --reporter=json --coverage
# Evolution test runner for bugfix workflow
evolution-bugfix:
build:
context: ../..
dockerfile: docker/evolution-test/Dockerfile
container_name: evolution-bugfix
environment:
- WORKFLOW_TYPE=bugfix
- TOKEN_BUDGET=20000
- TIME_BUDGET=120
- MIN_COVERAGE=90
volumes:
- ../../.kilo/logs:/app/.kilo/logs
- ../../src:/app/src
command: bun test --reporter=json --coverage
# Evolution test runner for refactor workflow
evolution-refactor:
build:
context: ../..
dockerfile: docker/evolution-test/Dockerfile
container_name: evolution-refactor
environment:
- WORKFLOW_TYPE=refactor
- TOKEN_BUDGET=40000
- TIME_BUDGET=240
- MIN_COVERAGE=95
volumes:
- ../../.kilo/logs:/app/.kilo/logs
- ../../src:/app/src
command: bun test --reporter=json --coverage
# Evolution test runner for security workflow
evolution-security:
build:
context: ../..
dockerfile: docker/evolution-test/Dockerfile
container_name: evolution-security
environment:
- WORKFLOW_TYPE=security
- TOKEN_BUDGET=30000
- TIME_BUDGET=180
- MIN_COVERAGE=80
volumes:
- ../../.kilo/logs:/app/.kilo/logs
- ../../src:/app/src
command: bun test --reporter=json --coverage
# Fitness aggregator - collects results from all containers
fitness-aggregator:
image: oven/bun:1
container_name: fitness-aggregator
depends_on:
- evolution-feature
- evolution-bugfix
- evolution-refactor
- evolution-security
volumes:
- ../../.kilo/logs:/app/.kilo/logs
working_dir: /app
command: |
sh -c "
echo 'Aggregating fitness scores...'
cat .kilo/logs/fitness-history.jsonl | tail -4 > .kilo/logs/fitness-latest.jsonl
echo 'Fitness aggregation complete.'
"