Skip to content

[πŸ› Bug]: HTTP provider action results duplicated in workflow execution outputΒ #6431

Open

Description

@DANIILSKRIPCHENKO

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

  1. Create a workflow with an http provider action:
id: test-http-action
name: Test HTTP Action
triggers:
  - type: manual
actions:
  - name: post-request
    provider:
      type: http
      with:
        url: http://example.com/api
        method: POST
        body:
          message: "Hello"
2. Run the workflow manually
3. 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:

[
  {"status": true, "status_code": 200, "body": "..."},
  {"status": true, "status_code": 200, "body": "..."}
]

Screenshots
N/A

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().

Activity

  1. added
    Bug
    Provider
    on May 7, 2026
  2. alon-greenshtein commented on May 10, 2026

    @alon-greenshtein

    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.

  3. added a commit that references this issue on Aug 12, 2026
    19b6193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugProvider

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions