fix: include project_name in /workspaces list response

- The top-level GET /workspaces endpoint was returning project_name as
  an empty string because the GitRepository.project relationship was not
  eager-loaded.
- Select the full GitRepository entity and apply selectinload(project)
  so project_name is populated for every workspace row.

Backend quality gates: python3 -m pytest 313 passed, 34 skipped.
This commit is contained in:
Developer
2026-06-13 19:59:13 +00:00
parent d60dec9d62
commit d247e44985
12 changed files with 25 additions and 26 deletions
+2 -2
View File
@@ -4,10 +4,10 @@ dir: apps
index: apps/.pi-map.index.md
## role
Contains the main application entry points and executable modules for the project.
Container directory for all deployable application targets in the monorepo.
## files
## arch
Modular application structure with separate deployable units, likely following a monorepo pattern with independent app configurations.
Monorepo workspace structure where each subdirectory represents an independently deployable application sharing common libraries and tools.
## tags
-
## symbols