Skip to content

fix: stop matching plugin repository URLs#9314

Merged
Soulter merged 1 commit into
masterfrom
codex/fix-plugin-repo-search
Jul 18, 2026
Merged

fix: stop matching plugin repository URLs#9314
Soulter merged 1 commit into
masterfrom
codex/fix-plugin-repo-search

Conversation

@Soulter

@Soulter Soulter commented Jul 18, 2026

Copy link
Copy Markdown
Member

Fixes #9225.

What changed

Remove the repo URL from the plugin marketplace's general text-search fields.

Why

Repository URLs commonly contain infrastructure terms such as github, http, https, and //. Matching the complete URL causes those queries to match nearly every plugin instead of narrowing the results.

Repository links remain available on plugin cards; they simply no longer influence general marketplace search results. Searches across plugin names, descriptions, authors, versions, platforms, and tags are unchanged.

Validation

  • pnpm typecheck
  • Focused regression assertions for github, http, https, and //
  • Positive assertions for plugin name and author matching
  • git diff --check

Summary by Sourcery

Bug Fixes:

  • Prevent marketplace text searches for common infrastructure terms (e.g., github, http/https, //) from matching nearly all plugins by removing repository URLs from search indexing.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the plugin?.repo field from the list of searchable fields returned by getPluginSearchFields in pluginSearch.js. There are no review comments, so I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@Soulter
Soulter marked this pull request as ready for review July 18, 2026 10:30
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 18, 2026
@Soulter
Soulter merged commit c1a7b34 into master Jul 18, 2026
19 checks passed
@dosubot dosubot Bot added the area:webui The bug / feature is about webui(dashboard) of astrbot. label Jul 18, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webui The bug / feature is about webui(dashboard) of astrbot. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 在插件市场搜索插件时一些词不会正确筛选插件-

1 participant