Skip to content

fix(slack): treat null search arguments as omitted - #1880

Merged
dcramer merged 1 commit into
mainfrom
fix/slack-public-search-null-arguments
Sep 17, 2026
Merged

dcramer merged 1 commit into
mainfrom
fix/slack-public-search-null-arguments

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Slack public search can receive null for optional arguments when a model provider requires every tool field. The tool did not accept that shape, so the model used placeholder values that Slack rejected.

Accept null for optional search arguments and omit those values from the Slack request. Cover the model-facing input and outbound Slack request in the existing integration test.

via David Cramer.

--

View Junior Session [Sentry]

Co-Authored-By: David Cramer <david@sentry.io>
@vercel

vercel Bot commented Sep 17, 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 Sep 17, 2026 7:47pm UTC

Request Review

@dcramer
dcramer marked this pull request as ready for review September 17, 2026 20:00
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Sep 17, 2026
@sentry-junior sentry-junior Bot changed the title fix(slack): accept omitted public search arguments fix(slack): treat null search arguments as omitted Sep 17, 2026
@dcramer
dcramer merged commit 5b1d461 into main Sep 17, 2026
59 of 61 checks passed
@dcramer
dcramer deleted the fix/slack-public-search-null-arguments branch September 17, 2026 20:11
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