Skip to content

chore: 本家 develop (58a95b7c36) に追従 - #364

Merged
tamaina merged 18 commits into
developfrom
chore/sync-upstream-20261120
Nov 20, 2026
Merged

tamaina merged 18 commits into
developfrom
chore/sync-upstream-20261120

Conversation

@tamaina

@tamaina tamaina commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

What

本家 develop e8585b9ee0..58a95b7c36 の修正・改善を9kのfeature、oRPC、VVI配置へ移植します。履歴を共有しないため前回同様に移植する形で、マージにはこのPRに限り通常のmerge commitを使います。

  • Server: Follow/Undo/Rejectと元Activity ID、ユーザーリスト、Driveの既定先、IPv6プロキシ、管理者の画像解除、チャット履歴と連合・配信時の公開範囲判定を反映。
  • Client: 登録、探索、画像ビューア、Drive、URLプレビュー、アンテナ、アニメーション、AiScriptと認証情報更新を反映。#18181 のレビュー修正を含み、プレビューの安全判定後のみ自動埋め込みします。再発行失敗時の待機解除は9kの既存フローを維持。
  • DB: following.requestId にnullableの列を追加。既存行やAPIの公開projectionには値を足しません。上流のmeta DEFAULTとreflect-metadata external化は9kで実施済み。
  • 依存: 上流 #18170 の更新を、現在の7日供給網ポリシーでlockfile再解決。Viteと互換性のあるフロントエンドRolldown 1.2.19を選び、9kのRedis用ビルドを維持するためBullMQ 6.5.3は据え置き。Node 26.13.1 / 最低24.22.3、pnpm 12.17.0、compile-configとRelease Managerを維持。

Why

前回同期 #244 からの上流改善を取り込みます。Refs #363。

Additional info

  • 9kのバージョンを維持し、生の上流版番号・CHANGELOGテンプレートは取り込みません。9kのリリース経路と検証条件を維持するため、上流専用のActions/DevContainer/Renovate整備とpnpm 12.20.0は本同期には含めません。後続の Crowdin翻訳のみ #18171 はVVIの所有先を確認して別途同期します。
  • 検証済み: 固定pnpmでのlockfile再解決とfrozen install、backend型検査、隔離PostgreSQL 17.11上でのFollowing migration up/down・既存行保持。
  • 対象テストは先行候補で421 frontend・26 backendが合格。最終候補のfrontend/ロケール証跡/生成SDKとフルCIは再確認中。未マージ、本番未適用。

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • Update CHANGELOG.md
  • Add tests where applicable

Port of misskey-dev/misskey e8585b9ee0..9dfb29839f (backend behavior and migrations only). Preserve 9k oRPC, transaction and event variants. Refs #363.
Port of misskey-dev/misskey #18106, #18159 and #18031 (range e8585b9ee0..9dfb29839f). Preserve fork-owned feature aliases.
Port of misskey-dev/misskey #18151, #18160 and #18137 with fork-owned feature locale keys and aliases.
Port of misskey-dev/misskey #18152 with 9k feature-owned paths and retained scheduling.
Port of misskey-dev/misskey #18075, preserving fork feature imports and legacy interpreter coverage.
Port of misskey-dev/misskey #18162. Retain 9k sudo and credential-change cleanup, with current-actor guard after the awaited optional backup.
9k's existing MigrateSomeConfigFileSettingsToMeta1746949539915 sets all three defaults to TRUE. Its migration layout has no migration-config helper. Do not alter migration history. Refs #363.
Keep the activity ID private in the relationship projection; update generated multipart routing for NO_SUCH_FOLDER. Refs #363.
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

このPRによるapi.jsonの差分

36 追加行 / 0 削除行 (1785 bytes)

差分はこちら
--- base
+++ head
@@ -553639,6 +553639,42 @@
                               "additionalProperties": {}
                             },
                             "code": {
+                              "const": "NO_SUCH_FOLDER"
+                            },
+                            "message": {
+                              "type": "string"
+                            }
+                          },
+                          "required": [
+                            "code",
+                            "message",
+                            "id",
+                            "kind"
+                          ],
+                          "$schema": "https://json-schema.org/draft/2020-12/schema"
+                        },
+                        {
+                          "type": "object",
+                          "properties": {
+                            "id": {
+                              "type": "string"
+                            },
+                            "kind": {
+                              "enum": [
+                                "client",
+                                "permission",
+                                "server"
+                              ],
+                              "type": "string"
+                            },
+                            "info": {
+                              "type": "object",
+                              "propertyNames": {
+                                "type": "string"
+                              },
+                              "additionalProperties": {}
+                            },
+                            "code": {
                               "const": "FILE_REQUIRED"
                             },
                             "message": {

Full diff and API JSON artifact

Workflow Page

Port of misskey-dev/misskey f98f05b250. Refs #363.
Match #364 exact-head generated API SDK output. Refs #363.
Recompute exact UTF-16 source-edit boundaries and hashes. Keep historical baseline SHA-256 and locale catalogs unchanged.
Port of misskey-dev/misskey 3d81331dff (#18170). Preserve 9k package manager 12.17.0, Node 26.13.1 and release lineage. Lockfile-only resolution and frozen install passed using current supply-chain policy. Refs #363.
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

⚙️ Backend Diagnostics Report

Memory: After GC

Metric @ Base @ Head Δ MAD
HeapUsed 75.6 MB
± 0 MB
74.8 MB
± 0 MB
$\color{green}{\text{-0.8~MB}}$
$\color{green}{\text{-1.1\%}}$
0 MB
PSS 237.9 MB
± 2.3 MB
218.2 MB
± 2.1 MB
$\color{green}{\text{-19.7~MB}}$
$\color{green}{\text{-8.3\%}}$
3.1 MB
USS 217 MB
± 2.4 MB
197.4 MB
± 2.1 MB
$\color{green}{\text{-19.6~MB}}$
$\color{green}{\text{-9\%}}$
3.2 MB
External 9.9 MB
± 0 MB
10.1 MB
± 0 MB
$\color{orange}{\text{+0.2~MB}}$
$\color{orange}{\text{+2.2\%}}$
0 MB

V8 Heap Snapshot Statistics

Metric @ Base @ Head Δ MAD
$\color{gray}{\rule{8pt}{8pt}}$ Total 88 MB
± 14 KB
87 MB
± 3 KB
$\color{green}{\text{-387 KB}}$
$\color{green}{\text{-0.4\%}}$
14 KB
$\color{orange}{\rule{8pt}{8pt}}$ Code 25 MB 24 MB $\color{green}{\text{-593 KB}}$ 858 B
$\color{red}{\rule{8pt}{8pt}}$ Strings 25 MB 25 MB $\color{green}{\text{-373 KB}}$ 4.6 KB
$\color{cyan}{\rule{8pt}{8pt}}$ JS arrays 5.1 MB 6.4 MB $\color{orange}{\text{+1.3 MB}}$ 0 B
$\color{green}{\rule{8pt}{8pt}}$ Typed arrays 544 KB 723 KB $\color{orange}{\text{+179 KB}}$ 0 B
$\color{yellow}{\rule{8pt}{8pt}}$ System objects 3.1 MB 3 MB $\text{-97 KB}$ 524 B
$\color{violet}{\rule{8pt}{8pt}}$ Other JS objs 29 MB 28 MB $\color{green}{\text{-814 KB}}$ 40 B
$\color{pink}{\rule{8pt}{8pt}}$ Other non-JS objs 65 KB 65 KB 0 B 0 B

Download representative heap snapshot: base / head

Use the Rolldown 1.2.19 resolved by Vite 8.3.8 for the frontend and frontend-builder. Retain BullMQ 6.5.3 pending verification of 6.7.6 optional PostgreSQL bundling. Backend Rolldown 1.3.2 remains. Refs #363.
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

🖥 Frontend Diagnostics Report

(No significant changes)

View details

Requests by resource type
Type Requests Encoded bytes
Base Head Δ Base Head Δ
Document 2 2 0 37 KB 37 KB 0 B
Script 179 179 0 3.3 MB 3.3 MB $\color{orange}{\text{+8.3 KB}}$
Stylesheet 62 62 0 283 KB 282 KB $\color{green}{\text{-1.6 KB}}$
Fetch 23 23 0 76 KB 76 KB 0 B
Image 11 11 0 70 KB 70 KB 0 B
Font 2 2 0 119 KB 119 KB 0 B
Other 9 9 0 173 KB 173 KB $\color{green}{\text{-3 B}}$
V8 heap snapshot statistics
Metric @ Base @ Head Δ MAD
$\color{gray}{\rule{8pt}{8pt}}$ Total 14 MB
± 18 KB
14 MB
± 4.3 KB
$\text{-17 KB}$
$\text{-0.1\%}$
19 KB
$\color{orange}{\rule{8pt}{8pt}}$ Code 3.3 MB 3.3 MB $\text{+3.6 KB}$ 1.4 KB
$\color{red}{\rule{8pt}{8pt}}$ Strings 1.6 MB 1.6 MB $\text{+1.4 KB}$ 49 B
$\color{cyan}{\rule{8pt}{8pt}}$ JS arrays 130 KB 130 KB $\text{-80 B}$ 51 B
$\color{green}{\rule{8pt}{8pt}}$ Typed arrays 0 B 0 B 0 B 0 B
$\color{yellow}{\rule{8pt}{8pt}}$ System objects 0 B 0 B 0 B 0 B
$\color{violet}{\rule{8pt}{8pt}}$ Other JS objs 2.7 MB 2.7 MB $\text{-18 KB}$ 424 B
$\color{pink}{\rule{8pt}{8pt}}$ Other non-JS objs 6.1 MB 6.1 MB $\text{-5.5 KB}$ 29 KB

Download representative heap snapshot: base / head

📦 Bundle Stats

Chunk size diff (56 updated, 4 added, 4 removed)
Chunk Base Head Δ Δ (%)
(total) 17 MB 17 MB $\color{orange}{\text{+29 KB}}$ $\color{orange}{\text{+0.2\%}}$
../../node_modules/.pnpm/mediabunny@1.65.2/node_modules/mediabunny/dist/modules/src/index.js scripts/hvhWu9yWI-CzHnG6-w.js
0 B 727 KB $\color{orange}{\text{+727 KB}}$ $\color{orange}{\text{( + )}}$
../../node_modules/.pnpm/mediabunny@1.65.0/node_modules/mediabunny/dist/modules/src/index.js scripts/hvhWu9yWI-_wqDmIsf.js
727 KB 0 B $\color{green}{\text{-727 KB}}$ $\color{green}{\text{( - )}}$
../../node_modules/.pnpm/@sentry+vue@11.12.0_vue@3.5.45_typescript@6.0.3_/node_modules/@sentry/vue/build/esm/index.js scripts/hvhWu9yWI-EmxD7M89.js
0 B 433 KB $\color{orange}{\text{+433 KB}}$ $\color{orange}{\text{( + )}}$
../../node_modules/.pnpm/@sentry+vue@11.10.0_vue@3.5.44_typescript@6.0.3_/node_modules/@sentry/vue/build/esm/index.js scripts/hvhWu9yWI-Dd2MlQlH.js
432 KB 0 B $\color{green}{\text{-432 KB}}$ $\color{green}{\text{( - )}}$
../features/drive/frontend/components/MkLightbox.vue scripts/hvhWu9yWI-DIh2fJny.js → scripts/hvhWu9yWI-IcoHR3JT.js
27 KB 28 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+6.2\%}}$
virtual:vite-vue-internationalization/locale/th-TH scripts/hvhWu9yWI-BP7v1nJV.js → scripts/hvhWu9yWI-DKjiLQ5F.js
415 KB 416 KB $\text{+792 B}$ $\color{orange}{\text{+0.2\%}}$
virtual:vite-vue-internationalization/locale/ru-RU scripts/hvhWu9yWI-KNaa4uSL.js → scripts/hvhWu9yWI-CPDrXLfN.js
308 KB 309 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/uk-UA scripts/hvhWu9yWI-C79B1YQj.js → scripts/hvhWu9yWI-IQ7jlOrt.js
302 KB 302 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/bn-BD scripts/hvhWu9yWI-Cj2mgrAP.js → scripts/hvhWu9yWI-B6GN5IRH.js
275 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/lo-LA scripts/hvhWu9yWI-BwomrIvX.js → scripts/hvhWu9yWI-D-QzPVaz.js
275 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/si-LK scripts/hvhWu9yWI-qQdH6cfc.js → scripts/hvhWu9yWI-B3D0kTqC.js
275 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/el-GR scripts/hvhWu9yWI-DE7qTMp-.js → scripts/hvhWu9yWI-BpwHSL5N.js
275 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/fa-IR scripts/hvhWu9yWI-B1HjKqTB.js → scripts/hvhWu9yWI-D7nDu0Go.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/jbo-EN scripts/hvhWu9yWI-kpmoOEsj.js → scripts/hvhWu9yWI-C9gSfegg.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ja-JP scripts/hvhWu9yWI-BRMrOS5C.js → scripts/hvhWu9yWI-jiT-2pXr.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ro-RO scripts/hvhWu9yWI-CM0VtpnU.js → scripts/hvhWu9yWI-DmYbiTvf.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/tl-PH scripts/hvhWu9yWI-CSywSayp.js → scripts/hvhWu9yWI-BDG7i4pF.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ko-GS scripts/hvhWu9yWI-tq2SuTQb.js → scripts/hvhWu9yWI-B9WtpRul.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/hu-HU scripts/hvhWu9yWI-DkA5f3z_.js → scripts/hvhWu9yWI-B5FDvgeg.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/uz-UZ scripts/hvhWu9yWI-DPIHeE02.js → scripts/hvhWu9yWI-MgvkhJcp.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/sv-SE scripts/hvhWu9yWI-DLSTrj7G.js → scripts/hvhWu9yWI-DKtcB07w.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/hr-HR scripts/hvhWu9yWI-DKcx3E1w.js → scripts/hvhWu9yWI-CgUuUn8A.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ht-HT scripts/hvhWu9yWI-Cfs7MjuF.js → scripts/hvhWu9yWI-CG3qnzEx.js
274 KB 275 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ja-KS scripts/hvhWu9yWI-9kwnlZQz.js → scripts/hvhWu9yWI-NKAZ285C.js
272 KB 273 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/de-DE scripts/hvhWu9yWI-DjBUJ0nS.js → scripts/hvhWu9yWI-BshXlbEH.js
255 KB 256 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ko-KR scripts/hvhWu9yWI-DHQYiQrV.js → scripts/hvhWu9yWI-DKNmvGYF.js
255 KB 255 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ar-SA scripts/hvhWu9yWI-Byi38SYr.js → scripts/hvhWu9yWI-u-nVHOUV.js
252 KB 253 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/ca-ES scripts/hvhWu9yWI-Dof1MPjG.js → scripts/hvhWu9yWI-CmqjDDhq.js
252 KB 253 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/vi-VN scripts/hvhWu9yWI-BrRbMNh3.js → scripts/hvhWu9yWI-_qqlf-Rj.js
251 KB 252 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
virtual:vite-vue-internationalization/locale/es-ES scripts/hvhWu9yWI-BzGavqdS.js → scripts/hvhWu9yWI-Co1tn2Et.js
250 KB 251 KB $\text{+792 B}$ $\color{orange}{\text{+0.3\%}}$
(other generated chunks) 2.5 MB 2.5 MB $\color{green}{\text{-9.9 KB}}$ $\color{green}{\text{-0.4\%}}$
(other) 4.4 MB 4.4 MB $\color{orange}{\text{+15 KB}}$ $\color{orange}{\text{+0.3\%}}$
Startup chunk size (0 updated, 0 added, 0 removed)
Chunk Base Head Δ Δ (%)
(total) 127 KB 130 KB $\color{orange}{\text{+2.3 KB}}$ $\color{orange}{\text{+1.8\%}}$
(other generated chunks) 122 KB 124 KB $\color{orange}{\text{+2.3 KB}}$ $\color{orange}{\text{+1.9\%}}$
(other) 5.3 KB 5.3 KB 0 B 0%

Startup chunks are the Vite entry for src/_boot_.ts and its static imports.

Bundles Modules Entries Imports Size
Static Dynamic Rendered Gzip Brotli
Base 538 3,209 24 10,848 389 23 MB 6.2 MB 5 MB
Head 538 3,186 24 10,857 389 24 MB 6.2 MB 5 MB
Δ 0 $\color{green}{\text{-23}}$ 0 $\color{orange}{\text{+9}}$ 0 $\color{orange}{\text{+21 KB}}$ $\color{orange}{\text{+8.4 KB}}$ $\color{orange}{\text{+5.8 KB}}$
Δ (%) 0% $\color{green}{\text{-0.7\%}}$ 0% $\text{+0.1\%}$ 0% $\text{+0.1\%}$ $\color{orange}{\text{+0.1\%}}$ $\color{orange}{\text{+0.1\%}}$

Open treemap HTML

Require limit(1) on registry queries and record the generated Drive API schema digest for NO_SUCH_FOLDER. Both Vitest files pass (25 tests). Refs #363.
Port of misskey-dev/misskey #18181 at 58a95b7c. Preserve explicit user choices and the no-actions/deactivated preview state. The 9k token flow independently uses dialog-owned loading and finally cleanup.
@tamaina tamaina changed the title chore: 本家 develop (9dfb29839f) に追従 chore: 本家 develop (58a95b7c36) に追従 Nov 20, 2026
@tamaina
tamaina marked this pull request as ready for review November 20, 2026 15:24
@tamaina
tamaina merged commit e71be3c into develop Nov 20, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant