lablup / lablup/backend.ai

Wire the BEP-1077 share targets onto the share processors

Open
#14,236 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 5.5 의 공유 대상을 일반화된 공유 processor 층에 배선한다.

대상

- 배포(deployment), 모델카드, 이미지: 공유·초대·회수·이전 전부. 배포는 토큰 필드를 뺀 공유(replace_share_fields) 가 기본.

- 세션: 관측만. 진입은 제외 (마운트가 접근 제어를 우회하므로).

- 각 대상의 목록·조회가 공유된 것을 포함하도록 own/share 그래프를 읽는지 확인. 읽기 전환 자체는 Phase 7.

완료 기준

- 네 대상에 대해 공유 processor 가 동작하고, 비대상(keypair·secret·kernel·route·session group)은 거부된다.

제약

- 이미지는 Phase 1 BA-7662(소유를 그래프로 판정) 뒤. 비소유 프로젝트에는 삭제 조작이 없고 unshare 만 있다.

열린 결정

- 세션 관측 공유의 필드 집합.

참고 파일 (파일 위치는 2026-09-05 main 기준 참고. 구현 방향은 착수 시 main 을 보고 계획해 확인받은 뒤 진행한다.)

- services/deployment, services/model_card, services/image, services/session 의 processors.py, actions/registry

JIRA Issue: BA-7667

Contributor guide

Open the contributing guide

Research direction

Start with services/deployment, services/model_card, services/image, and services/session processors.py files and their actions/registry entries. Trace the generalized share processor flow and confirm how own/share graphs are read, while checking the Phase 1 image constraint and session's observation-only scope. Done means sharing, inviting, unsharing, and transferring work for deployment, model card, and image, observation works for session, and the excluded targets are rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.