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
Describe the bug
When using the http provider as a workflow action, the execution results contain duplicate entries β the same result appears twice in the output list.
To Reproduce
Create a workflow with an http provider action:
id: test-http-actionname: Test HTTP Actiontriggers:
- type: manualactions:
- name: post-requestprovider:
type: httpwith:
url: http://example.com/apimethod: POSTbody:
message: "Hello"2. Run the workflow manually3. Open the workflow execution and check the results
Expected behavior
Results list contains 1 entry per action execution.
Actual behavior
Results list contains 2 identical entries:
Additional context
Root cause: HttpProvider._notify() calls self.query() (public method) instead of self._query() (private method).
BaseProvider.notify() appends to self.results after _notify() returns. Since _notify() internally calls self.query(), which also appends to self.results, the result is appended twice per execution.
File: keep/providers/http_provider/http_provider.py, line 66
Fix: replace self.query(...) with self._query(...) in HttpProvider._notify().
Hi, I'd like to work on this if it's still available.
I looked at the code and confirmed the root cause, _notify() calls self.query() which appends to self.results, and then notify() appends again, causing the duplication. Fix is straightforward: replace self.query() with self._query() in http_provider.py. I'll also add a regression test to cover this.
Activity
alon-greenshtein commentedon May 10, 2026
Hi, I'd like to work on this if it's still available.
I looked at the code and confirmed the root cause, _notify() calls self.query() which appends to self.results, and then notify() appends again, causing the duplication. Fix is straightforward: replace self.query() with self._query() in http_provider.py. I'll also add a regression test to cover this.
fix: clear provider results to avoid duplicates (keephq#6431)
fix: clear provider results to avoid duplicates (keephq#6431)
fix: clear provider results to avoid duplicates (keephq#6431)
fix: clear provider results to avoid duplicates (keephq#6431)
fix: clear provider results to avoid duplicates (keephq#6431)
fix(http-provider): stop duplicating results on notify