lablup / lablup/backend.ai

Migrate existing repositories to use standardized Creator and Updater patterns

Open
#7,277 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

## Overview

Migrate existing repository implementations to use the new standardized Creator and Updater patterns.

## Background

With the Creator and Updater patterns now implemented in the base repository layer, existing repositories need to be updated to use these standardized patterns instead of their custom implementations.

## Goals

1. Identify all repositories with custom create/update implementations
1. Refactor to use the new Creator pattern
1. Refactor to use the new Updater pattern
1. Remove deprecated custom implementations
1. Ensure consistent behavior across all repositories

## Scope

Repositories to migrate:

- Scheduling history repositories
- Deployment history repositories
- Session repositories
- Other repositories with custom CRUD implementations

## Acceptance Criteria

- [ ] All custom creator implementations replaced with Creator pattern
- [ ] All custom updater implementations replaced with Updater pattern
- [ ] Deprecated code removed
- [ ] All existing tests pass
- [ ] No regression in functionality
- [ ] Code review completed

JIRA Issue: BA-3348

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.