Skip to content

fix: forward commentCard events in Trello router#316

Merged
zbigniewsobiecki merged 1 commit intodevfrom
fix/router-forward-comment-card-events
Feb 16, 2026
Merged

fix: forward commentCard events in Trello router#316
zbigniewsobiecki merged 1 commit intodevfrom
fix/router-forward-comment-card-events

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

  • Fix router dropping commentCard Trello webhook events, which prevented the trello-comment-mention trigger from firing when users @mention the bot on PLANNING cards
  • Add commentCard to the shouldProcess condition in parseTrelloWebhook() — no router-level pre-filtering needed since the worker-side TrelloCommentMentionTrigger already validates mention presence, card list, and self-authorship

Test plan

  • Rebuild and redeploy the router image
  • Post an @mention comment on a PLANNING card
  • Confirm router logs [Router] Queueing Trello job: { actionType: 'commentCard', ... } instead of [Router] Ignoring Trello: commentCard
  • Confirm the worker picks up the job and the trello-comment-mention trigger matches

🤖 Generated with Claude Code

The router was dropping all commentCard webhook events with
"Ignoring Trello: commentCard", preventing the trello-comment-mention
trigger from firing when users @mention the bot on PLANNING cards.

Add commentCard to the shouldProcess condition in parseTrelloWebhook().
No router-level pre-filtering is needed — the worker-side
TrelloCommentMentionTrigger already validates mention presence,
card list membership, and self-authorship, matching the pattern
used for JIRA comment events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit 12b6306 into dev Feb 16, 2026
4 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the fix/router-forward-comment-card-events branch February 16, 2026 21:29
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