Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Drop ContentNode.thumbnail_encoding

オープン
#6,352 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
django, postgresql, python
領域
backend, database

調査の方向性

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 の本文から書いたものです。

説明

DEV: backend

❌ 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_timeout and fail rather than retry, so its ACCESS EXCLUSIVE lock on contentcuration_contentnode can't queue reads and writes behind it.
Acceptance Criteria
General
  • After deploy to hotfixes, contentcuration_contentnode has no thumbnail_encoding column
  • The migration aborts with a non-zero exit when it can't acquire its lock within lock_timeout
  • makemigrations --check reports 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

learningequality/studio のほかの issue

learningequality/studio の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。