Title: fix(slack): allow empty status to clear the assistant status indicator by TheodoreSpeaks · Pull Request #5827 · simstudioai/sim · GitHub
Open Graph Title: fix(slack): allow empty status to clear the assistant status indicator by TheodoreSpeaks · Pull Request #5827 · simstudioai/sim
X Title: fix(slack): allow empty status to clear the assistant status indicator by TheodoreSpeaks · Pull Request #5827 · simstudioai/sim
Description: Summary slack_set_status declared status as required: true / user-or-llm, so the shared required-param validator (tools/utils.ts) treated an empty string as missing and threw "Status is required for Slack Set Assistant Status" — the empty-string-clear path documented in the tool's own description could never reach Slack Made status non-required so an omitted or empty value passes validation. The request body builder already sends status: params.status ?? '', and Slack's assistant.threads.setStatus treats an empty status as "clear the status indicator" Updated the param description and SlackSetStatusParams.status to match Left the generic validator alone — empty-string-is-missing is correct for other tools; the fix is scoping this one param as optional. The Slack block's status subblock was already required: false Note: the docs row in apps/docs/content/docs/en/integrations/slack.mdx is generated, but bun run generate-docs currently produces a broken result locally (truncates slack.mdx from 1873 to 15 lines, drops all MANUAL-CONTENT blocks, deletes the 13 *-service-account.mdx pages, and rewrites ~15 unrelated integration pages). I reverted that and hand-applied only the single table row a correct regen would emit. The generator looks like it is running against an incomplete registry — worth a separate look. Type of Change Bug fix Testing bun run type-check clean. vitest run tools/utils.test.ts serializer/tests/dual-validation.test.ts — 40 passed. bun run lint and bun run check:api-validation:strict pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary slack_set_status declared status as required: true / user-or-llm, so the shared required-param validator (tools/utils.ts) treated an empty string as missing and threw "Status is requi...
X Description: Summary slack_set_status declared status as required: true / user-or-llm, so the shared required-param validator (tools/utils.ts) treated an empty string as missing and threw "Status is r...
Opengraph URL: https://github.com/simstudioai/sim/pull/5827
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a66487c7-545f-ee0f-d767-11161ab55f76 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD70:1A2260:334B13:4827D6:6A630534 |
| html-safe-nonce | 059c93b51c0d19342bf4e70a5a65fa24036c58e4f49b46126d6acab0d2b34069 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDcwOjFBMjI2MDozMzRCMTM6NDgyN0Q2OjZBNjMwNTM0IiwidmlzaXRvcl9pZCI6IjcxMTg4NTUyODY0MTg1MDcwNjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 59a9f806683eab3a7339da19e365bb62a078d415a92781a7e83a036531bd0112 |
| hovercard-subject-tag | pull_request:4104036456 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5827/files |
| twitter:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| og:image:alt | Summary slack_set_status declared status as required: true / user-or-llm, so the shared required-param validator (tools/utils.ts) treated an empty string as missing and threw "Status is requi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b48e7bf0b1945d51f303503b057abf666ce74c3efbe107b413db2bb921c3f012 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9370f37042c29822d6ba7e3f670f0036a0155b21 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width