Repository navigation
Backport 2.0: MCP and search fixes (#32226, #32552, #32460, #32553, #32342) - #32987
Conversation
* fix(mcp): respect entity patch lifecycles * fix(mcp): protect task patch lifecycle * gitarbot feedback: block document, metric, metricGroup patch lifecycles too * reflow lifecycle comment so no entry wraps at the 100-col limit * drop metric and metricGroup entries, reverted upstream by #32333 (cherry picked from commit ac4a26b)
* fix(search): apply the caller's policies to bot searches (#30023) * test: poll for the widened bot's own view in the allow-only role IT * test: probe search RBAC on the asset index, not the domain index * test: prove bot search scoping with a deny rule, not domains * gitarbot feedback: include team ids in the RBAC query cache key (cherry picked from commit dda6a92)
* fix(ingestion): use HTTP transport for MCP connector * Update generated TypeScript types and dereferenced schemas * chore: prune obsolete G004 baseline entries * fix(ingestion): complete MCP HTTP transport support * style(ingestion): format MCP transport client --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> (cherry picked from commit c45f71a)
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ ApprovedBackport of 5 already-merged commits from 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 |
|
|



Describe your changes:
Backport of 5 already-merged
maincommits to2.0. No new code.Original PRs: #32226, #32552, #32460 (Fixes #30023), #32553, #32342
e2f258207ec5b69338f8756547db497b79ff8f847f2b4b3863Notes:
2.0in Backport 2.0: AI context trust signals (#32261) + prerequisite MCP context-memory visibility (#32465) #32973.PatchEntityToolTest.javahad an import-only conflict (Apply context memory visibility rules on MCP entity reads #32465 landed before Fix MCP entity patch lifecycle handling #32226 on this branch). Resolved file is byte-identical tomain.client.pykeeps2.0's existingOptional[...]typing style rather than pulling in the unrelated ruff modernization that onlymainhas.2.0and not tracked:ingestion/.ruff-g004-baseline.json,public/jsons/connectionSchemas/{mcp/mcpConnection,serviceConnection}.json,src/jsons/ingestionSchemas/{testSuitePipeline,workflow}.json.mcpConnection.jsonchange is description text only, no migration needed.Type of change:
Tests:
Tests came with the backported commits. Run on this branch: 317 pass, 0 fail (52 in
openmetadata-mcp, 265 inopenmetadata-service).mvn spotless:checkclean,ruff checkandruff format --checkclean on the changed ingestion files.DomainIsolationITcompiles but was not executed locally. Python unit tests not run locally, CI is the gate.No UI changes beyond generated TypeScript types, so no Playwright tests or screen recording.