Drop ContentNode.thumbnail_encoding
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
調査の方向性
Read the migration history and the migration from learningequality/studio#6351 to identify the app and dependency where this column is managed. Add a migration that removes ContentNode.thumbnail_encoding and sets lock_timeout so it fails if the lock cannot be acquired. Confirm the column is removed after deployment and that makemigrations --check reports no changes.
索引モデルが issue の本文から書いたものです。
説明
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
After learningequality/studio#6351, no code reads or writes contentcuration_contentnode.thumbnail_encoding, so the column should be dropped. Dropping it doesn't free the ~355 GB of TOAST it holds; that space is reclaimed when the table is next rewritten.
Complexity: Low
Target branch: hotfixes
The Change
- A migration should remove
ContentNode.thumbnail_encoding. - The migration should set a
lock_timeoutand fail rather than retry, so itsACCESS EXCLUSIVElock oncontentcuration_contentnodecan't queue reads and writes behind it.
Acceptance Criteria
General
- After deploy to
hotfixes,contentcuration_contentnodehas nothumbnail_encodingcolumn - The migration aborts with a non-zero exit when it can't acquire its lock within
lock_timeout -
makemigrations --checkreports no changes
AI usage
Drafted with Claude Code. I chose to split the column drop out of learningequality/studio#6351, and the lock handling.
- 主要言語
- Python
- スター
- 212
- フォーク
- 314
- 平均マージ
- 3日 6時間
- マージ済み PR(30日)
- 56
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
learningequality/studio のほかの issue
-
DEV: frontend P3 - low
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
learningequality/studio#5868 ·
メンテナーはふだん 1 日以内に返信
-
TAG: tech update / debt
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
learningequality/studio#2245 ·
メンテナーはふだん 1 日以内に返信
-
DEV: backend
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
learningequality/studio#6353 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
DEV: backend DEV: frontend
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
learningequality/studio#6351 ·
メンテナーはふだん 1 日以内に返信
-
DEV: backend
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
learningequality/studio#6350 ·
メンテナーはふだん 1 日以内に返信
learningequality/studio の issue をすべて見る
似ている issue
-
Context/namespace resources fail in-cluster: "Invalid kube-config file. No configuration found."オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug documentation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
awslabs/visual-asset-management-system#880 ·
メンテナーはふだん 1 日以内に返信
-
netbox status: needs owner type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
netbox-community/netbox#23533 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts status: backlog type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
netbox-community/netbox-scripts#68 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
marin-community/marin#10765 ·
メンテナーはふだん 1 日以内に返信