lbryio / lbryio/hub

missing claim search - reposts + stream_type

Open
#82 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Python
Stars
15
Forks
16
PR merge metrics
No merged PRs in 30d

Description

randomly some reposts won't show when stream type is passed. It works for some though.

Compare:
{"jsonrpc":"2.0","method":"claim_search","params":{"page_size":36,"page":1,"claim_type":["repost"],"no_totals":true,"not_channel_ids":[],"order_by":["release_time"],"has_source":true,"channel_ids":["bc935e4482c6bf70d14dd872fae159a65c552eb3"],"release_time":">1657206000"},"id":1658422571434}
to
{"jsonrpc":"2.0","method":"claim_search","params":{"page_size":36,"page":1,"claim_type":["repost"],"no_totals":true,"not_channel_ids":[],"order_by":["release_time"],"has_source":true,"channel_ids":["bc935e4482c6bf70d14dd872fae159a65c552eb3"],"release_time":">1657206000","stream_types":["video"]},"id":1658422571434}

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the two claim_search requests in the issue, comparing results with and without stream_types. Trace the claim_search implementation and its repost filtering to identify why some matching reposts disappear; done means the stream_types request returns the expected reposts consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.