Hub: per-module storage limits for module task content
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- backend, databases, observability
Línea de trabajo
Start by reading hub/cloudbridge_hub/config.py, tasks.py, storage.py, and modules/library.py, especially CACHE_SHARE_OF_TASK_QUOTA; then inspect the synthetic module tests in hub/tests/demo_module.py. Trace how settings, eviction, and status, metrics, and doctor reporting use storage limits. Done means per-module limits and LRU eviction honor the free-disk floor, usage is reported in bytes without content, and the demo module tests cover the behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
The module design gives each module its own hub storage limit (CB_<MODULE>_CACHE_LIMIT_BYTES) under the shared
free-disk floor. Today the hub has limits for previews, originals, the backup queue and task content as a whole, but no
per-module limit, so one module could consume the shared task quota.
Acceptance criteria
-
Settingsreads optionalCB_<MODULE_ID>_CACHE_LIMIT_BYTESfor every registered module id. - Task content and module caches are evicted per module (LRU) when its limit is reached; the free-disk floor still
applies first. -
status,metricsanddoctorreport per-module usage (bytes only, no content). - Tests with the synthetic demo module (
hub/tests/demo_module.py).
Pointers
hub/cloudbridge_hub/config.py,tasks.py,storage.py,modules/library.py(CACHE_SHARE_OF_TASK_QUOTA)
- Lenguaje dominante
- Kotlin
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ft-dev-org/cloudbridge-oss
-
difficulty: beginner documentation help wanted networking
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
difficulty: beginner documentation help wanted self-hosting
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
difficulty: beginner documentation good first issue self-hosting
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
difficulty: beginner documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
backend difficulty: beginner enhancement self-hosting
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Todos los issues de ft-dev-org/cloudbridge-oss
Issues similares
-
[Request]: KylleneAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
ScoopInstaller/Extras#19589 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
feature request needs decision
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
tswistak/Battery-Monitor#207 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100