lablup / lablup/backend.ai

A project outlives the account

Open
#14,258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

유저가 사라져도 그 사람이 쓰던 자원이 남고, 남겨진 프로젝트를 알아보고 치울 수 있게 한다.

배경

- BEP-1077 이후 자원은 프로젝트에 속한다. 그런데 유저 purge 는 아직 자원을 함께 지운다. 계정이 사라졌다고 그 사람이 만든 폴더와 세션까지 같은 트랜잭션에서 파괴하면 인수인계할 방법이 없다.

- 프로젝트를 지우는 일은 담긴 자원을 걷어내는 일이라 시간이 걸린다. 동기 purge 안에 넣을 수 없다.

- BA-7659 가 개인 프로젝트를 만들면서 이 갈래를 정했다. 유저가 사라지면 개인 프로젝트의 생성자 열이 비고 프로젝트는 남는다. 남은 것을 무엇이 언제 치우는지가 이 에픽이다.

순서: 기반-1 → 정리-1 · 정리-2 · 삭제-1 병렬 → 삭제-2.

분해: hejo drafts/project-outliving-user/issues.md

JIRA Issue: BA-7686

Contributor guide

Open the contributing guide

Research direction

Start with hejo drafts/project-outliving-user/issues.md, then review the dependency order in this issue: 기반-1, the parallel 정리-1, 정리-2, 삭제-1 work, and 삭제-2. The work is done when the specified project and resource cleanup behavior after user purge is implemented across those planned pieces.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.