fix(jianyu): keep accessible detail urls in search#1099
Merged
Conversation
luxiaolei
pushed a commit
to luxiaolei/OpenCLI
that referenced
this pull request
Apr 21, 2026
(cherry picked from commit 295c523)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/jybx/Jianyu detail URLs asentry_only/notice/detail/123as a regression fixture and add URL-class coverageWhy
classifyDetailStatus()currently only marks/jybx/asok. That narrows search recall and drops other readable detail URLs such as/notice/detail/..., even though the rest of the Jianyu pipeline still treats those as valid detail pages.Test plan
node node_modules/vitest/vitest.mjs --project adapter run clis/jianyu/search.test.js clis/jianyu/shared/procurement-detail.test.js