Skip to content

feat(slack): post slash-command replies in-channel#32

Merged
maxigimenez merged 1 commit into
mainfrom
feat/slack-in-channel-replies
Jul 2, 2026
Merged

feat(slack): post slash-command replies in-channel#32
maxigimenez merged 1 commit into
mainfrom
feat/slack-in-channel-replies

Conversation

@maxigimenez

Copy link
Copy Markdown
Owner

Summary

Slack slash-command replies defaulted to response_type: ephemeral, which is what produced the "Only visible to you" label on /parallax status (and every other subcommand). This routes all replies through response_type: in_channel so they are visible to everyone in the channel.

Changes

  • packages/slack/src/handlers/commands.ts — added a reply() helper wrapping every respond() with { response_type: 'in_channel', text }, and routed all /parallax subcommand responses (retry, cancel, status, pr-review, plus usage/unknown/error messages) through it.
  • packages/slack/src/handlers/plan-approval.ts — added response_type: 'in_channel' to the error/failure follow-ups (replace_original: false). Success paths already update the original in-channel message via replace_original: true and were left unchanged.
  • packages/slack/src/test/commands.test.ts — new handler tests asserting in_channel on the usage message, a successful status, and an unreachable-orchestrator status.
  • docs/slack-bot.md — documented that all slash-command replies are posted in-channel.

Testing

  • pnpm --filter @parallax/slack build
  • pnpm --filter @parallax/slack lint
  • pnpm --filter @parallax/slack test ✅ (17 tests)

Note

All slash-command output is now public, including error/usage messages (e.g. a mistyped command). If preferred, those noisy cases could stay ephemeral while keeping confirmations public — happy to adjust in a follow-up.

🤖 Generated with Claude Code

Slack slash-command replies defaulted to response_type: ephemeral,
which showed "Only visible to you". Route all /parallax replies and
plan-approval error follow-ups through response_type: in_channel so
they are visible to the whole channel.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
parallax Ready Ready Preview, Comment Jul 2, 2026 8:39am

@maxigimenez maxigimenez merged commit d06d3bd into main Jul 2, 2026
3 checks passed
@maxigimenez maxigimenez deleted the feat/slack-in-channel-replies branch July 2, 2026 08:40
@maxigimenez maxigimenez mentioned this pull request Jul 2, 2026
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