diff options
| author | Adam Soltys <[email protected]> | 2026-11-17 13:14:03 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-17 13:14:03 -0700 |
| commit | 7b2c4626ae67f9d337d285bdd9170f511a9c14aa (patch) | |
| tree | 7f8cf107c23d63b01b49f8f76629bb2307d224b4 /tools/feed-follow-test.js | |
| parent | 550776ed795f1da392ea39a7de5850630f02b16f (diff) | |
| download | coinosv3-7b2c4626ae67f9d337d285bdd9170f511a9c14aa.tar.gz coinosv3-7b2c4626ae67f9d337d285bdd9170f511a9c14aa.zip | |
People search looks among the people you follow first. "derek ross leaked his key and started a new npub. i tried searching him up and found this … it says no posts" … "Did we get our search to bring up his new account … as the top result?" (Adam, 2026-11-17). Search for "derek ross" came up with an empty impostor key: Primal's user search (our main source) doesn't index his new key yet and ranks by its own trust score, and only one NIP-50 relay has it, 34th. Adam already follows the new key. Now a follow whose name or NIP-05 matches the query ranks with coinos usernames, above the indexes; the chat feature hands its follow list and the profiles it holds to the search, and fetches follows' profiles it has never seen once a session, the first time a search asks. Rows found while those are still loading aren't cached, so the next search sees them; older cached results are dropped (search cache v3). New search-follows-test (follow first, impostor still listed after, renamed old key not matched, NIP-05 match, partial answers not cached) passes, with search-scope, search-avatar-loading and features-smoke.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
Diffstat (limited to 'tools/feed-follow-test.js')
0 files changed, 0 insertions, 0 deletions
