refactor: workspace_id 残留清理 - 移除所有 workspace_id 引用 #62
Reference in New Issue
Block a user
Delete Branch "cleanup/workspace-id-removal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更内容
移除 workspace_id 残留引用
API 路由层:
project_management.py— 移除 Pydantic 模型中 6 处 workspace_id 字段,移除 use case 调用和响应构造中的 workspace_idRepository 层:
sqlalchemy_impl/project_management_repositories.py— 移除 Task/Milestone/TaskIssue 实体转换中的 workspace_idsqlite_tracker/project_management_repositories.py— 移除硬编码的 workspace_idWorker 层:
tasks.py— 移除 storage key 中的 workspace 路径前缀,移除 GeneratedVideo.create 中的 workspace_idvideo_processing/dedup.py— 移除 storage key 中的 workspace 路径worker_app/core/title_usage.py— 移除 workspace_id 比较worker_app/tasks/ingest.py— 移除 Asset.create 中的 workspace_idworker_app/tasks/generation.py— 移除 workspace_id 变量和 storage key 中的 workspace 路径测试和脚本:
统计
关联