refactor: remove all workspace_id references from codebase
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled

- Remove workspace_id from Pydantic models in project_management routes
- Remove workspace_id from SQLAlchemy and SQLite project management repos
- Remove workspace_id from worker tasks (storage keys, entity creation)
- Remove workspace_id from video dedup and title usage modules
- Remove workspace_id from generation and ingest worker tasks
- Clean workspace_id from all test files and scripts
- Remove workspace-specific test files (list_workspaces, workspace repos)

Task: #14 workspace_id 残留清理
This commit is contained in:
API文档维护Agent
2026-06-27 22:52:09 +08:00
parent 8d4677ddee
commit e3fb518ab2
84 changed files with 56 additions and 2986 deletions
-2
View File
@@ -29,7 +29,6 @@ def create_milestone(name, target_date, description=""):
"name": name,
"target_date": target_date,
"project_id": PROJECT_ID,
"workspace_id": WORKSPACE_ID,
"description": description,
}
resp = requests.post(f"{API_BASE}/project-management/milestones", json=payload)
@@ -47,7 +46,6 @@ def create_task(name, description, priority="medium", status="pending", progress
"name": name,
"description": description,
"project_id": PROJECT_ID,
"workspace_id": WORKSPACE_ID,
"priority": priority,
}
resp = requests.post(f"{API_BASE}/project-management/tasks", json=payload)