Skip to content

fix(scanner): centrally scan updates to existing plugin listings - #592

Merged
zerocodefast merged 5 commits into
mainfrom
plugin-contrib/scan-updated-readme-entries-20261027
Oct 27, 2026
Merged

zerocodefast merged 5 commits into
mainfrom
plugin-contrib/scan-updated-readme-entries-20261027

Conversation

@kantorcodes

@kantorcodes kantorcodes commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Contributor blocker

An existing plugin's README row can be revised (for example, spec-superflow v2.1.0 in #579) while both the PR and scheduled centralized catalog sweeps classify the change as having no new Community Plugins entry. The catalog-owned source scanner is skipped, leaving no fresh score for an update whose admission policy still requires one.

Change

  • Include new or substantively revised Community Plugins rows when computing centralized source-scan inputs. Keep duplicate source URLs to one scan target per PR.
  • Do not rescan identical README rows merely moved during reordering.
  • Add regression cases for changed description/version, changed display name, and unchanged reordered entries.
  • Correct contributor-facing validator messages to distinguish absence of both new and revised rows.

Scope and verification

The three modified branch files were read back from GitHub after commits. The unit tests are provided in scripts/test_validate_contribution_branch.py; they have not been executed locally in this invocation. CI and independent maintainer/security review are required. This change does not alter the centralized scanner's 80/100 threshold, override any reviewer/branch protection requirement, or approve, merge or publish any external plugin. Authored with AI assistance for independent review.

Related original contributor source: #579. Do not treat this PR as catalog approval or adoption.

Follow-up: cross-section scan coverage (October 27, 2026)

  • Base README comparison is restricted to Community Plugins entries. A source listing moved from another section into Community Plugins must receive a fresh centralized scan, even when its name, URL and description are unchanged.
  • Regression coverage: test_listing_moved_from_other_section_requires_scan, in addition to changed-version, changed-name and unchanged-reorder tests.
  • Current head: bb550e5c1deeea67b39e4e382ef0fcb6145c6c56. GitHub Actions reports success for Build & Deploy (#40512107116), Validate Codex Plugin Contributions (#40512106939) and HOL Plugin Scanner — Lint (#40512107104) on that head.
  • Local tests were not executed in this environment. Independent maintainer/security review and all normal merge rules remain required; no external author listing has been approved or published.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Scan revised Community Plugins listings

🐞 Bug fix 🧪 Tests 🕐 10-20 Minutes

Grey Divider

AI Description

• Queue new and revised Community Plugins rows for centralized source scans, including existing
 listings with updated names or descriptions.
• Avoid rescanning unchanged rows moved by reordering, and deduplicate scan targets by source URL.
• Add regression tests and clarify messages when no new or revised rows are found.
Diagram

graph TD
  A["README diff"] --> B["Row parser"] --> C{"New or revised?"} -->|yes| D["URL deduplication"] --> E["Source validation"] --> F["Scanner matrix"]
  C -->|no| G["Skip unchanged"]
Loading
High-Level Assessment

Keep the shared row-identity comparison: it closes the URL-only detection gap for both PR and scheduled sweeps without changing scanner policy. Comparing whole README sections instead would add complexity without a clear benefit for this scoped fix.

Files changed (3) +80 / -9

Bug fix (1) +10 / -6
validate-contribution.pySelect new or revised README rows +10/-6

Select new or revised README rows

• Compares added Community Plugins rows against base-row identities comprising display name, normalized source URL, and description, so revisions to existing listings can reach source scanning. Preserves URL deduplication and excludes identical rows moved during reordering; updates related function descriptions.

scripts/validate-contribution.py

Tests (1) +67 / -0
test_validate_contribution_branch.pyCover revised listings and harmless reordering +67/-0

Cover revised listings and harmless reordering

• Adds tests showing that description or version changes and display-name changes select an existing source for scanning. Verifies that reordering identical rows selects no entries.

scripts/test_validate_contribution_branch.py

Documentation (1) +3 / -3
validate-contribution-centralized.pyClarify centralized scan scope in messages +3/-3

Clarify centralized scan scope in messages

• Updates the sweep description and empty-result messages to state that both new and revised rows are considered. The sweep continues to use the shared entry selector.

scripts/validate-contribution-centralized.py

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can describe a rule in plain language on the Rules page and Qodo drafts it for you

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@internet-dot internet-dot 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.

Checks green, review threads resolved, quiet window elapsed at bb550e5.

@zerocodefast
zerocodefast merged commit 72c674d into main Oct 27, 2026
16 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