Skip to content

chore: 本家 develop (e8585b9ee0) に追従 - #244

Merged
tamaina merged 3 commits into
developfrom
chore/sync-upstream-20261110b
Nov 10, 2026
Merged

tamaina merged 3 commits into
developfrom
chore/sync-upstream-20261110b

Conversation

@tamaina

@tamaina tamaina commented Nov 10, 2026

Copy link
Copy Markdown
Owner

What

本家 develop d3c7ab5111..e8585b9ee0 の 2 commit を 9k の配置に合わせて取り込みます。

  • perf(backend): 開発時にしか使わないモジュールを遅延ロード (upstream #18128)
    • packages/features/web/backend/http/ClientServerService.ts: @fastify/http-proxy の静的 import をやめ、Vite dev server へのプロキシ分岐内で import() するように。同じ分岐の console.log を clientLoggerService.logger.info に置き換え
  • fix(backend): 特定の条件下でドライブがタイムアウトして開けない問題を修正 (upstream #18129)
    • packages/features/drive/backend/endpoints/drive/files.ts (oRPC procedure): ルートフォルダ (folderId IS NULL) の一覧を作成日時順で取得するとき、ORDER BY に file.folderId を加えて (userId, folderId, id) インデックスを使えるように
  • CHANGELOG の ## 9000.0.0 › Server に #18129 の Fix を追記。#18128 は開発時だけの変更なので記載していません (本家も記載なし)

Why

本家への追従です。#238 (d6aafec10a..d3c7ab5111) の続きにあたります。

Risks

  • #18128: frontend のビルド済み manifest がある場合 (frontendEmbedManifestExists) はビルド済みアセットを配信する分岐を通るため、影響しません。dev のプロキシは登録時に module の Promise を fastify.register に渡します。本家と同じ形で、bundler 設定も本家と同じです
  • #18129: 並び順の変化は sort が未指定・+createdAt・-createdAt のルート一覧だけです。ルート一覧では folderId が全件 NULL なので、結果の順序は変わりません。名前順・サイズ順とフォルダー指定時は従来どおりです
  • 対象ファイルは frozen-source / source-rebase の proof に固定されていないため、proof データは更新していません
  • 依存関係と lockfile は変更していません

Additional info (optional)

owner の指示により、ローカルでは test・typecheck・lint・build を実行していません。CI で確認します。

Refs #243

tamaina and others added 3 commits November 10, 2026 14:36
…rver (upstream #18128)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der (upstream #18129)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…echeck (upstream #18128)

Feature sources are treated as CommonJS by tsc, so the dynamic import() is resolved ESM-style and cannot use a directory paths alias. Point the alias at types/index.d.ts like the other dynamically imported deps; Rolldown's declaration-dependency plugin resolves it to the runtime entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

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

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

差分はありません。

Full diff and API JSON artifact

Workflow Page

@github-actions

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 173 173 0 3.3 MB 3.3 MB 0 B
Stylesheet 62 62 0 283 KB 283 KB 0 B
Fetch 22 22 0 57 KB 57 KB 0 B
Image 10 10 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{-6 B}}$
V8 heap snapshot statistics
Metric @ Base @ Head Δ MAD
$\color{gray}{\rule{8pt}{8pt}}$ Total 13 MB
± 4.4 KB
13 MB
± 13 KB
$\text{-11 KB}$
$\text{-0.1\%}$
13 KB
$\color{orange}{\rule{8pt}{8pt}}$ Code 3.3 MB 3.3 MB $\text{-2.3 KB}$ 791 B
$\color{red}{\rule{8pt}{8pt}}$ Strings 1.5 MB 1.5 MB $\text{-36 B}$ 244 B
$\color{cyan}{\rule{8pt}{8pt}}$ JS arrays 130 KB 130 KB 0 B 92 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.5 MB 2.5 MB $\text{-148 B}$ 275 B
$\color{pink}{\rule{8pt}{8pt}}$ Other non-JS objs 6 MB 6 MB $\text{-11 KB}$ 12 KB

Download representative heap snapshot: base / head

📦 Bundle Stats

Chunk size diff (0 updated, 0 added, 0 removed)
Chunk Base Head Δ Δ (%)
(total) 19 MB 19 MB $\color{green}{\text{-3.7 KB}}$ $\text{-0\%}$
(other generated chunks) 2.5 MB 2.5 MB $\color{green}{\text{-3.7 KB}}$ $\color{green}{\text{-0.2\%}}$
Startup chunk size (0 updated, 0 added, 0 removed)
Chunk Base Head Δ Δ (%)
(total) 127 KB 127 KB 0 B 0%
(other generated chunks) 122 KB 122 KB 0 B 0%
(other) 4.7 KB 4.7 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 532 3,190 22 10,731 383 25 MB 6.3 MB 5 MB
Head 532 3,162 22 10,704 383 25 MB 6.3 MB 5 MB
Δ 0 $\color{green}{\text{-28}}$ 0 $\color{green}{\text{-27}}$ 0 $\color{green}{\text{-20 KB}}$ $\color{green}{\text{-9 KB}}$ $\color{green}{\text{-7.3 KB}}$
Δ (%) 0% $\color{green}{\text{-0.9\%}}$ 0% $\color{green}{\text{-0.3\%}}$ 0% $\text{-0.1\%}$ $\color{green}{\text{-0.1\%}}$ $\color{green}{\text{-0.1\%}}$

Open treemap HTML

@github-actions

Copy link
Copy Markdown
Contributor

⚙️ Backend Diagnostics Report

Memory: After GC

Metric @ Base @ Head Δ MAD
HeapUsed 76 MB
± 0 MB
74.4 MB
± 0 MB
$\color{green}{\text{-1.6~MB}}$
$\color{green}{\text{-2.1\%}}$
0 MB

Only metrics showing significant changes are displayed.

V8 Heap Snapshot Statistics

Metric @ Base @ Head Δ MAD
$\color{gray}{\rule{8pt}{8pt}}$ Total 88 MB
± 9.5 KB
87 MB
± 4.6 KB
$\color{green}{\text{-1.7 MB}}$
$\color{green}{\text{-2\%}}$
11 KB
$\color{orange}{\rule{8pt}{8pt}}$ Code 25 MB 24 MB $\color{green}{\text{-539 KB}}$ 7.1 KB
$\color{red}{\rule{8pt}{8pt}}$ Strings 26 MB 25 MB $\color{green}{\text{-682 KB}}$ 6.1 KB
$\color{cyan}{\rule{8pt}{8pt}}$ JS arrays 4.9 MB 4.9 MB $\text{-18 KB}$ 0 B
$\color{green}{\rule{8pt}{8pt}}$ Typed arrays 544 KB 544 KB $\text{-256 B}$ 0 B
$\color{yellow}{\rule{8pt}{8pt}}$ System objects 3.1 MB 3 MB $\text{-33 KB}$ 1.4 KB
$\color{violet}{\rule{8pt}{8pt}}$ Other JS objs 29 MB 29 MB $\color{green}{\text{-448 KB}}$ 233 B
$\color{pink}{\rule{8pt}{8pt}}$ Other non-JS objs 64 KB 65 KB $\text{+121 B}$ 0 B

Download representative heap snapshot: base / head

@tamaina
tamaina merged commit d472614 into develop Nov 10, 2026
45 of 47 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