Files
ruflo/docker-test/docker-compose.test.yml
T
rUvandClaude af1c8a7c72 feat: implement hive-mind resume functionality (#245)
* fix: update hooks format for Claude Code 1.0.51+ compatibility

- Changed hooks from object format to array format (PreToolUse, PostToolUse, Stop)
- Added migration script for existing users
- Updated settings.json template in init command
- Removed unsupported fields (mcpServers, features, performance)
- Added @alpha tag to npx commands in hooks

Fixes #235

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: implement hive-mind resume functionality (alpha.50)

- Add HiveMindSessionManager for session persistence
- Implement auto-save middleware with 30-second intervals
- Add 'hive-mind resume <session-id>' command
- Add 'hive-mind sessions' command to list sessions
- Integrate session tracking into spawn workflow
- Add comprehensive test suite (80+ tests)
- Update documentation and fix README
- Bump version to 2.0.0-alpha.50

Fixes #232

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>

* chore: bump version to 2.0.0-alpha.51

- Update version strings in all CLI files
- Prepare for npm publication

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-14 10:56:09 -04:00

105 lines
3.1 KiB
YAML

version: '3.8'
services:
# Node.js 18 Test Environment
test-node18:
build:
context: ..
dockerfile: docker-test/test-pr228.dockerfile
args:
NODE_VERSION: 18
container_name: claude-flow-test-node18
environment:
- NODE_ENV=test
- CI=true
- TEST_NODE_VERSION=18
volumes:
- ../test-results:/app/test-results
- ../coverage:/app/coverage
command: >
sh -c "
echo '=== Testing PR #228 on Node.js 18 ===' &&
/app/healthcheck.sh &&
echo '=== Running TypeScript compilation check ===' &&
npm run typecheck &&
echo '=== Running Jest test suite ===' &&
npm test -- --coverage --ci --testTimeout=60000 --maxWorkers=2 --outputFile=/app/test-results/node18-results.json &&
echo '=== Node.js 18 tests completed ==='
"
# Node.js 20 Test Environment
test-node20:
build:
context: ..
dockerfile: docker-test/test-pr228.dockerfile
args:
NODE_VERSION: 20
container_name: claude-flow-test-node20
environment:
- NODE_ENV=test
- CI=true
- TEST_NODE_VERSION=20
volumes:
- ../test-results:/app/test-results
- ../coverage:/app/coverage
command: >
sh -c "
echo '=== Testing PR #228 on Node.js 20 ===' &&
/app/healthcheck.sh &&
echo '=== Running TypeScript compilation check ===' &&
npm run typecheck &&
echo '=== Running Jest test suite ===' &&
npm test -- --coverage --ci --testTimeout=60000 --maxWorkers=2 --outputFile=/app/test-results/node20-results.json &&
echo '=== Node.js 20 tests completed ==='
"
# Node.js 22 Test Environment
test-node22:
build:
context: ..
dockerfile: docker-test/test-pr228.dockerfile
args:
NODE_VERSION: 22
container_name: claude-flow-test-node22
environment:
- NODE_ENV=test
- CI=true
- TEST_NODE_VERSION=22
volumes:
- ../test-results:/app/test-results
- ../coverage:/app/coverage
command: >
sh -c "
echo '=== Testing PR #228 on Node.js 22 ===' &&
/app/healthcheck.sh &&
echo '=== Running TypeScript compilation check ===' &&
npm run typecheck &&
echo '=== Running Jest test suite ===' &&
npm test -- --coverage --ci --testTimeout=60000 --maxWorkers=2 --outputFile=/app/test-results/node22-results.json &&
echo '=== Node.js 22 tests completed ==='
"
# Summary service to aggregate results
test-summary:
image: node:20-alpine
container_name: claude-flow-test-summary
depends_on:
- test-node18
- test-node20
- test-node22
volumes:
- ../test-results:/app/test-results
- ../docker-test:/app/scripts
working_dir: /app
command: >
sh -c "
echo '=== PR #228 Test Summary ===' &&
echo 'Node.js Version | Test Status | TypeCheck | Coverage' &&
echo '----------------|-------------|-----------|----------' &&
echo 'Generating comprehensive test report...' &&
node /app/scripts/generate-test-report.js
"
volumes:
test-results:
coverage: