feat(slack): improve Slack integration and /parallax status health check#25
Merged
Conversation
Fire the previously unused `execution_started` event at the start of processTask(). The bot tracks the resulting message timestamp so that subsequent failure notifications are posted as thread replies, grouping errors with the task's start message instead of as top-level posts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add the internal parallax task UUID to the plan approval section block. Pass agentModel through SlackNotificationPayload so the approval header reads "Plan Ready — claude-code - claude-sonnet-4-6" instead of just the provider name. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the per-task status subcommand with a no-arg health check. Adds GET /runtime/health to the orchestrator API returning the number of active tasks. The Slack command responds with the running state and current active task count without requiring a task ID. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
execution_startedwhen a task enters execution and threads any failure messages under that initial message, replacing standalone error postsclaude-code - claude-sonnet-4-6instead of justclaude-code)/parallax statushealth check: replaces the per-task status subcommand with a no-arg orchestrator health check powered by a newGET /runtime/healthAPI endpointTest plan
🚀 Execution Startedappears in Slack with the task's external ID❌ Failedmessage appears as a thread reply under the start messagePlan Ready — <provider> - <model>and the section shows the internal UUID/parallax statusin Slack (no taskId) → verify it responds with running state and active task countpnpm build && pnpm lint && pnpm testall pass ✅🤖 Generated with Claude Code