[wp-trac] [WordPress Trac] #64175: The `in:body` search queries not respected through GitHub's GraphQL API

WordPress Trac noreply at wordpress.org
Fri Oct 31 01:36:41 UTC 2025


#64175: The `in:body` search queries not respected through GitHub's GraphQL API
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61100" 61100]:
 {{{
 #!CommitTicketReference repository="" revision="61100"
 Build/Test Tools: Remove `in:body` from pull request search query.

 When searching for pull requests using the GraphQL API, `in:body` is not
 being respected in search queries. Because it’s common for Trac tickets to
 be referenced in the discussions happening in comments and reviews, some
 pull requests are being closed out incorrectly.

 This removes `in:body` from the search query introduced in [59661] and
 instead checks the `bodyText` for references to the fixed tickets.

 The `state` field is also being removed because it is unused.

 Props dd32, peterwilsoncc, johnbillion, joedolson, westonruter, dmsnell.
 Fixes #64175.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64175#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list