Skip to content

Slack Workflow messages that mention Junior are dropped #2034

Open

Description

@sentry-junior

Since #1936 (merged 2026-09-25), Junior ignores Slack Workflow Builder posts that @-mention it. These posts are bot_message events with a bot_id and no user, and isSlackWorkspaceMember (packages/junior/src/chat/ingress/workspace-membership.ts) returns false when event.user is missing. The webhook then returns before the message is routed (packages/junior/src/chat/ingress/slack-webhook.ts).

Reported by Chuck Daminato.

Observed

  • A weekly Workflow posts "@junior post upcoming holidays for VIE/YYZ/SFO/SEA in the next 2 weeks" every Monday at 12:00 UTC.
  • 2026-09-21 (before fix(slack): Require workspace membership for messages #1936): Junior replied on its own.
  • 2026-09-28 and 2026-10-05 (after fix(slack): Require workspace membership for messages #1936): no reply until a person mentioned Junior in the thread.
  • Even when Workflow runs did trigger a reply, they had no user credentials, so Junior couldn't read the linked Notion page and used public holiday calendars instead.
  • When a person then pinged the thread with "?", Junior asked for confirmation instead of acting on the Workflow's request, because it treated the bot message as background context.

Workaround in use
The holiday reminder was moved to a Junior scheduled automation (weekly, creator credentials). The old Workflow should be disabled.

Decision needed
Should trusted Workflow Builder posts in our workspace be allowed to trigger Junior turns again, or should scheduled automations be the only supported way to run recurring Junior tasks? Whichever we choose, a dropped bot mention currently fails silently. The person who set up the Workflow gets no signal that it stopped working.

via chuck.

--

View Junior Session [Sentry]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions