mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
2e8642030b
🎯 Test Suite Stabilization - 94.2% Pass Rate Achieved! This release represents a major quality milestone with systematic test stabilization that increased the unit test pass rate from 71.1% (619/870) to 94.2% (903/959), exceeding the 90% goal set in GitHub issue #33. Major Changes: - Fixed all TypeScript compilation errors blocking release - Created batched integration test script to prevent OOM crashes - Documented integration test memory leak root cause (issue #35) - Enhanced mock infrastructure for better test reliability - Updated release verification policies in CLAUDE.md TypeScript Fixes: - Fixed TestGeneratorAgent AgentCapability structure (4 errors) - Rewrote Database mock with proper type casting (36 methods) - Rewrote LearningEngine mock with proper type casting - Excluded __mocks__ from TypeScript compilation Test Infrastructure: - Created scripts/test-integration-batched.sh for safe execution - Batches 46 integration tests (5 files at a time) - Prevents workspace crashes in constrained environments - Updated package.json test:integration to use batched script Memory Leak Investigation: - Root cause: MemoryManager setInterval leak (138 timers) - Missing cleanup in 31 of 46 integration tests - Database connection pool exhaustion (23 instances) - Documented in GitHub issue #35 for v1.4.4 fix Release Verification: - aqe init: 19 agents, 34 skills, 8 commands ✅ - Databases: memory.db (221KB), patterns.db (155KB) ✅ - MCP interface: 54 tools functional ✅ - Fleet startup: 5 agents running successfully ✅ Files Changed: - Modified: 40 files (tests, mocks, core agents) - New: 2 files (batched script, LearningEngine mock) - Version: 1.4.2 → 1.4.3 Closes #33 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "Basic Development DevPod",
|
|
"image": "mcr.microsoft.com/devcontainers/base:debian12",
|
|
"runArgs": [
|
|
"--privileged",
|
|
"--memory=8g",
|
|
"--memory-swap=12g",
|
|
"--memory-reservation=4g",
|
|
"--cpus=4",
|
|
"--oom-kill-disable=false",
|
|
"--memory-swappiness=60"
|
|
],
|
|
"containerEnv": {
|
|
"NODE_OPTIONS": "--max-old-space-size=2048 --expose-gc",
|
|
"CLAUDE_FLOW_MAX_AGENTS": "10",
|
|
"CLAUDE_FLOW_MEMORY_LIMIT": "512",
|
|
"CLAUDE_FLOW_TOPOLOGY": "sequential",
|
|
"ENABLE_MEMORY_MONITORING": "true",
|
|
"MEMORY_CHECK_INTERVAL": "5000",
|
|
"AGENT_MEMORY_LIMIT_MB": "512",
|
|
"MAX_CONCURRENT_AGENTS": "10",
|
|
"ENABLE_AGENT_QUEUE": "true",
|
|
"MEMORY_PRESSURE_THRESHOLD": "0.85",
|
|
"FORCE_GC_INTERVAL": "60000"
|
|
},
|
|
"remoteUser": "vscode",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
"ghcr.io/devcontainers/features/node:1": {},
|
|
"ghcr.io/devcontainers/features/python:1": {}
|
|
},
|
|
"hostRequirements": {
|
|
"memory": "8gb",
|
|
"cpus": 4,
|
|
"storage": "48gb"
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"rooveterinaryinc.roo-cline",
|
|
"vsls-contrib.gistfs",
|
|
"github.copilot",
|
|
"github.copilot-chat",
|
|
"anthropic.claude-code",
|
|
"codeflow-studio.claude-code-extension",
|
|
"suzuki0430.ccusage-vscode"
|
|
]
|
|
}
|
|
},
|
|
"postCreateCommand": "bash .devcontainer/setup-memory.sh && bash .devcontainer/install-tools.sh",
|
|
"shutdownAction": "none",
|
|
"mounts": [
|
|
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
|
],
|
|
"capAdd": [
|
|
"SYS_ADMIN",
|
|
"SYS_PTRACE"
|
|
]
|
|
} |