Skip to content
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

Misskey® Reactions Buffering Technology™ #14579

Merged
merged 17 commits into from
Sep 20, 2024

Conversation

syuilo
Copy link
Member

@syuilo syuilo commented Sep 19, 2024

What

Resolve #11093

Why

See #11093

Additional info (optional)

  • reactionAndUserPairCacheの扱い

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 added the packages/backend Server side specific issue/PR label Sep 19, 2024
Copy link
Contributor

github-actions bot commented Sep 19, 2024

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

差分はこちら
--- base
+++ head
@@ -416,6 +416,9 @@
                     "perUserListTimelineCacheMax": {
                       "type": "number"
                     },
+                    "enableReactionsBuffering": {
+                      "type": "boolean"
+                    },
                     "notesPerOneAd": {
                       "type": "number"
                     },
@@ -636,6 +639,7 @@
                     "perRemoteUserUserTimelineCacheMax",
                     "perUserHomeTimelineCacheMax",
                     "perUserListTimelineCacheMax",
+                    "enableReactionsBuffering",
                     "notesPerOneAd",
                     "backgroundImageUrl",
                     "deeplAuthKey",
@@ -13860,6 +13864,9 @@
                   "perUserListTimelineCacheMax": {
                     "type": "integer"
                   },
+                  "enableReactionsBuffering": {
+                    "type": "boolean"
+                  },
                   "notesPerOneAd": {
                     "type": "integer"
                   },

Get diff files from Workflow Page

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 29.83683% with 301 lines in your changes missing coverage. Please review.

Project coverage is 41.39%. Comparing base (4ac8aad) to head (0127b9f).
Report is 5 commits behind head on develop.

Files with missing lines Patch % Lines
...ages/backend/src/core/ReactionsBufferingService.ts 25.92% 120 Missing ⚠️
...ckages/frontend/src/pages/admin/other-settings.vue 0.00% 72 Missing ⚠️
...ges/backend/src/core/entities/NoteEntityService.ts 16.92% 54 Missing ⚠️
packages/backend/src/core/ReactionService.ts 8.33% 33 Missing ⚠️
...rocessors/BakeBufferedReactionsProcessorService.ts 67.50% 13 Missing ⚠️
packages/backend/src/server/HealthServerService.ts 0.00% 4 Missing ⚠️
...kend/src/server/api/endpoints/admin/update-meta.ts 20.00% 4 Missing ⚠️
...ges/backend/src/server/api/endpoints/admin/meta.ts 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #14579      +/-   ##
===========================================
- Coverage    41.43%   41.39%   -0.05%     
===========================================
  Files         1543     1545       +2     
  Lines       197423   197761     +338     
  Branches      3603     3561      -42     
===========================================
+ Hits         81809    81867      +58     
- Misses      115020   115330     +310     
+ Partials       594      564      -30     

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

@github-actions github-actions bot added the packages/frontend Client side specific issue/PR label Sep 20, 2024
@syuilo syuilo marked this pull request as ready for review September 20, 2024 04:09
@syuilo
Copy link
Member Author

syuilo commented Sep 20, 2024

マージするか

@tai-cha
Copy link
Contributor

tai-cha commented Sep 20, 2024

動作は見れてないけどコードを目で追った感じはYOSASOU

@syuilo syuilo merged commit 0b062f1 into develop Sep 20, 2024
33 checks passed
@syuilo syuilo deleted the reactions-buffering-technology branch September 20, 2024 12:03
@syuilo
Copy link
Member Author

syuilo commented Sep 20, 2024

🙏🏿

@syuilo
Copy link
Member Author

syuilo commented Sep 21, 2024

(RBTがオフの状態でも)リアクション分裂現象が起こっている

@syuilo
Copy link
Member Author

syuilo commented Sep 21, 2024

TASUKETE

@fruitriin
Copy link
Contributor

(自分がポストしたとき?)ホスト名がnullではなく.になっていて、一致しなくて分裂しているらしい?

@kakkokari-gtyih
Copy link
Contributor

旧バージョン

image

RBT導入後

image

なのでローカルの絵文字のホスト名のハンドリングをどちらかに寄せる必要がありそう

@kakkokari-gtyih
Copy link
Contributor

kakkokari-gtyih commented Sep 22, 2024

image

これでいけたりする?(L71, 72)

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 packages/misskey-js
Projects
None yet
Development

Successfully merging this pull request may close these issues.

リアクションごとにノートのリアクション情報が更新されるのは重い
4 participants