Files
headquarter/apps/api/.pi-map.index.md
T
Developer 8f648264f1 fix: surface real workspace creation errors instead of generic 409
The create-workspace endpoints caught every exception and returned 409
"Workspace name already exists", hiding the actual failure (e.g. git
clone errors, remote URL problems, or filesystem issues).

- Distinguish ValueError -> 400, unexpected exceptions -> 500 with detail
- Preserve HTTPException re-raise for existing FastAPI error paths

Quality gates:
- pytest tests/unit: 219 passed
- mypy: clean on changed files
2026-06-15 09:46:55 +00:00

1.3 KiB

apps/api (index)

dir: apps/api

role

Self-hosted FastAPI backend API that manages projects, git repositories, and development tools by orchestrating Docker instances with database persistence.

parent

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

children

  • apps/api/.mypy_cache index: apps/api/.mypy_cache/.pi-map.index.md map: apps/api/.mypy_cache/.pi-map.md
  • apps/api/.pi-lens index: apps/api/.pi-lens/.pi-map.index.md map: apps/api/.pi-lens/.pi-map.md
  • apps/api/.pytest_cache index: apps/api/.pytest_cache/.pi-map.index.md map: apps/api/.pytest_cache/.pi-map.md
  • apps/api/.ruff_cache index: apps/api/.ruff_cache/.pi-map.index.md map: apps/api/.ruff_cache/.pi-map.md
  • apps/api/.venv-test index: apps/api/.venv-test/.pi-map.index.md map: apps/api/.venv-test/.pi-map.md
  • apps/api/alembic index: apps/api/alembic/.pi-map.index.md map: apps/api/alembic/.pi-map.md
  • apps/api/src index: apps/api/src/.pi-map.index.md map: apps/api/src/.pi-map.md
  • apps/api/tests index: apps/api/tests/.pi-map.index.md map: apps/api/tests/.pi-map.md
  • apps/api/uploads index: apps/api/uploads/.pi-map.index.md map: apps/api/uploads/.pi-map.md

files

  • .dockerignore
  • Dockerfile
  • README.md
  • alembic.ini
  • pyproject.toml
  • uv.lock
  • wait-for-db.sh

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

workflows

dirty