Skip to content

revert(backend): revert compile-config#17411

Open
kakkokari-gtyih wants to merge 19 commits into
misskey-dev:developfrom
kakkokari-gtyih:revert-compile-config
Open

revert(backend): revert compile-config#17411
kakkokari-gtyih wants to merge 19 commits into
misskey-dev:developfrom
kakkokari-gtyih:revert-compile-config

Conversation

@kakkokari-gtyih

@kakkokari-gtyih kakkokari-gtyih commented May 15, 2026

Copy link
Copy Markdown
Member

What

Why

Fix #17407
Fix #17075

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

このPRによるapi.jsonの差分
差分はありません。
Get diff files from Workflow Page

@codecov

codecov Bot commented May 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 24.95%. Comparing base (c29a3d9) to head (20a837b).
⚠️ Report is 18 commits behind head on develop.

Files with missing lines Patch % Lines
packages/backend/src/config.ts 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #17411      +/-   ##
===========================================
+ Coverage    15.00%   24.95%   +9.94%     
===========================================
  Files          248     1165     +917     
  Lines        12402    39739   +27337     
  Branches      4224    11064    +6840     
===========================================
+ Hits          1861     9916    +8055     
- Misses        8239    23888   +15649     
- Partials      2302     5935    +3633     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

⚙️ Backend Memory Usage Report

After GC

Metric Base Head Δ median Δ MAD Δ min Δ max
HeapUsed 72.6 MB
± 0 MB
72.6 MB
± 0 MB
$\color{orange}{\text{+0.1 MB}}$
$\color{orange}{\text{+0.2\%}}$
0.1 MB $\text{+0.1 MB}$ $\color{orange}{\text{+0.5 MB}}$
Pss 291.1 MB
± 2.7 MB
293.4 MB
± 14.5 MB
$\color{orange}{\text{+2.1 MB}}$
$\color{orange}{\text{+0.7\%}}$
12 MB $\color{green}{\text{-75.9 MB}}$ $\color{orange}{\text{+14.1 MB}}$
Private_Dirty 229.9 MB
± 2.2 MB
231.6 MB
± 14.7 MB
$\color{orange}{\text{+2 MB}}$
$\color{orange}{\text{+0.9\%}}$
12.2 MB $\color{green}{\text{-75.8 MB}}$ $\color{orange}{\text{+14.2 MB}}$
VmRSS 329 MB
± 2.7 MB
331.3 MB
± 14.5 MB
$\color{orange}{\text{+2.2 MB}}$
$\color{orange}{\text{+0.7\%}}$
11.9 MB $\color{green}{\text{-75.9 MB}}$ $\color{orange}{\text{+14 MB}}$
External 8.7 MB
± 0 MB
8.8 MB
± 0 MB
$\text{+0 MB}$
$\color{orange}{\text{+0.2\%}}$
0 MB $\text{+0 MB}$ $\text{+0 MB}$

V8 Heap Snapshot Statistics

Metric Base Head Δ median Δ MAD Δ min Δ max
$\color{gray}{\rule{8pt}{8pt}}$ Total 86 MB
± 6 KB
86 MB
± 19 KB
$\color{orange}{\text{+276 KB}}$
$\color{orange}{\text{+0.3\%}}$
88 KB $\color{orange}{\text{+188 KB}}$ $\color{orange}{\text{+495 KB}}$
$\color{orange}{\rule{8pt}{8pt}}$ Code28.8% → 29%
25 MB 25 MB $\color{orange}{\text{+205 KB}}$ 6.3 KB $\color{orange}{\text{+199 KB}}$ $\color{orange}{\text{+230 KB}}$
$\color{red}{\rule{8pt}{8pt}}$ Strings34.8% → 34.9%
30 MB 30 MB $\color{orange}{\text{+218 KB}}$ 2.4 KB $\color{orange}{\text{+216 KB}}$ $\color{orange}{\text{+222 KB}}$
$\color{cyan}{\rule{8pt}{8pt}}$ JS arrays4.8% → 4.8%
4.1 MB 4.1 MB $\text{+10 KB}$ 0 B $\text{+10 KB}$ $\text{+10 KB}$
$\color{green}{\rule{8pt}{8pt}}$ Typed arrays0.6% → 0.6%
533 KB 534 KB $\text{+1.3 KB}$ 0 B $\text{+1.3 KB}$ $\text{+1.3 KB}$
$\color{yellow}{\rule{8pt}{8pt}}$ System objects2.6% → 2.6%
2.2 MB 2.2 MB $\text{-3.8 KB}$ 1.9 KB $\text{-5.7 KB}$ $\text{+3.3 KB}$
$\color{violet}{\rule{8pt}{8pt}}$ Other JS objs28.4% → 28%
24 MB 24 MB $\color{green}{\text{-157 KB}}$ 85 KB $\color{green}{\text{-241 KB}}$ $\text{+33 KB}$
$\color{pink}{\rule{8pt}{8pt}}$ Other non-JS objs0% → 0%
38 KB 38 KB $\text{-128 B}$ 0 B $\text{-128 B}$ $\text{-128 B}$
Head heap snapshot composition
%%{init: {"sankey":{"showValues":false,"linkColor":"target","labelStyle":"outlined","nodeAlignment":"center","nodePadding":10,"nodeColors":{"Head":"#888888","code":"#f28e2c","bytecode":"#f28e2c","Other":"#888888","strings":"#e15759","string":"#e15759","jsArrays":"#76b7b2","typedArrays":"#59a14f","systemObjects":"#edc949","otherJsObjects":"#af7aa1","otherNonJsObjects":"#ff9da7"}}}}%%
sankey-beta
"Head","Code",28.98
"Code","bytecode",9.63
"Code","Other",19.35
"Head","Strings",34.92
"Strings","string",34.22
"Strings","Other",0.7
"Head","JS arrays",4.81
"Head","Typed arrays",0.62
"Head","System objects",2.57
"Head","Other JS objs",28.04
"Head","Other non-JS objs",0.04
Loading

Download representative V8 heap snapshot (head)

Runtime Loaded JS Footprint

Click to show
Metric Base Head Δ Δ (%)
Loaded JS modules 185 184 $\color{green}{\text{-1}}$ $\color{green}{\text{-0.5\%}}$
Loaded JS source 11 MB 11 MB $\color{orange}{\text{+63 KB}}$ $\color{orange}{\text{+0.6\%}}$
External packages loaded 30 30 0 0%
Native addon packages 2 2 0 0%

Largest Newly Loaded Modules

Module Package Loaded JS
packages/backend/built/ApNoteService-DJxyaXTz.js backend 2.2 MB
packages/backend/built/Meta-DOLRK9FX.js backend 1.3 MB
packages/backend/built/core-ZA64myaN.js backend 1.1 MB
packages/backend/built/QueueService-Di_GlVUq.js backend 997 KB
packages/backend/built/ServerService-CLFW-Au_.js backend 976 KB
packages/backend/built/endpoints-17XyjCHB.js backend 874 KB
packages/backend/built/MetaEntityService-BDmZOE23.js backend 627 KB
packages/backend/built/ap-request-DQpI3ex1.js backend 237 KB
packages/backend/built/common-Br_8lhGv.js backend 201 KB
packages/backend/built/event-streams-zG1SdBoX.js backend 129 KB

@kakkokari-gtyih kakkokari-gtyih marked this pull request as ready for review May 15, 2026 08:44
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 15, 2026
@anatawa12 anatawa12 linked an issue May 15, 2026 that may be closed by this pull request
1 task
@anatawa12

Copy link
Copy Markdown
Member

17075 リンクしました

@kakkokari-gtyih

Copy link
Copy Markdown
Member Author

👀

@kakkokari-gtyih

Copy link
Copy Markdown
Member Author

コンフリクト解消

@kakkokari-gtyih

Copy link
Copy Markdown
Member Author

yamlをv5にしてきた

@github-actions github-actions Bot added the packages/frontend Client side specific issue/PR label Jun 24, 2026
@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

📦 Frontend Bundle Report

Chunk size diff (0 updated, 0 added, 0 removed)

No data

Startup chunk size (0 updated, 0 added, 0 removed)
Chunk Before After Δ Δ (%)
(total) 1.1 MB 1.1 MB 0 B 0%
os ja-JP/aEA5QfpmU-q3XzGW8f.js
466 KB 466 KB 0 B 0%
i18n ja-JP/aEA5QfpmU-Dv4DIZFA.js
216 KB 216 KB 0 B 0%
photoswipe ja-JP/aEA5QfpmU-46O-_VUQ.js
73 KB 73 KB 0 B 0%
src/_boot_.ts ja-JP/aEA5QfpmU-ChvRFXWy.js
63 KB 63 KB 0 B 0%
runtime-core.esm-bundler ja-JP/aEA5QfpmU-CyPDfpcP.js
50 KB 50 KB 0 B 0%
MkNotification ja-JP/aEA5QfpmU-fdboKOU_2.js
23 KB 23 KB 0 B 0%
built ja-JP/aEA5QfpmU-7DT8rof3.js
21 KB 21 KB 0 B 0%
reactivity.esm-bundler ja-JP/aEA5QfpmU-BJR4BmL-.js
21 KB 21 KB 0 B 0%
store ja-JP/aEA5QfpmU-DZxlBDa-.js
18 KB 18 KB 0 B 0%
runtime-dom.esm-bundler ja-JP/aEA5QfpmU-DyWpCC4b.js
17 KB 17 KB 0 B 0%
tinycolor ja-JP/aEA5QfpmU-PEGdpOg42.js
15 KB 15 KB 0 B 0%
achievements ja-JP/aEA5QfpmU-Gj3uXX79.js
10 KB 10 KB 0 B 0%
widgets ja-JP/aEA5QfpmU-CTqfVXEk.js
9.7 KB 9.7 KB 0 B 0%
theme ja-JP/aEA5QfpmU-hVyB4_aV2.js
8.3 KB 8.3 KB 0 B 0%
MkCustomEmoji ja-JP/aEA5QfpmU-syoo533m2.js
6.5 KB 6.5 KB 0 B 0%
MkAnimBg ja-JP/aEA5QfpmU-CB3yHUb32.js
4.8 KB 4.8 KB 0 B 0%
common ja-JP/aEA5QfpmU-DdBLeDCZ2.js
4 KB 4 KB 0 B 0%
MkSwiper ja-JP/aEA5QfpmU-XNdSIDhK2.js
3 KB 3 KB 0 B 0%
navbar ja-JP/aEA5QfpmU-CMu96dVk.js
2.9 KB 2.9 KB 0 B 0%
MkUrl ja-JP/aEA5QfpmU-BxUplruE2.js
2.9 KB 2.9 KB 0 B 0%
MkTabs ja-JP/aEA5QfpmU-D0XzH63l2.js
2.8 KB 2.8 KB 0 B 0%
MkCode ja-JP/aEA5QfpmU-D0T9uOVQ2.js
2.7 KB 2.7 KB 0 B 0%
lookup ja-JP/aEA5QfpmU-CdD0YQf-2.js
2.3 KB 2.3 KB 0 B 0%
MkSparkle ja-JP/aEA5QfpmU-DdqhCYm42.js
2.2 KB 2.2 KB 0 B 0%
dist ja-JP/aEA5QfpmU-DH0lBfzW.js
1.8 KB 1.8 KB 0 B 0%
_dark ja-JP/aEA5QfpmU-DfGzfoC32.js
1.8 KB 1.8 KB 0 B 0%
media-proxy ja-JP/aEA5QfpmU-D1Esi0VM.js
1.7 KB 1.7 KB 0 B 0%
_light ja-JP/aEA5QfpmU-D67CB4xl.js
1.7 KB 1.7 KB 0 B 0%
hotkey ja-JP/aEA5QfpmU-CXQbpknN.js
1.6 KB 1.6 KB 0 B 0%
is-birthday ja-JP/aEA5QfpmU-9L0SrME62.js
1.5 KB 1.5 KB 0 B 0%
MkStickyContainer ja-JP/aEA5QfpmU-BmzaPEiW2.js
1.4 KB 1.4 KB 0 B 0%
config ja-JP/aEA5QfpmU-DGOcRaCi.js
1.3 KB 1.3 KB 0 B 0%
preload-helper ja-JP/aEA5QfpmU-DyAp3Zfi.js
1.3 KB 1.3 KB 0 B 0%
MkLoading ja-JP/aEA5QfpmU-B5oKftjY2.js
1.1 KB 1.1 KB 0 B 0%
MkInfo ja-JP/aEA5QfpmU-CExFr2U9.js
1 KB 1 KB 0 B 0%
webgl ja-JP/aEA5QfpmU-wb3e_Vqx2.js
1 KB 1 KB 0 B 0%
use-scroll-position-keeper ja-JP/aEA5QfpmU-BiacK4842.js
990 B 990 B 0 B 0%
misskey-api ja-JP/aEA5QfpmU-DyMaik4b.js
986 B 986 B 0 B 0%
instance ja-JP/aEA5QfpmU-BxWdoXDL.js
918 B 918 B 0 B 0%
get-note-summary ja-JP/aEA5QfpmU-De5IKbAQ.js
704 B 704 B 0 B 0%
rolldown-runtime ja-JP/aEA5QfpmU-QTnfLwEv.js
694 B 694 B 0 B 0%
page ja-JP/aEA5QfpmU-BDSYajSq.js
688 B 688 B 0 B 0%
i ja-JP/aEA5QfpmU-D1y_EGFD.js
631 B 631 B 0 B 0%
clear-cache ja-JP/aEA5QfpmU-Di0pj_I92.js
472 B 472 B 0 B 0%
emoji-base ja-JP/aEA5QfpmU-BVbfT0gI2.js
413 B 413 B 0 B 0%
d-green-lime ja-JP/aEA5QfpmU-DEHvjKGz.js
391 B 391 B 0 B 0%
use-interval ja-JP/aEA5QfpmU-nsCIt9Jr.js
384 B 384 B 0 B 0%
l-light ja-JP/aEA5QfpmU-B8GJAiDX.js
351 B 351 B 0 B 0%
user ja-JP/aEA5QfpmU-SLQFmrJv.js
205 B 205 B 0 B 0%
get-bg-color ja-JP/aEA5QfpmU-B6J3wW2j2.js
190 B 190 B 0 B 0%
isChromatic ja-JP/aEA5QfpmU-Dd9satMa2.js
172 B 172 B 0 B 0%
is-device-darkmode ja-JP/aEA5QfpmU-CHGi6RJT2.js
93 B 93 B 0 B 0%
_plugin-vue_export-helper ja-JP/aEA5QfpmU-BDNMzG2s.js
84 B 84 B 0 B 0%

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

Bundle Stats

Bundles Modules Entries Imports Size
Static Dynamic Rendered Gzip Brotli
Before 466 2,853 21 8,580 323 10 MB 2.8 MB 2.4 MB
After 466 2,853 21 8,580 323 10 MB 2.8 MB 2.4 MB
Δ 0 0 0 0 0 $\text{-101 B}$ $\text{-53 B}$ $\text{+11 B}$
Δ (%) 0% 0% 0% 0% 0% $\text{-0\%}$ $\text{-0\%}$ $\text{+0\%}$

Open treemap HTML

@kakkokari-gtyih

Copy link
Copy Markdown
Member Author

コンフリクト解消

@kakkokari-gtyih

Copy link
Copy Markdown
Member Author

コンフリクト解消

@kakkokari-gtyih

Copy link
Copy Markdown
Member Author

コンフリクト解消

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages/backend:test packages/backend Server side specific issue/PR packages/frontend Client side specific issue/PR size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Development

Successfully merging this pull request may close these issues.

compile-config の廃止提案 Add environment variable for JSON config

2 participants