Repository navigation
Fix MCP Knowledge Page creation - #32209
Conversation
1ff826a to
6acbe82
Compare
✅ Playwright Results — workflow succeededValidated commit ✅ 726 passed · ❌ 0 failed · 🟡 1 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 34s ⏱️ Max setup 4m 51s · max shard execution 17m 41s · max shard-job elapsed before upload 20m 46s · reporting 5s 🌐 200.54 requests/attempt · 2.66 app boots/UI scenario · 16.31% common-shard skew Optimization targets still in progress:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Code Review ✅ Approved 3 resolved / 3 findingsFixes MCP Knowledge Page creation by making ✅ 3 resolved✅ Edge Case: Parent resolution uses NON_DELETED, breaking updates with soft-deleted parent
✅ Quality: Removing empty-Map check loosens required-object validation for all types
✅ Edge Case: Page upsert resets votes and relatedEntities on existing pages
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 |
* fix(mcp): support Knowledge Page creation * fix(mcp): make create_entity create-only * fix(mcp): report create conflicts cleanly (cherry picked from commit 5b603f8)
Fixes #32198
create_entity.patch_entityfor partial updates.Greptile Summary
The PR adds Knowledge Center Page creation to the generic MCP entity tool while making that tool create-only and directing edits through JSON Patch.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR A[MCP create_entity input] --> B[Validate fields and references] B --> C[Authorize CREATE] C --> D[Repository create lifecycle] D --> E{Unique name?} E -->|Yes| F[Persist entity and relationships] F --> G[Return ENTITY_CREATED] E -->|No| H[Return existing-name guidance] H --> I[Use patch_entity for edits]Reviews (4): Last reviewed commit: "fix(mcp): report create conflicts cleanl..." | Re-trigger Greptile
Context used: