You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.**Error** - Step failed with an error (`StepStatus.FAILED`)
131
+
3.**Cancelled** - Step was cancelled (`StepStatus.CANCELLED`)
132
+
133
+
All three states trigger the webhook with the same payload containing just the `step_id`.
134
+
135
+
## Behavior
136
+
137
+
-**No webhook URL configured**: The service will skip sending notifications (logged at debug level)
138
+
-**Webhook call succeeds**: Returns status 200-299, logged at info level
139
+
-**Webhook timeout**: Returns error, logged at warning level (does not fail the step)
140
+
-**HTTP error**: Returns non-2xx status, logged at warning level (does not fail the step)
141
+
-**Other errors**: Logged at error level (does not fail the step)
142
+
143
+
**Important**: Webhook failures do not prevent step completion. The step will be marked as complete in the database regardless of webhook delivery status. This ensures system reliability - your webhook endpoint being down will not block agent execution.
144
+
145
+
## Testing
146
+
147
+
To test the webhook functionality:
148
+
149
+
1. Set up a webhook endpoint (you can use [webhook.site](https://webhook.site) for testing)
150
+
2. Configure the environment variables
151
+
3. Run an agent and observe webhook calls when steps complete
0 commit comments