code-corps / code-corps/code-corps-api
When unlinking installation from organization, delete ProjectGithubRepos
- 主要语言
- Elixir
- 星标
- 234
- 派生
- 82
- PR 合并指标
- 30 天内没有已合并 PR
描述
# Problem
Unlinking a `GithubAppInstallation` from an `Organization` deletes the related `OrganizationGithubAppInstallation` record.
That, however, currently in no way affects `ProjectGithubRepo` records which may link a `GithubRepo` belonging to the `GithubAppInstallation` with a project belonging to the `Organization.`
We should also delete the related `ProjectGithubRepo` records when the installation is unlinked.
贡献指南
调研方向
Trace the unlinking flow for GithubAppInstallation and OrganizationGithubAppInstallation, then inspect how ProjectGithubRepo connects GithubRepo records to projects. Ensure unlinking also removes affected ProjectGithubRepo records, and verify the behavior with the relevant unlinking or association tests; the issue is done when those records no longer remain after unlinking.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- elixir
- 领域
- backend, databases
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100