Files
headquarter/apps/.pi-map.index.md
T
alex b32fea671f fix(terminal): avoid lazy-loading tool manifest in async websocket handler
The container-user resolver introduced in 9f72093 accessed
'tool_type.manifest', which triggers a SQLAlchemy lazy load inside the
async WebSocket coroutine and raises MissingGreenlet. Fetch the manifest
explicitly with db_session.get() instead, matching the pattern used in
instance_service.py.

- Replace relationship access with explicit async loads in
  _resolve_container_user().
- Add unit tests covering manifest, base-definition, legacy, and missing
  manifest cases.
- Update project map artifacts.

Quality gates: pytest tests/api tests/services/test_terminal_manager_multi.py tests/unit (247 passed), ruff check (clean).
2026-06-19 11:48:53 +02:00

425 B

apps (index)

dir: apps

role

Contains the main application entry points and executable components for the project

parent

index: ./.pi-map.index.md map: ./.pi-map.md

children

  • apps/api index: apps/api/.pi-map.index.md map: apps/api/.pi-map.md
  • apps/web index: apps/web/.pi-map.index.md map: apps/web/.pi-map.md

files

index: apps/.pi-map.index.md map: apps/.pi-map.md

workflows

dirty