Hub: per-module storage limits for module task content
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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)
- 主要言語
- Kotlin
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ft-dev-org/cloudbridge-oss のほかの issue
-
difficulty: beginner documentation help wanted networking
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
difficulty: beginner documentation help wanted self-hosting
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
difficulty: beginner documentation good first issue self-hosting
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
difficulty: beginner documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
backend difficulty: beginner enhancement self-hosting
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ft-dev-org/cloudbridge-oss の issue をすべて見る
似ている issue
-
[Request]: Kylleneオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
ScoopInstaller/Extras#19589 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
feature request needs decision
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
tswistak/Battery-Monitor#207 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100