Skip to content

fix(core): consume iterate inputs once - #908

Open
Eilen6316 wants to merge 1 commit into
apache:mainfrom
Eilen6316:fix/iterate-inputs-once
Open

fix(core): consume iterate inputs once#908
Eilen6316 wants to merge 1 commit into
apache:mainfrom
Eilen6316:fix/iterate-inputs-once

Conversation

@Eilen6316

Copy link
Copy Markdown
Contributor

Fix repeated external inputs across iterative execution APIs.

Changes

  • Consume inputs only on the first step of iterate and aiterate.
  • Apply the same behavior to stream_iterate and astream_iterate.
  • Preserve inputs for first-step halt-before, retries, and resumed failed positions.
  • Update human-in-the-loop documentation and regression coverage.

How I tested this

  • pytest -q tests/core/test_application.py (147 passed)
  • black, isort, flake8, and Python AST checks passed on changed files.

Notes

This changes behavior for callers that relied on external inputs being forwarded to later actions in the same run.

@github-actions github-actions Bot added area/core Application, State, Graph, Actions area/website burr.apache.org website labels Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core Application, State, Graph, Actions area/website burr.apache.org website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant