Skip to content

Implement stateful_source view for huggingface_registry table #6960

@jopemachine

Description

@jopemachine

Overview

Create a database view that serves as the stateful source for HuggingFace registry configurations, enabling synchronization between the manager's database and storage proxy via Valkey.

Context

The HuggingFace registry table contains configuration data that needs to be accessible to the storage proxy. This view will format the data appropriately for caching in Valkey.

Implementation Tasks

  • Design stateful_source view schema for huggingface_registry table
  • Create database migration for the view
  • Implement trigger or background job to update Valkey when view data changes
  • Add indexing for performance optimization

Acceptance Criteria

  • View returns all necessary HuggingFace registry configuration fields
  • Data format is compatible with Valkey storage requirements
  • Changes to the source table are reflected in the cache
  • Migration can be applied and rolled back cleanly

JIRA Issue: BA-3151

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions