- session_manager.py: InteractiveSession + SessionManager (PTY Python/C, bounded output buffer, delta cursor, sweeper, semaphore compile max 2, limit 50 sesi) - app.py: hybrid — endpoint batch /execute lama dipertahankan + endpoint sesi baru (POST /sessions, GET delta output, POST input, DELETE stop) + health - Dockerfile: gunicorn gthread 1 worker/32 thread (registry in-memory aman) - routes/compile.py: proxy Flask /compile/sessions + anon slot lifecycle + rate limit - podman-compose.yml: env COMPILER_WORKER_BASE_URL - tests: test_session_manager.py (baru) + test_app.py + services/tests/test_compile_sessions.py |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auth.py | ||
| compile.py | ||
| help.py | ||
| lessons.py | ||
| progress.py | ||