Skip to content

Explicitly clear the pending action after passing it to the step runtime. - #131

Merged
jun-he merged 4 commits into
mainfrom
jun/fix-foreach-restart
Aug 12, 2025
Merged

Explicitly clear the pending action after passing it to the step runtime.#131
jun-he merged 4 commits into
mainfrom
jun/fix-foreach-restart

Conversation

@jun-he

@jun-he jun-he commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes (Please run ./gradlew build --write-locks to refresh dependencies)
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

Explicitly clear the pending action after passing it to the step runtime.

In old engine, it relies on @JsonIgnore to clear the pending action in each polling cycle. In the new engine, the state is kept in memory and so we need to explicitly clear the pending action after passing it to the step runtime.

@jun-he
jun-he requested a review from Copilot August 7, 2025 18:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@jun-he
jun-he merged commit 4ff2ae5 into main Aug 12, 2025
1 check passed
@jun-he
jun-he deleted the jun/fix-foreach-restart branch September 4, 2025 17:50
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.

2 participants