Skip to content

fix(code-slack): make SLACK_SIGNING_SECRET optional in Socket Mode - #111

Merged
gabrielvfonseca merged 1 commit into
mainfrom
fix/slack-signing-secret-optional
Oct 27, 2026
Merged

gabrielvfonseca merged 1 commit into
mainfrom
fix/slack-signing-secret-optional

Conversation

@gabrielvfonseca

Copy link
Copy Markdown
Contributor

Summary

  • SLACK_SIGNING_SECRET was required at startup, but the bot runs in Socket Mode and never verifies request signatures. It is now optional and still validated when set.
  • Docs and .env.example no longer tell operators to set it.

Verification

  • Bolt constructs App in Socket Mode without a signing secret.
  • npx vitest run passes (226 tests, with the lockfile's env-core 0.13.11 and zod 4.6.7).
  • tsc --noEmit (typescript@5) and biome ci . pass.

🤖 Generated with Claude Code

The bot connects with Socket Mode and authenticates with the app token, so it
never verifies request signatures. The secret was required at startup but
unused. Make it optional (still validated when set) and drop it from the
setup examples. Bolt constructs in Socket Mode without it.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06fb056b-87e8-43e2-96b1-86852fbf89eb
Commits

Reviewing files that changed from the base of the PR and between eab5d68 and 5ea8e59.

Files selected for processing: 5
  • extensions/code-slack/.env.example
  • extensions/code-slack/INSTALL.md
  • extensions/code-slack/README.md
  • extensions/code-slack/src/config.ts
  • extensions/code-slack/src/env.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gabrielvfonseca
gabrielvfonseca merged commit 72e4951 into main Oct 27, 2026
22 checks passed
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.

1 participant