Junior responds to Slack messages that are explicitly @-mentioned to a different bot (e.g. junior-staging), rather than staying silent when it is not the target.
- Observed: a message saying
staging cancel that task (directed at junior-staging) triggered a response from Junior prod
- Expected: Junior should not respond when the message is addressed to a different @-mention target
- Impact: confusing multi-bot threads; prod bot answers requests meant for staging (or vice versa), polluting context and potentially taking unintended action
Root cause likely lives in the message routing / trigger logic — Junior should check whether the inbound @-mention resolves to its own user ID before processing the message as a command.
Action taken on behalf of David Cramer.
Junior responds to Slack messages that are explicitly @-mentioned to a different bot (e.g.
junior-staging), rather than staying silent when it is not the target.staging cancel that task(directed atjunior-staging) triggered a response from Junior prodRoot cause likely lives in the message routing / trigger logic — Junior should check whether the inbound @-mention resolves to its own user ID before processing the message as a command.
Action taken on behalf of David Cramer.