Repository navigation
upstream/main に追従する(2026-11) - #596
Merged
Merged
Conversation
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <noreply@github.com>
upstream が旧投稿フォームを削除し redesign/ を components/ へ移したため、 imastodon の旧フォーム向け改変(投稿後のカーソル位置、未収載時のハッシュタグ警告)は 削除側を採用した。リデザイン版への移植は #585 で必要なものを選んで済ませてあり、 新フォームにはハッシュタグ警告自体が無い。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
upstream が旧ステータスヘッダーと旧カラムヘッダーを削除したため、それに乗せていた 公開範囲アイコンとお気に入りタグのトグルは削除側を採用した。どちらもリデザイン版へ移植済み。 public/robots.txt は upstream が管理画面の設定(RobotsController)に移したので削除側を採用し、 imastodon の拒否ルールの扱いは後続のコミットで決める。 upstream が消したキーを ja-IM.json から取り除き、load_locale のテストを残っているキーで書き直した。 言い換えは新しいキー(compose.publish など)へ移植済み。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
upstream が旧カラムヘッダーを消し、どこからも使われなくなったため。 ハッシュタグカラムのメニューに置いた FavouriteTagMenuItems が後継。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
upstream mastodon#41496 で public/robots.txt が消え、RobotsController が Setting から配信するようになった。 本番に載るのは先の stable で、デプロイ後の手作業は忘れやすいため migration で設定する。 Setting のキャッシュキーは既定値から作られ、新しいコードでは変わるので、DB を直接書いても古いキャッシュは残らない。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
内容は削除前の public/robots.txt と同じ。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
上書きを有効にすると upstream の既定値は配信されなくなるので、その拒否リストも書き写した。 imastodon で足していた meta-externalagent は、UA の照合が大文字小文字を区別しないため upstream の Meta-ExternalAgent にまとめた。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
テストは Setting のキャッシュ越しに読むと migration の結果を見ずに通ってしまうので、 migration 内のダミー Setting クラスで DB の値を直接読むように改めた。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
Historical data migration test の投入データ(lib/tasks/tests.rake)は settings に id を明示して入れるため、 連番が追いつかず INSERT が衝突していた。tests.rake は upstream のファイルで、直すと追従のたびに競合するので、 migration 側で連番を最大 id まで進める。本番では連番が既に先にあるので何もしない。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
upstream/main(
4dff13d486)までの 203 件を 3 バッチ(229076af48/6c70a37c9d/ upstream/main)でマージした。途中に stable-X.Y の分岐点は無い(v5.0.0-beta.1 は main 上のタグで、stable-5.0 はまだ無い)。
競合の解決
compose/redesign/→compose/components/、components/button/redesign→components/buttonの移動に、お気に入りタグの import を合わせたcompose.publishなど)へ移植済み後続のコミット
public/robots.txtが消え、管理画面の設定(override_robots/custom_robots)から配信するようになった。imastodon の拒否ルールが落ちないように、migration で設定へ書き込む確認
spec/imastodon/、robots 関連)・vitest・lint・typecheck: pass/robots.txtが設定の内容を返すことを確認した🤖 Generated with Claude Code
https://claude.ai/code/session_01TZN4811trQA1Uv5tAjbKVy