Files
headquarter/apps/api/tests/.pi-map.index.md
T
alex 10955dfe8e fix(tool): stop defaulting manifest working_dir to /workspace
The /workspace compatibility symlink was removed from the manifest
compiler/entrypoint in 3e59a25. Tool definitions that still set
runtime.working_dir to /workspace therefore start in an empty directory
instead of /home/user/{repo_name}.

- manifest-editor.tsx: default working_dir to empty instead of /workspace;
  update startup-script placeholder to reference /home/alex/.
- Add Alembic migration 2026_06_19_113000 that clears the stale
  runtime.working_dir = /workspace from the built-in pi-agent manifest.
- Add migration import test.

Quality gates: pytest tests/api tests/services/test_terminal_manager_multi.py tests/unit (248 passed), ruff check (clean), npx tsc --noEmit (clean), eslint (clean).
2026-06-19 12:10:42 +02:00

1.3 KiB

apps/api/tests (index)

dir: apps/api/tests

role

Provides shared pytest fixtures and test utilities for FastAPI application testing

parent

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

children

  • apps/api/tests/api index: apps/api/tests/api/.pi-map.index.md map: apps/api/tests/api/.pi-map.md
  • apps/api/tests/integration index: apps/api/tests/integration/.pi-map.index.md map: apps/api/tests/integration/.pi-map.md
  • apps/api/tests/services index: apps/api/tests/services/.pi-map.index.md map: apps/api/tests/services/.pi-map.md
  • apps/api/tests/system index: apps/api/tests/system/.pi-map.index.md map: apps/api/tests/system/.pi-map.md
  • apps/api/tests/test_routers index: apps/api/tests/test_routers/.pi-map.index.md map: apps/api/tests/test_routers/.pi-map.md
  • apps/api/tests/tools index: apps/api/tests/tools/.pi-map.index.md map: apps/api/tests/tools/.pi-map.md
  • apps/api/tests/unit index: apps/api/tests/unit/.pi-map.index.md map: apps/api/tests/unit/.pi-map.md

files

  • conftest.py

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

workflows

  • change tests behavior read: conftest.py
  • explore tests subdirectories index: apps/api/tests/api/.pi-map.index.md, apps/api/tests/integration/.pi-map.index.md, apps/api/tests/services/.pi-map.index.md

dirty