improvement(forking): unlink, settings page migration, deployed chats, public apis, external mcp servers/tools, special subblocks#5505
Conversation
…orkspace # Conflicts: # apps/sim/app/workspace/[workspaceId]/settings/[section]/settings.tsx # apps/sim/lib/workspaces/fork/remap/remap-references.ts # scripts/check-api-validation-contracts.ts
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview API & behavior: Adds fork availability (member-readable gate) and unlink (audit on success). Lineage now returns child forks and a UI: Shared Reviewed by Cursor Bugbot for commit 1d0d647. Configure here. |
Greptile SummaryThis PR completes the workspace-forking EE module migration (from
Confidence Score: 5/5Safe to merge; no correctness defects were found in the new paths. The two previously flagged issues from earlier review rounds are both addressed: the TOCTOU window in reconcileForkWorkflowMcpAttachments is fixed (locks acquired before reads), and the JSONB full-scan is resolved by the two expression indexes added in the migration. The new unlink flow is transactionally correct and idempotent. The only observations are a minor N+1 in the lineage-children access check and a defensive-scope question in the chat identifier path — neither affects correctness. No files require special attention. The migration file COMMIT-before-concurrent-index pattern is intentional and replay-safe. Important Files Changed
Reviews (3): Last reviewed commit: "move into ee folder + ui perm gates" | Re-trigger Greptile |
|
bugbot run |
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 1d0d647. Configure here.
Summary
Addresses UX issues by migrating to a settings page. Solves edge cases found during testing.
Type of Change
Testing
Tested manually
Checklist