lablup / lablup/backend.ai

Derive is_active from the existence axis and deprecate it

Open
#13,917 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

BEP-1069 §3.1, §5 step 10. domain 과 project 의 is_active 를 존재축 enum 에서 파생되는 값으로 바꾸고 deprecated 로 표시한다.

### 할 일

- is_active 를 컬럼이 아니라 존재축 enum 에서 파생되는 읽기 전용 값으로 만든다. 존재축이 활성일 때만 true 로 답한다.
- deprecated 로 표시하되 \***지원은 유지한다.**\* 기존 호출자가 계속 동작해야 한다.
- 컬럼 삭제는 하지 않는다. 호출자가 다 옮겨간 뒤 별도로 판단한다.

BEP §5 의 10단계는 호출자를 옮기고 컬럼을 지우는 것까지였으나, 이번에는 파생 값으로 대체하고 deprecated 지원을 남기는 데까지만 한다.

### 의존

두 축 컬럼 추가.

### 참고

proposals/BEP-1069-entity-lifecycle-deletion.md §3.1

JIRA Issue: BA-7458

Contributor guide

Open the contributing guide

Research direction

Start with proposals/BEP-1069-entity-lifecycle-deletion.md, especially sections 3.1 and 5 step 10, then trace the domain and project is_active callers and the existence-axis enum. Done means is_active is read-only and derived from an active existence-axis value, is marked deprecated while existing callers still work, and the column remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.