Skip to content

chore(bot): bump Chat SDK to 4.36.0 - #5132

Merged
RSO merged 1 commit into
mainfrom
bump-chat-sdk-to-latest
Aug 7, 2026
Merged

RSO merged 1 commit into
mainfrom
bump-chat-sdk-to-latest

Conversation

@RSO

@RSO RSO commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Bumps chat + the five @chat-adapter/* packages 4.27.0 → 4.36.0. Read the full changelog range and diffed the published .d.ts for everything we import — all additive or unchanged.

Beyond the bump:

  • withBotToken now passes installationId. 4.35 scopes the Slack profile cache and mention index per installation only if you pass it; otherwise tenants can share cached profiles.
  • @slack/* down to one version each (web-api 7.19.0, types 2.21.1) via an override — the adapter's ^7.18.0 left three copies of the WebClient in the tree.
  • Message gained a required subject, so one test fixture needed a line.

⚠️ 4.28 moved Slack { markdown } posts to the native markdown_text field: 12k limit instead of ~40k, no chunking or fallback in the adapter. We post unbounded agent output (run.ts:120, bot-session-callback/route.ts:684), so long replies can now be rejected. Deliberately not handled here.

Follow-up: Linear gained encryptionKey in 4.28 — neither adapter has a key, so OAuth tokens sit in plaintext. Stale comment corrected in config.server.ts.

typecheck + lint clean, 289 bot/slack/linear/github tests pass, full web suite green apart from 2 unrelated flaky DB-cleanup timeouts. next build left to CI.

Bumps `chat` and the five `@chat-adapter/*` packages from 4.27.0 to 4.36.0.

`Message` gained a required `subject` member, so the GitHub platform test
fixture needed updating.

Scopes `withBotToken` to the installation. Since 4.35 the Slack adapter scopes
its user-profile cache and display-name mention index per installation, but only
when `installationId` is passed; without it both fall back to a global key and
can leak one workspace's cached profiles and mention resolution into another. We
post for many workspaces from one process.

Consolidates `@slack/*` on one version each. @chat-adapter/slack now needs
@slack/web-api ^7.18.0 while @slack/oauth and @slack/socket-mode still ask for
^7.15.0, which left three copies of the WebClient in the tree. Pins apps/web to
7.19.0 (plus @slack/types 2.21.1, which 7.19.0 requires) and adds an override to
pull the transitive consumers up. 7.x is the ceiling until @chat-adapter/slack
moves to @slack/web-api 8.

Linear gained an `encryptionKey` option in 4.28, so the comment in
config.server.ts claiming otherwise is now wrong. Corrected; wiring up a key is
a follow-up.
@kilo-code-bot

kilo-code-bot Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

Dependency bump of Chat SDK and @chat-adapter/* 4.27.0 → 4.36.0 with a correct per-installation scoping fix in the Slack withBotToken call, a safe @slack/web-api 7.19.0 consolidation override, and accurate comment/test-fixture updates; all version pins, lockfile resolutions, and peer dependencies verified consistent.

Files Reviewed (6 files)
  • apps/web/package.json
  • apps/web/src/lib/bot/platforms/github.test.ts
  • apps/web/src/lib/bot/platforms/slack.tsx
  • apps/web/src/lib/config.server.ts
  • pnpm-lock.yaml
  • pnpm-workspace.yaml

Reviewed by kimi-k3 · Input: 66.5K · Output: 11.2K · Cached: 1M

Review guidance: REVIEW.md from base branch main

@RSO
RSO merged commit dae4bf3 into main Aug 7, 2026
68 of 70 checks passed
@RSO
RSO deleted the bump-chat-sdk-to-latest branch August 7, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants