c26e9eacfa
- Delete dead repo-workspace code: RepoWorkspacePage, useRepoWorkspace, WorkspaceLayout, FileBrowser, old git components (git-toolbar, file-editor, commit-panel), and repo-workspace.css. - Fix stale backend test imports for moved models/services. - Add GitOperations unit tests. - Add integration tests for workspace files, git, and instances endpoints. - Add frontend tests for WorkspaceDetailPage and ProjectCard. - Update OpenSpec workspace-first-ui tasks and mark change completed. - Regenerate project maps. Quality gates: npm run typecheck, npm run lint, npm test -- --run (87 passed), python3 -m py_compile on changed backend files, pytest backend workspace tests.
47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
# apps/api/tests/unit (index)
|
|
dir: apps/api/tests/unit
|
|
|
|
## role
|
|
Unit test suite for the API backend, covering configuration, Docker operations, Git services, file handling, health monitoring, notifications, and SSH key management.
|
|
## parent
|
|
index: apps/api/tests/.pi-map.index.md
|
|
map: apps/api/tests/.pi-map.md
|
|
## children
|
|
-
|
|
## files
|
|
- __init__.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_mount_resolution.py
|
|
- test_git_mounts.py
|
|
- test_git_operations.py
|
|
- test_git_repository_clone_preflight.py
|
|
- test_git_repository_working_clones.py
|
|
- test_git_service.py
|
|
- test_git_url_parser.py
|
|
- test_health_monitor.py
|
|
- test_home_path_expansion.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
|
|
## links
|
|
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_config.py, test_config_profile_resolver.py
|
|
- change unit config
|
|
read: test_config.py, test_config_profile_resolver.py
|
|
## dirty
|
|
-
|