Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(drafting): close remaining Greptile findings on #2878 (concurrent-deletion race, cross-thread rewrite)

merged#2884CedarCopilot

CedarCopilot wants to merge 3 commits into staging from fix/sherlock-post-meeting-draft-thread-and-cleanup-20260922-084120

6 files changed

Libra does not show diffs here. View the full diff on GitHub.

  • modifiedapps/server/src/mastra/tools/event-execution/__tests__/draft-email-post-meeting-rewrite-thread.test.ts+11-12
  • addedapps/server/src/services/drafting/__tests__/check-existing-draft-thread-scoping.test.ts+181-0
  • modifiedapps/server/src/services/drafting/drafting.ts+23-24 defects
  • modifiedapps/server/src/services/user-tasks/__tests__/cleanup-draft-pointer.test.ts+29-0
  • modifiedapps/server/src/services/user-tasks/__tests__/shared-draft-cleanup.integration.test.ts+127-7
  • modifiedapps/server/src/services/user-tasks/tasks.ts+196-324 defectsmodel_chunk Next Steps and Tasks Managermodel_step Next Steps and Tasks Managermodel_inference Next Steps and Tasks Manager+9