Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(slack): cancel an in-flight run when the user sends another message

merged#2931CedarCopilot

CedarCopilot wants to merge 2 commits into staging from fix/slack-supersede-inflight-turn

6 files changed

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

  • addedapps/server/src/mastra/routeHandlers/slack/__tests__/slack-turn-supersession.test.ts+171-0
  • modifiedapps/server/src/mastra/routeHandlers/slack/slack-bot-chat.ts+88-87 defects
  • addedapps/server/src/mastra/routeHandlers/slack/slack-turn-supersession.ts+174-0
  • addedapps/server/src/mastra/utils/__tests__/headless-history-author.test.ts+64-0
  • modifiedapps/server/src/mastra/utils/chat-message-persistence.ts+10-14 defects
  • modifiedapps/server/src/mastra/utils/headless-history.ts+41-4