android/ios: artist artwork fallback fetches each artist source twice
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- kotlin
- 領域
- mobile, performance
調査の方向性
Start by reading the #1103 changes around artist source fallback and ArtworkFetcher.kt:82-87, where undersized remote images are dropped from disk cache. Trace how artist and album sources are fetched and how the size check uses the fetched image. Done when artist sources are fetched once, the first undersized image is returned before album sources, and the duplicate sources and ARTIST_IMAGE_MINIMUM_SIZES are removed.
索引モデルが issue の本文から書いたものです。
説明
The #1103 chain tries each artist source at >=500px, then again at any size. On Android an under-size remote image is dropped from the disk cache (ArtworkFetcher.kt:82-87) and there is no HTTP cache, so an artist whose only image is small downloads it twice, and every miss (S2 404, no server image) is requested twice. With the name lookup on for all artists, that doubles first-load misses. iOS rereads from URLCache, so only misses double there.
Better: one pass over artist sources; the fetcher keeps the first under-size image it already holds for the size check and returns it before the album sources. Drops the duplicated sources and ARTIST_IMAGE_MINIMUM_SIZES.
Seen in review of 79e4b2e8d (#1103).
Impact U1 (extra requests, slower first artwork load) · Reach R2 (every artist without a large image) · Implemented: no · Design fit: fits · Complexity: M
- 主要言語
- Kotlin
- スター
- 233
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
timusus/Shuttle2 のほかの issue
-
enhancement impact:U1 P3 reach:R2 size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug impact:U2 P2 reach:R2 size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
flaky
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
-
flaky
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
-
flaky
難易度 4/5 1〜2日 初心者へのやさしさ 47/100
timusus/Shuttle2 の issue をすべて見る
似ている issue
-
afk-ok area:ci size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
enorm-labs/event-junkie#4518 ·
メンテナーはふだん 1 日以内に返信
-
android:player
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
confluentinc/intellij#670 · コメント 1 件 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
NucleusFramework/Nucleus#912 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信