Files
poimen-memory/docker-compose.test.yml
T
rock d0008932aa
CI / CI (pull_request) Canceled after 2m57s
test: verify all migrations locally with fresh database
Local test completed on PostgreSQL 18 with memory_test database:

✓ Schema Verification:
  - 20 tables created (14 core + 5 agent memory + 1 misc)
  - agent_prompt, agent_skill, agent_decision, agent_registry tables present
  - 20 indexes across agent tables

✓ Data Ingestion:
  - 3 agent prompts ingested (contract-review, compat-check, sdk-generation)
  - 3 role-to-prompt mappings created (api-platform-engineer role)
  - 3 prompt usage logs recorded with quality metrics

✓ Retrieval Queries:
  - Role-based prompt lookup working (api-platform-engineer → 3 prompts)
  - Task category filtering working (extraction, reasoning, generation)
  - Quality metrics aggregation working (avg 0.88 quality)
  - Usage tracking functional (token counts, duration, quality scores)

All 4 migrations applied successfully:
  001_init_schema.sql ✓
  002_m8_2_dual_write_chunks.sql ✓
  003_workflows_schema.sql ✓
  004_agent_memory_schema.sql ✓

Status: READY FOR PRODUCTION DEPLOYMENT
2026-09-15 00:29:41 +09:00

22 lines
432 B
YAML

version: '3.8'
services:
postgres-test:
image: postgres:16-alpine
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: testpass
POSTGRES_DB: memory
ports:
- "5433:5432"
volumes:
- postgres-test-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U app -d memory"]
interval: 2s
timeout: 5s
retries: 10
volumes:
postgres-test-data: