Stop WhoToFollow from recommending muted or blocked accounts - #153
Open
Pitchfork-and-Torch wants to merge 1 commit into
Open
Stop WhoToFollow from recommending muted or blocked accounts#153Pitchfork-and-Torch wants to merge 1 commit into
Pitchfork-and-Torch wants to merge 1 commit into
Conversation
SGS mute/block list hydrators now mark the query ready only on a successful read. For You and Latest Following blender pipelines load those lists. WhoToFollow stays disabled until both lists are ready and sends muted/blocked ids in excluded_user_ids ahead of fatigue ids. Co-authored-by: Jon Bailey <Pitchfork-and-Torch@users.noreply.github.com>
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.
Bug
WhoToFollow
excluded_user_idsonly sent previously shown WTF accounts. It never sent muted or blocked user ids.For You and Latest Following blender pipelines never loaded those SGS lists. Phoenix loads them for post filters only. WTF runs at the blender layer, so VF never sees the recommended accounts.
SGS
get_muted_user_ids/get_blocked_user_idsErr is ignored by query hydration (updateis skipped). Empty lists look like "muted nobody".This is not #137 (VF primary-author relationship Failed). This is not #23 / #140 (quoted-author mute on posts). ListTimeline / ListLatest are not in this dump.
Five-line proof
MutedUserIdsQueryHydrator/BlockedUserIdsQueryHydrator(SGS list membership). For You / Latest Following blender queries never ran them.WhoToFollowSource::get_excluded_user_ids→ ARMWhoToFollowReactiveContext.excluded_user_idsFollowingRepliedUsersHydratoralready excludes muted+blocked ids;AuthorSocialgraphFilteralready uses the same lists for postsChange
excluded_user_idsputs muted/blocked ids first, then fatigue ids.Genuine empty lists (viewer muted/blocked nobody) still enable the module.
Tests
updatesets the ready flagStandalone decision-table harness (same exclude / ready arms): 8/8 passed.
cargo testcannot run. Public dump has no Home Mixer manifest.Leftover
Mixer
AuthorSocialgraphFilterstill treats an unready empty list as nobody muted/blocked for quoted/RT authors. After #137, VF is the sink for primary-author mute/block. WTF has no VF sink.Fork PR: none