Repository navigation
fix(mcp): make company context search find shared knowledge pills - #31527
Conversation
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
✅ Playwright Results — workflow succeededValidated commit ✅ 1026 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 55m 23s ⏱️ Max setup 3m 11s · max shard execution 16m 40s · max shard-job elapsed before upload 27m 12s · reporting 6s 🌐 198.80 requests/attempt · 2.21 app boots/UI scenario · 32.70% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
Failed to cherry-pick changes to the 1.13 branch. |
|
Changes have been cherry-picked to the 2.0 branch. |
Code Review ✅ ApprovedFixes company context search in MCP by passing the caller's identity and correctly applying file-extracted shared pill filters, ensuring shared knowledge pills are properly retrieved. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
search_company_contextnow passes the caller's identity to the vector search. Without it the search fell back to hiding everything not marked org-wide, and knowledge pills are marked "Shared" — so it returned nothing, for every query and every user, admins included.Fixes #31521