-
-
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): リプライがstreamで配信される際にリプライ元のmyReactionが正常に配信されていない問題を修正 #15210
base: develop
Are you sure you want to change the base?
fix(backend): リプライがstreamで配信される際にリプライ元のmyReactionが正常に配信されていない問題を修正 #15210
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #15210 +/- ##
========================================
Coverage 39.93% 39.94%
========================================
Files 1563 1563
Lines 197977 198016 +39
Branches 3633 3628 -5
========================================
+ Hits 79065 79097 +32
- Misses 118307 118346 +39
+ Partials 605 573 -32 ☔ View full report in Codecov by Sentry. |
このPRによるapi.jsonの差分 |
please do NOT merge this yet we have discovered a bug. the source of the problem is that so when a note is published to redis, it gets de-serialised once per server process, and then that single objecc is passed to all active channels on each connection. so for example, if we had a single web server process:
this was not a problem before these changes, because each we're working on a fix (which will probably involve a doing shallow clone of the note object before modifying it), I'll link to our branch as soon as we've tested it |
Todo: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/840
What
リプライとその被リプライのノートがstreamに流れる際に、被リプライのノートに
myReaction
がある(=被リプライのノートに自分がリアクションしている)場合でもそれが正常に反映されていない問題を修正↑青色の枠で囲ったノートがstreamで流れてきた際に、赤色の枠で囲ったほうのリアクションに
myReaction
があった場合でも正常に記録されていないという問題があったWhy
Additional info (optional)
Misskeyの標準UIでは被リプライのノートのリアクションは最小化されて表示されないので今まで影響がなかった
Checklist