Orchestrata Ultimate › Sessions › Session 135
Session 135
| Field | Value |
|---|---|
| Session | 135 (2 records) |
| Date | 2026-05-26 03:49 |
| Model | Claude Opus 4.5 |
| Length | 0h 0m |
| Tag | session-135-2026-05-26-0349 |
| Source | archive (context.history.md) |
‹ previous · next › · range page · timeline
Prose pending.
Record 1 — 2026-05-26 03:49 · Claude Opus 4.5 · archive (context.history.md)
Purpose
Fix last parallel-flaky tests after Prolog migration
Objectives
- Fix memory tests Redis DB isolation (redis_db=14 → _worker_redis_db())
- Fix kernel tests worker crashes from janus-swi/pyswip state conflict
- Verify full test suite passes in parallel
Work log
- Fixed memory test Redis isolation at 2026-05-26 03:49
Details:
- tests/memory/test_hot_store.py: switched fixture from redis_db=14 to _worker_redis_db()
- tests/memory/test_memory_engine.py: switched fixture from redis_db=14 to _worker_redis_db()
- Fixed kernel test worker crashes at 2026-05-26 03:49
Details:
- Root cause: SpikeKernel (pyswip) and real_prolog_bridge (janus-swi) conflict when interleaved on same xdist worker
- Added --dist=loadfile to pyproject.toml addopts to keep each test file on one worker
- Prevents cross-file SWI-Prolog state corruption
- Verified full test suite at 2026-05-26 03:49
Details:
- Full suite: 18083 passed, 0 failed, 122 warnings in 195.75s
- Memory tests: 242 passed consistently
- Kernel tests: 1247 passed consistently
Achievements
- Memory tests: per-worker Redis DB isolation fixed
- Kernel tests: --dist=loadfile prevents janus/pyswip worker crashes
- Full suite clean: 18083 passed, 0 failed under pytest -n auto
Upcoming
- Commit all test-fix changes to git
- Consider deeper janus-swi/pyswip unification (PrologGate → PrologEngine)
Record 2 — 2026-05-26 03:49 · Claude Opus 4.5 · archive (context.history.md)
Purpose
Fix last parallel-flaky tests after Prolog migration
Objectives
- Fix memory tests Redis DB isolation (redis_db=14 → _worker_redis_db())
- Fix kernel tests worker crashes from janus-swi/pyswip state conflict
- Verify full test suite passes in parallel
Work log
- Fixed memory test Redis isolation
- tests/memory/test_hot_store.py: switched fixture from redis_db=14 to _worker_redis_db()
- tests/memory/test_memory_engine.py: switched fixture from redis_db=14 to _worker_redis_db()
- Fixed kernel test worker crashes
- Root cause: SpikeKernel (pyswip) and real_prolog_bridge (janus-swi) conflict when interleaved on same xdist worker
- Added --dist=loadfile to pyproject.toml addopts to keep each test file on one worker
- Prevents cross-file SWI-Prolog state corruption
- Verified full test suite
- Full suite: 18083 passed, 0 failed, 122 warnings in 195.75s
- Memory tests: 242 passed consistently
- Kernel tests: 1247 passed consistently
Achievements
- Memory tests: per-worker Redis DB isolation fixed
- Kernel tests: --dist=loadfile prevents janus/pyswip worker crashes
- Full suite clean: 18083 passed, 0 failed under pytest -n auto
Upcoming
- Commit all test-fix changes to git
- Consider deeper janus-swi/pyswip unification (PrologGate → PrologEngine)