Skip to content

[Bug]: Desktop project search can miss matching thread messages #44700

Done

Description

@ImBIOS

Area

Desktop sidebar search and server message search

Steps to reproduce

  1. Use two projects on the same T3 environment. Put an older thread in project A with a neutral title and a message containing a distinctive phrase, such as oriole handoff.
  2. In project B, create at least 50 threads with stronger message matches for the same phrase so they fill the message-search result limit.
  3. Select project A in the Desktop sidebar project filter and search for the phrase.

Expected behavior

The thread from project A appears in the results. Other projects do not consume the selected project's search budget.

Actual behavior

The thread can disappear. The server strips project scope from the message lookup and applies its limit across the environment. The client filters those results to project A after retrieval.

Impact

Searching a busy T3 environment can fail to retrieve a known older thread by its message text, even when its project is selected.

Related work

Indexed message search was introduced in #24343. #36683 was an earlier, closed attempt to apply project scope to message results. Discussion #34425 covers palette project filtering.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions