Slack Enterprise Grid 지원
Chat SDK의 Slack 어댑터가 Slack Enterprise Grid를 지원하도록 강화되었습니다.
교안에 영향
기존 문서에서 Slack Enterprise Grid 미지원으로 안내한 내용은 더 이상 맞지 않으며, 멀티 워크스페이스 환경의 토큰 해석과 이벤트 라우팅 설명도 바뀌었습니다.
요약
- org-wide로 설치된 봇이 모든 워크스페이스에서 동작하도록 지원합니다. - 토큰 해석, 이벤트 라우팅, 캐시 범위, 중복 이벤트 처리 방식이 멀티 워크스페이스 환경에 맞게 조정되었습니다. - SlackInstallation에 새로운 식별 필드가 저장되고, getInstallation과 deleteInstallation은 기존대로 동작합니다. - W로 시작하는 Grid 사용자 ID를 포함해 멘션 처리 범위가 넓어졌습니다.
바뀐 것
새 기능
- Chat SDK의 Slack adapter가 Slack Enterprise Grid를 지원합니다.
- org-wide로 설치된 봇이 모든 워크스페이스에서 동작합니다.
개선
- org-wide 설치를 enterprise ID 기준으로 저장합니다.
- incoming events, slash commands, interactive payloads의 토큰 해석을 같은 기준으로 맞춥니다.
- SlackInstallation records에 새로운 identity fields를 저장합니다.
- HTTP webhooks와 Socket Mode에서 토큰 해석 방식이 동일하게 동작합니다.
- events가 envelope의 authorizations field에 있는 installation identity를 기준으로 라우팅됩니다.
- Slack Connect shared channels에서 라우팅이 올바르게 유지됩니다.
- User profile과 mention caches를 installation 단위로 범위 지정합니다.
- org-wide token으로 만드는 API calls에 event의 team_id를 자동으로 전달합니다.
- workspace-scoped methods에 필요한 team_id 처리를 지원합니다.
- retried event deliveries를 24시간 동안 deduplicate합니다.
- Slack's Delayed Events redeliveries를 처리합니다.
- Outgoing mentions가 W-prefixed Grid user IDs를 U-prefixed IDs와 함께 허용합니다.
기타
- Single-workspace installations는 영향받지 않으며, getInstallation과 deleteInstallation은 두 설치 유형에서 그대로 동작합니다.