Skip to content

Stop WhoToFollow from recommending muted or blocked accounts - #153

Open
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/wtf-mute-block-exclude-a2f3
Open

Stop WhoToFollow from recommending muted or blocked accounts#153
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/wtf-mute-block-exclude-a2f3

Conversation

@Pitchfork-and-Torch

Copy link
Copy Markdown

Bug

WhoToFollow excluded_user_ids only 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_ids Err is ignored by query hydration (update is 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

  • Entry: MutedUserIdsQueryHydrator / BlockedUserIdsQueryHydrator (SGS list membership). For You / Latest Following blender queries never ran them.
  • Sink: WhoToFollowSource::get_excluded_user_ids → ARM WhoToFollowReactiveContext.excluded_user_ids
  • Break: exclude set was fatigue-only; list Err left empty vectors; blender never hydrated the lists
  • Viewer effect: a muted or blocked account can appear in Who To Follow on For You and Latest Following
  • Twin: FollowingRepliedUsersHydrator already excludes muted+blocked ids; AuthorSocialgraphFilter already uses the same lists for posts

Change

  • Mark mute/block lists hydrated only after a successful SGS read. Err leaves the flags false.
  • Load both lists on the For You and Latest Following blender pipelines.
  • WhoToFollow stays off until both lists are ready. excluded_user_ids puts muted/blocked ids first, then fatigue ids.

Genuine empty lists (viewer muted/blocked nobody) still enable the module.

Tests

  • Enable is false until both list flags are set
  • Muted and blocked ids are excluded before fatigue ids
  • A full mute/block cap does not admit a fatigue id
  • Hydrator update sets the ready flag

Standalone decision-table harness (same exclude / ready arms): 8/8 passed.

cargo test cannot run. Public dump has no Home Mixer manifest.

Leftover

Mixer AuthorSocialgraphFilter still 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

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants