Skip to content

fix(jianyu): keep accessible detail urls in search#1099

Merged
jackwener merged 1 commit intomainfrom
codex-mini0/jianyu-url-class-fix
Apr 20, 2026
Merged

fix(jianyu): keep accessible detail urls in search#1099
jackwener merged 1 commit intomainfrom
codex-mini0/jianyu-url-class-fix

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

  • stop treating non-/jybx/ Jianyu detail URLs as entry_only
  • keep blocking verification / paid-wall paths and navigation pages
  • restore /notice/detail/123 as a regression fixture and add URL-class coverage

Why

classifyDetailStatus() currently only marks /jybx/ as ok. 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

@jackwener jackwener merged commit 295c523 into main Apr 20, 2026
11 checks passed
@jackwener jackwener deleted the codex-mini0/jianyu-url-class-fix branch April 20, 2026 16:34
luxiaolei pushed a commit to luxiaolei/OpenCLI that referenced this pull request Apr 21, 2026
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.

1 participant