Skip to content

Enrich webhook payload and add status notifications - #2801

Open
GautamKumarOffical wants to merge 1 commit into
stakwork:masterfrom
GautamKumarOffical:fix/webhook-url-stakwork
Open

Enrich webhook payload and add status notifications#2801
GautamKumarOffical wants to merge 1 commit into
stakwork:masterfrom
GautamKumarOffical:fix/webhook-url-stakwork

Conversation

@GautamKumarOffical

Copy link
Copy Markdown

Changes

  • Expanded WebhookPayload struct to capture full stakwork response including workflow_id, workflow_version_id, workflow_version, and project_output
  • Added WebhookError struct for structured error info (message, step_name, skill_name)
  • Send websocket notification when webhook status is received so the frontend gets real-time updates
  • Added tests for HandleChatWebhook covering success, error, and missing payload cases

Fixes #2647

- expand WebhookPayload to capture workflow_id, version, and error details
- add WebhookError struct for structured error info from stakwork
- send websocket notification when webhook status is received
- add tests for HandleChatWebhook covering success and error cases

Signed-off-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com>
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.

Add webhook_url to Stakwork's call

1 participant