⚡ Scope project/workflow deletion run lookups instead of org-wide scan #9
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/project-deletion-org-wide-scan-perf"
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?
修复今晚在 Fanyu 上删除 SL-data/BLF-data 时发现的删除预览挂起问题:
buildProjectDeletionPlan/workflowRunsForDeletion都是拉整个组织的全部 Run 再在内存过滤,真实数据量下会挂起数分钟。runs 集合已有organizationId_projectId_createdAt_id/organizationId_workflowId_createdAt_id索引但代码没用上。新增ListRunArtifactsForProject按项目/工作流收窄查询,替换全部调用点。已跑通相关测试,全量套件无新增失败(75 项,与基线一致)。