chore: add diagnostic logging around workspace git clone

The workspace creation endpoint returns 500 but the actual error is not
visible. Add explicit error logging when GitService.clone fails and info
logging when git creates a directory name different from the one derived
from the remote URL.

Quality gates:
- pytest tests/unit: 219 passed
- mypy: clean on changed files
This commit is contained in:
Developer
2026-06-15 10:04:34 +00:00
parent 8f648264f1
commit 83928d0f02
13 changed files with 47 additions and 23 deletions
+2 -2
View File
@@ -4,11 +4,11 @@ dir: apps/api/src/services
index: apps/api/src/services/.pi-map.index.md
## role
Service layer package for business logic implementation in the API application
This package serves as a Python namespace marker for the services layer in the API application, indicating a modular architecture where business logic services are organized as a subpackage.
## files
- __init__.py | Empty file with no functionality
## arch
Standard Python package structure with placeholder for service-oriented architecture; currently uninitialized with no implemented services
Standard Python package structure using __init__.py for namespace declaration, following conventional layered architecture with services separated into their own directory for future dependency injection and domain logic encapsulation.
## tags
init, empty, functionality
## symbols