Repository navigation
feat(search-mcp): involving person filter on live search - #10439
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
[Medium impact] The PR appears safe to merge, with no new actionable issues found. SummaryAdds optional
Reviews (5) · Last reviewed commit: "fix(search-mcp): never take a Jira user ..." · Reviewed by Greptile |
There was a problem hiding this comment.
All reported issues were addressed across 14 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 14 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Adds an optional involving field ("me" or an email) to the Search MCP search tool. Each provider that can filter by person applies its own native clause; sources that cannot are skipped with an unavailable status instead of returning unfiltered results.
… people across sites, skip Confluence for colleague emails
5904a87 to
981c254
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 14 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
involvingfield on the Search MCPsearchtool:"me"or a colleague's email. Answers "what did I work on last week", "what's assigned to me", "what has been doing on X"; an empty query plus a date range lists that person's activityfrom:mefor you (nearly all mail in your own mailbox is addressed to you),{from: to: cc:}for anyone elsein owners or in writersmesearches the primary calendar only; an email also narrowsq)from:me, orfrom:<@ID>viausers.lookupByEmailassignee OR reporter, withcurrentUser()or the account ID from user searchcontributor = currentUser()(me only; no email lookup)involves:on issues/PRs,author:on commits; code is skipped; email resolves only through a public profile; refuses a native query that already names the same qualifier (GitHub ORs repeated qualifiers)or: [assignee, creator]withisMe/emailunavailablestatus (notFilteredByPersonnote), never unfiltered results, and they no longer take one of the 20 account slotsinvolving: me | person(never the email)Type of Change
Testing
application.test.ts: unsupported source is never searched and is reported; the provider gets the normalized person; an invalid person is rejected before any account opensproviders.test.ts: GitHub refuses a duplicateinvolves:; Calendar drops declined and others' eventsbun run check:api-validation:strict, biome on changed files; full type-check, audits and suites run in CIChecklist
test-auditauthoring gate)