feat: handle native DingTalk card feedback #8

Merged
zheromiku merged 1 commits from feature/native-card-feedback into main 2026-07-21 21:00:05 +08:00
Owner

Summary

  • handle DingTalk built-in sys_action_like_component vote callbacks
  • map native dislike tags 1-6 to exact reason codes
  • reject malformed, ambiguous, and unknown native events with zero writes
  • add reversible 000006_native_card_feedback_reasons constraint migration

Verification

  • 365 target tests passed, 0 failed across 6 packages
  • Go race, vet, and binary build passed
  • isolated PostgreSQL restore plus 000005 -> 000006 up/down/up rehearsal passed
  • six native reasons accepted; unknown reason rejected
  • staged credential/scope scan passed

Boundaries

  • no raw callback, token, card content, corp ID, or extension persistence
  • production migration/deployment performed only after merge read-back
## Summary - handle DingTalk built-in `sys_action_like_component` vote callbacks - map native dislike tags 1-6 to exact reason codes - reject malformed, ambiguous, and unknown native events with zero writes - add reversible `000006_native_card_feedback_reasons` constraint migration ## Verification - 365 target tests passed, 0 failed across 6 packages - Go race, vet, and binary build passed - isolated PostgreSQL restore plus 000005 -> 000006 up/down/up rehearsal passed - six native reasons accepted; unknown reason rejected - staged credential/scope scan passed ## Boundaries - no raw callback, token, card content, corp ID, or extension persistence - production migration/deployment performed only after merge read-back
zheromiku added 1 commit 2026-07-21 21:00:03 +08:00
zheromiku merged commit 4dc3f22784 into main 2026-07-21 21:00:05 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Weknora/dobotai-platform#8