Skip to content

fix(web): recall publishers outside browse window in search#2790

Merged
Patrick-Erichsen merged 6 commits into
openclaw:mainfrom
vyctorbrzezowski:fix/web-publishers-search-recall
Jun 23, 2026
Merged

fix(web): recall publishers outside browse window in search#2790
Patrick-Erichsen merged 6 commits into
openclaw:mainfrom
vyctorbrzezowski:fix/web-publishers-search-recall

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Deploy note

Merge alone does not fix production. This PR only changes Convex (convex/publishers.ts); there are no frontend changes.

After merge to main, a maintainer must deploy the Convex backend (target backend or full):

gh workflow run deploy.yml --repo openclaw/clawhub --ref main -f target=backend

Merging to main does not auto-deploy. Until the backend deploy lands, /publishers search on clawhub.ai will still show the pre-fix behavior documented below.

Summary

  • Publisher search on /publishers only scanned the top browse window (~500 publishers by downloads/installs) before applying the text filter, so matching handles outside that window never appeared.
  • This affects publishers with real published content too: vyctorbrzezowski has 5 skills and 46 installs in production but does not show up for ?q=vyctor or ?q=vyctorbrzezowski.
  • Search also excluded publishers with zero public skills/packages; search now keeps empty profiles when the query matches.
  • The fix adds indexed handle-prefix recall (plus exact-handle lookup) on top of the existing downloads-backed browse path, and keeps empty publishers in search results when the query matches.

Proof (production, before backend deploy)

Browser

?q=vyctorbrzezowski → no publishers found

publishers?q=vyctorbrzezowski returns empty on production

?q=vincent → only vincentchan (missing vincentkoc)

publishers?q=vincent missing vincentkoc on production

Convex read-only (wry-manatee-359.convex.cloud)

Query listPublicPage handles
vyctor []
vyctorbrzezowski []
vincent ["vincentchan"]
vincentkoc []

Profiles that exist but are missing from search:

  • vyctorbrzezowski → 5 skills, 1 package, 46 installs
  • vincentkoc → public profile, 0 published skills

Test plan

  • VITE_CONVEX_URL=https://example.invalid bunx vitest run convex/publishers.test.ts
  • Production read-only validation against wry-manatee-359.convex.cloud
  • Regression tests for low-install handle recall (vincentkoc, vyctorbrzezowski)
  • Production browser screenshots captured from https://clawhub.ai/publishers

Publisher search only scanned the top 500 by installs and dropped empty
profiles, so handles like vincentkoc never appeared even when the user
profile was public.
Add regression coverage for publishers with published skills that fall
outside the top install browse window, matching the vyctorbrzezowski case.
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@vyctorbrzezowski is attempting to deploy a commit to the OpenClaw Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Remove stats.skills expectation from listPublicPage search recall test;
public list items only expose downloads and installs counts.
@Patrick-Erichsen Patrick-Erichsen merged commit a5e4132 into openclaw:main Jun 23, 2026
18 of 26 checks passed
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