Skip to content

fix(automations): Say that send_message is how an automation run posts - #2213

Merged
HazAT merged 1 commit into
mainfrom
fix/automation-run-posting-tool
Oct 23, 2026
Merged

HazAT merged 1 commit into
mainfrom
fix/automation-run-posting-tool

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

A weekly scheduled reminder ("Post a reminder in this channel asking everyone to reply in this message's thread…") ended as misconfigured with the reason "This run has no Slack message-posting tool available". This blocked the automation.

The runtime did offer send_message. In the run's finishAutomationRun span (trace 1cfd777ad6504e5fa3a7afe8d5781d51, dispatch_fbd5321fc33abc92297770d3df55539f, 0.256.0), the tool description includes send_message, and the destination channel is set. The model (openai/gpt-6-luna) called searchMcpTools and searchTools to find a Slack posting tool, found none, and declared misconfigured. The misconfigured guidance says "a provider, tool, account, or access that the job needs is missing", and "Post … in this channel" read as needing a separate tool. In the last 14 days, most finishAutomationRun calls with send outcomes do post, so this is a judgment miss and not a wiring bug.

This PR adds one sentence to the send_message variant of the finishAutomationRun description: send_message is the only way that the run posts, so a missing Slack posting tool does not make the run misconfigured. It also adds a scheduler delivery eval for the "post in this channel" instruction and lists it in the scheduler eval README.

Remaining risk: this is model guidance, so it lowers the chance of a repeat and does not remove it. A runtime guard that rejects misconfigured for "no posting tool" reasons would need reason text matching, so I left it out.

via daniel.

--

View Junior Session [Sentry]

A scheduled reminder whose instruction said "Post a reminder in this
channel" ended as misconfigured. The run searched for a Slack posting
tool, found none, and blocked the automation, although
finishAutomationRun offered send_message.

Say in the finishAutomationRun description that send_message is the
only way that a run posts, so a missing Slack posting tool does not make
the run misconfigured. Add a delivery eval for this instruction.

Co-Authored-By: Daniel Griesser <dgriesser@sentry.io>
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Oct 23, 2026 7:37am UTC

Request Review

@HazAT
HazAT marked this pull request as ready for review October 23, 2026 07:40
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Oct 23, 2026
@HazAT
HazAT enabled auto-merge (squash) October 23, 2026 07:43
@sentry-evals

sentry-evals Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Sentry Evals

junior-behavioral

Run Status Passed Failed Errored Cost Tokens Duration
Head Complete 72 2 1 $0.86 0 690.03s

Base commit 516c464 has no eval run to compare against.

@HazAT
HazAT merged commit e9b3c68 into main Oct 23, 2026
51 checks passed
@HazAT
HazAT deleted the fix/automation-run-posting-tool branch October 23, 2026 08:09

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 0f91f21c Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant