twitter / twitter/communitynotes

Possible infinite loop

Open
#248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.9k
Forks
350
Avg merge
6m
Merged PRs (30d)
2

Description

Describe the bug
The bug consists in a possible infinite loop trought a post that got CN and was deleted by the poster.

To Reproduce
Steps to reproduce the behavior:
I dont know if its possible to reproduce.

Expected behavior
You get CN points one time for a useful/unuseful rating, but it keeps repeating infedinetly.

Screenshots
image

Environment
This happens regardless of OS. Web/IOS/Android, whatever.

Additional context
The post was deleted by OP before or after the CN was pushed as useful and due to shown on the post. Since the post was deleted, I get this notification from time to time that I rated that note as useful, rendering it in an infinite loop-like.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by tracing the rating and notification flow for a Community Note that was deleted by its poster, then verify that a useful or unuseful rating awards CN points once and does not generate repeated notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.