Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Nov 25, 2025

feat(api): add minimal Slack bot support

Summary

Adds minimal Slack bot support to apps/api using @slack/bolt with Socket Mode. This is a skeleton setup that initializes the Slack app and starts it alongside the Hono server.

Changes:

  • Added @slack/bolt dependency
  • Created slack.ts with basic App initialization using Socket Mode
  • Added required env vars: SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET, SLACK_APP_TOKEN
  • Updated .env.sample with new variables

Review & Testing Checklist for Human

  • Breaking change: The new env vars are required (z.string().min(1)). Existing deployments will fail to start without these credentials. Consider making them optional or adding conditional initialization.
  • No error handling: startSlackBot() is called without try/catch. If Slack credentials are invalid, the server may crash on startup.
  • No bot functionality: This is just the connection skeleton with no listeners. You may want to add at least one command/event handler to verify it works.
  • Test with valid Slack credentials to confirm the bot connects successfully

Notes

  • The bot uses Socket Mode which doesn't require a public URL for webhooks
  • To test: Create a Slack app at api.slack.com, enable Socket Mode, and add the three tokens to your .env

Link to Devin run: https://app.devin.ai/sessions/af8cf1a824144ffb88341acb769940c4
Requested by: yujonglee (yujonglee.dev@gmail.com) / @yujonglee

Co-Authored-By: yujonglee <yujonglee.dev@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 25, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch devin/1764042413-slackbot-support

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

@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 0dd97d0
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69252802d4bfcb0008353171
😎 Deploy Preview https://deploy-preview-1867--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit 0dd97d0
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69252802d67991000804ed33
😎 Deploy Preview https://deploy-preview-1867--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@yujonglee yujonglee force-pushed the main branch 4 times, most recently from cd99174 to cb527d5 Compare November 29, 2025 13:01
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