スレッドミュートにおいて、RN/引用/リアクションの通知もミュートするように | スレッドミュートのE2Eテスト修正#15271
Open
Sayamame-beans wants to merge 19 commits into
Open
スレッドミュートにおいて、RN/引用/リアクションの通知もミュートするように | スレッドミュートのE2Eテスト修正#15271Sayamame-beans wants to merge 19 commits into
Sayamame-beans wants to merge 19 commits into
Conversation
…uted but Quoting is on muted tree
Member
Author
|
タイトルを変え忘れたので修正しました… |
Contributor
|
このPRによるapi.jsonの差分 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #15271 +/- ##
===========================================
- Coverage 62.42% 62.41% -0.02%
===========================================
Files 1162 1162
Lines 116557 116581 +24
Branches 9079 9072 -7
===========================================
- Hits 72764 72760 -4
- Misses 41601 41612 +11
- Partials 2192 2209 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
Author
|
conflictを解消 |
Member
Author
|
test更新したんですが、何故failedしたのか謎…? (failした箇所と同じ操作をローカル環境で行う分には正常に動いているように見える) |
Member
Author
|
test通りました |
anatawa12
added a commit
to anatawa12/misskey
that referenced
this pull request
Jan 28, 2025
…#15271) commit 7de945d Merge: ff3c154 4f31dcf Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Mon Jan 27 19:25:03 2025 +0900 Merge branch 'develop' into enhance-thread-mute commit ff3c154 Merge: 97d6561 8f37fb6 Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Sat Jan 25 21:39:48 2025 +0900 Merge branch 'develop' into enhance-thread-mute commit 97d6561 Merge: 72aa1cb 31ccefa Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Tue Jan 21 19:47:39 2025 +0900 Merge branch 'develop' into enhance-thread-mute commit 72aa1cb Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Sun Jan 19 03:57:55 2025 +0900 test(backend): fix test commit 9f94145 Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Sun Jan 19 03:49:07 2025 +0900 test(backend): fix test commit cf67704 Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Wed Jan 15 23:23:11 2025 +0900 test(backend): update thread-mute test commit a379c85 Merge: fb43b2d 145c6cf Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Tue Jan 14 21:39:11 2025 +0900 Merge branch 'develop' into enhance-thread-mute commit fb43b2d Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Mon Jan 13 21:45:26 2025 +0900 docs(changelog): update changelog commit 17bf032 Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Mon Jan 13 20:39:30 2025 +0900 fix(backend): thread mute did not suppress Quote when Quoted is not muted but Quoting is on muted tree commit 109718f Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Mon Jan 13 17:18:30 2025 +0900 chore: move comment position commit b3d0ac9 Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Sun Jul 21 00:25:43 2024 +0900 fix(backend): thread mute did not suppress Reaction commit 61f517a Author: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Sat Jul 20 23:44:05 2024 +0900 fix(backend): thread mute did not suppress RN/Quote
5 tasks
Member
Author
|
fixed ci failure |
Member
Author
|
コンフリクト解消 |
Member
|
うーんRNやリアクションの通知はスレッドとはそんなに関係ないから通知してもいい気がするわね |
Member
|
日本人で多くのメンションを含む長大なスレッドを作る人はほとんど見たことがないので、実際にこの機能を使うであろう海外ユーザーに意見を求めたい気がするわね |
Member
|
(実装するにしても、DBに毎回ほとんどのケースで無駄になるクエリが発生するのは非効率だから別の実装方法を考えたい) |
Member
Author
|
スレッドミュートとは別の機能として分離したいということでしょうか |
Member
まぁまぁあると思う |
Member
Author
|
コンフリクト解消 |
Member
Author
|
conflict resolved |
Contributor
Backend memory usage comparisonBefore GC
After GC
After Request
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
スレッドミュートはこれまで、対象スレッドでの返信通知とメンション通知にのみ作用していましたが、リノート通知と引用通知、リアクション通知に対しても作用するようにしました。
なお、以下のケースでは通知がミュートされません。(ミュートを行っているユーザーをAとします)
これは、ミュートした意図と関係ない会話の中で引用した場合にミュートされてしまうことが無いようにするためです。
逆に言えば、そのようにすることでスレッドミュートを迂回して通知を発生させられてしまうということですが、それが悪質なユーザーによるものであれば、ユーザーのブロック/ミュート、及び通知受け取り範囲の調整が可能であるため問題ないと判断しました。
Why
fix: #13965
Additional info (optional)
スレッドミュートはWebhookにも適用される処理に(以前から)なっているのですが、これは適用しないべきなのでしょうか?
(現状は返信が含まれないため、スレッドミュートを適用する必要のある箇所がありません。)
の追加~が出来ていません追加しました。これで良いか若干自信が無いですが…Checklist