Files
headquarter/apps/api/tests/integration/.pi-map.index.md
T
Developer ddd92e3dd4 feat: implement configurable tool container home directory
- Add ToolType.home_directory column with default /home/user
- Add Alembic migration to add column, set existing rows, and rewrite
  /workspace to /home/user/{{WORKSPACE_NAME}} in legacy templates
- Add merge migration fc8f1a20cbf6 to resolve Alembic multiple heads
- Update manifest compiler to honor manifest.home_directory for HOME,
  WORKDIR, /workspace symlink, and default repo mount target
- Update legacy dockerfile/compose instance generation to use
  tool_type.home_directory
- Thread resolved home_dir through config profile and git mount expansion
- Generate entrypoint permission fixer to chown home/mounts at startup
- Update base.dockerfile with sudo/passwordless sudo for permission fixer
- Add unit tests for manifest compiler, instance service, and migrations
- Add placeholder integration test for container lifecycle
- Update openspec/tasks/home-path-expansion.md task checkboxes
- Update project maps for modified files

Quality gates: py_compile, ruff, mypy, pytest tests/unit (205 passed),
pytest tests/integration (110 passed, 35 skipped). Alembic round-trip
and container lifecycle integration tests require Docker/PostgreSQL.
2026-06-14 13:09:41 +00:00

1.1 KiB

apps/api/tests/integration (index)

dir: apps/api/tests/integration

role

Integration and unit test suite for the API backend, covering authentication, CRUD APIs, workspace operations, git integration, notifications, and database model validation against real PostgreSQL and mocked dependencies.

parent

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

children

files

  • __init__.py
  • test_auth_api.py
  • test_auth_services.py
  • test_config_profiles_api.py
  • test_events.py
  • test_git_control.py
  • test_models.py
  • test_notifications_api.py
  • test_notifications_lifecycle.py
  • test_projects_api.py
  • test_seed.py
  • test_ssh_keys_api.py
  • test_tool_instance_lifecycle.py
  • test_tool_types_api.py
  • test_tool_types_api_extended.py
  • test_users_api.py
  • test_workspace_files.py
  • test_workspace_git.py
  • test_workspace_instances.py
  • test_workspaces_api.py

index: apps/api/tests/integration/.pi-map.index.md map: apps/api/tests/integration/.pi-map.md

workflows

  • change integration behavior read: __init__.py, test_auth_api.py, test_auth_services.py
  • change integration config read: test_config_profiles_api.py

dirty