mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-19 12:17:02 +00:00
Replace in-memory array storage with persistent file-based logging:
- Logs written to /tmp/ollama37-session-{timestamp}.log
- Text markers: ===MARKER:START:{ID}:{TIMESTAMP}=== for test boundaries
- Extract test-specific logs via sed to /tmp/test-{ID}-logs.txt
- Write queue prevents race conditions between log data and markers
- Line buffering prevents marker injection mid-line
- Auto-cleanup of session files older than 24 hours
Benefits:
- Crash resilient: logs persist even if test process dies
- Bounded memory: no array growth, only file I/O
- Precise boundaries: text markers unaffected by buffering delays
API unchanged - all existing integrations (executor, cli, test cases) work without modification.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Documentation
Getting Started
- Quickstart
- Examples
- Importing models
- MacOS Documentation
- Linux Documentation
- Windows Documentation
- Docker Documentation