lablup / lablup/backend.ai

Migrate error_log service actions off BaseAction (single-entity/bulk/scope)

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

Part of BA-6285 (Phase 2 — per-entity action migration).

Migrate the action classes under manager/services/error_log/actions/ off the deprecated BaseAction / BaseActionResult onto the self-contained type bases (BaseSingleEntityAction / BaseBulkAction / BaseScopeAction).

### Tasks

- For each concrete action, classify it as single-entity / bulk / scope.
- Move it onto the matching ErrorLog{SingleEntity,Bulk,Scope}Action base and implement the required methods (target_entity_id / target_element, targets, scope_type / scope_id).
- Route each action through the matching per-type processor (SingleEntity/Bulk/Scope ActionProcessor) in the service wiring.

### Done when

- No class in this service inherits BaseAction or BaseActionResult.
- Every action executes through the per-type framework path.
- Type checks and tests pass.

JIRA Issue: BA-6400

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.