Skip to content

Project-scoped smart-search returns a short page when other projects fill the over-fetch #444

Open

Description

@possiblyneal

Problem

Project-scoped smart-search over-fetches a fixed 100 candidates, then filters by project. When other projects' rows fill that window, the scoped page comes back short or empty although matching rows exist further down.

Evidence

  • src/functions/smart-search.ts:254-256

Upstream diagnosis: rohitg00#1668, fixed upstream by rohitg00#1669.

Acceptance criteria

  • When the scoped page is short and the over-fetch was full, search widens (bounded) and ranks again
  • Test: 150 stronger matches in another project; this project's 3 matches are returned
  • npm run eval:gate passes; note latency on the 20,000-Observation burst store

Activity

  1. added
    bugSomething isn't working
    ready-for-agentFully specified, ready for an AFK agent
    needs-triageMaintainer needs to evaluate this issue
    and removed
    ready-for-agentFully specified, ready for an AFK agent
    on Nov 18, 2026
  2. possiblyneal commented on Nov 18, 2026

    @possiblyneal
    OwnerAuthor

    Not verified on this tree yet. Held at needs-triage until Verify: project-scoped smart-search returns a short page gives a tested verdict: a failing reproduction and a fix that works here, or a reject.

  3. possiblyneal commented on Nov 18, 2026

    @possiblyneal
    OwnerAuthor

    Verdict: apply (verified 2026-11-18)

    The fork already over-fetches max(limit×10, 100), but the window is fixed, so a project-scoped page still comes back short when other projects fill it. Repro, fix and eval: Verify: project-scoped smart-search returns a short page. Not committed.

  4. added
    ready-for-agentFully specified, ready for an AFK agent
    and removed
    needs-triageMaintainer needs to evaluate this issue
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions