lablup / lablup/backend.ai

Implement BulkAction processor and validator on the pure-ABC base

Open
#12,135 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

Build the execution framework (processor, runner, validator) for the new self-contained bulk action base, independent of the legacy BaseAction hierarchy.

Target base: src/ai/backend/manager/actions/bulk/base.py (BaseBulkAction, pure ABC). Contract: entity_type() -> EntityType, entity_ids() -> Sequence[str], required_permission() -> Permission.

- Add a BulkActionProcessor (and its runner) bound to BaseBulkAction, under actions/bulk/.
- Add a BulkActionValidator that iterates entity_ids() and aggregates per-entity denials (partial failures allowed).
- Do not reuse the legacy ActionRunner typed to BaseAction; the new path must depend only on the pure-ABC base.

JIRA Issue: BA-6456

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.