-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(backend): happy-domで外部HTMLをパースする際に関連リソースが読み込まれる問題を修正 #14521
fix(backend): happy-domで外部HTMLをパースする際に関連リソースが読み込まれる問題を修正 #14521
Conversation
version 10 didn't quite support disabling all of that I have tested that `MfmService` (the other code that uses `happy-dom`) still works fine: the RSS feed for a user is generated correctly, with HTML rendered from MFM (cherry picked from commit 26e0412)
このPRによるapi.jsonの差分 差分はこちら |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #14521 +/- ##
============================================
+ Coverage 19.53% 39.62% +20.09%
============================================
Files 713 1535 +822
Lines 100287 190816 +90529
Branches 997 2597 +1600
============================================
+ Hits 19591 75618 +56027
- Misses 80152 114637 +34485
- Partials 544 561 +17 ☔ View full report in Codecov by Sentry. |
🙏🏿 |
Sharkeyでこの変更からしばらくしたあとにメモリ使用量の瞬間的な増加が見られたらしいのでやっぱあかんかもしれない(原因の切り分けまではまだ行われていないので今なにかをするというよりかはそういうことがあったということを覚えておく程度で良い) |
version 10 didn't quite support disabling all of that
I have tested that
MfmService
(the other code that useshappy-dom
) still works fine: the RSS feed for a user is generated correctly, with HTML rendered from MFM(cherry picked from commit 26e0412fbb91447c37e8fb06ffb0487346063bb8)
What
https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/610?commit_id=f244d425005ae662cfb94f2a18e38cedadfb3c0a#note_5069
Why
無駄かも
Additional info (optional)
v14で見られたメモリリークはv15になるときのリファクタリングで解消されたかもしれないという報告があるけど真偽は不明
capricorn86/happy-dom#1055 (comment)
Checklist