Skip to content

feat: DingTalk stream immediate ACK + message_id dedup#339

Open
nap-liu wants to merge 1 commit intodataelement:mainfrom
nap-liu:pr/dingtalk-dedup-ack
Open

feat: DingTalk stream immediate ACK + message_id dedup#339
nap-liu wants to merge 1 commit intodataelement:mainfrom
nap-liu:pr/dingtalk-dedup-ack

Conversation

@nap-liu
Copy link
Copy Markdown

@nap-liu nap-liu commented Apr 8, 2026

Summary

  • Immediate ACK: fire-and-forget dispatch, no longer blocks stream handler for 120s
  • Message dedup: Redis SETNX (5min TTL) + in-memory fallback with periodic cleanup
  • Prevents DingTalk timeout retransmission causing duplicate processing

Test plan

  • DingTalk E2E: no duplicate messages observed in logs

…licate processing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant