Files
headquarter/apps/api/tests/unit/.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.5 KiB

apps/api/tests/unit (index)

dir: apps/api/tests/unit

role

Contains isolated unit tests for individual components of the API application, covering configuration, services, utilities, and core business logic without external dependencies.

parent

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

children

  • apps/api/tests/unit/.ruff_cache index: apps/api/tests/unit/.ruff_cache/.pi-map.index.md map: apps/api/tests/unit/.ruff_cache/.pi-map.md

files

  • __init__.py
  • test_alembic_migrations.py
  • test_config.py
  • test_config_profile_resolver.py
  • test_docker_build.py
  • test_docker_service.py
  • test_event_bus.py
  • test_file_service.py
  • test_git_operations.py
  • test_git_service.py
  • test_git_url_parser.py
  • test_health_monitor.py
  • test_home_path_expansion.py
  • test_instance_service.py
  • test_lifecycle_hooks.py
  • test_manifest_compiler.py
  • test_migration_metadata.py
  • test_monitoring_models.py
  • test_notification_service.py
  • test_notifications_api_routes.py
  • test_permission_fixer.py
  • test_readiness_probe.py
  • test_ssh_keys.py
  • test_terminal_container_user.py
  • test_terminal_session.py

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

workflows

  • change unit behavior read: __init__.py, test_alembic_migrations.py, test_config.py
  • change unit config read: test_config.py, test_config_profile_resolver.py
  • explore unit subdirectories index: apps/api/tests/unit/.ruff_cache/.pi-map.index.md

dirty