Skip to content

Conversation

@hornm-knime
Copy link
Contributor

AP-25344 (Properly handle failing tools in combined tools workflow)

AP-25344 (Properly handle failing tools in combined tools workflow)
Copilot AI review requested due to automatic review settings December 18, 2025 11:11
@hornm-knime hornm-knime requested a review from a team as a code owner December 18, 2025 11:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for optionally removing failed tools from combined tools workflows. The change introduces a new boolean parameter removeFailedTools that propagates through the Python-Java bridge to control whether failed workflow segments should be removed during execution.

Key Changes:

  • Added removeFailedTools boolean parameter to the combined tools workflow initialization API
  • Propagated the parameter through the entire call chain from Python to Java
  • Configured WorkflowSegmentExecutor to respect the new setting via removeFailedSegments()

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
_node_backend_launcher.py Added remove_failed_tools parameter to Python API method signature and forwarded it to Java context
PythonToolContext.java Extended interface to include removeFailedTools parameter in method signature
ToolExecutor.java Added parameter to method signatures and wired it to WorkflowSegmentExecutor.removeFailedSegments() calls; also refactored deprecated workflow copy API
DefaultViewContext.java Updated implementation to pass through the new removeFailedTools parameter
CloseablePythonNodeProxy.java Updated unsupported operation stub to match new interface signature

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 18, 2025 11:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

Copy link
Contributor

@AtR1an AtR1an left a comment

Choose a reason for hiding this comment

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

Blocked by knime-core merge.

@hornm-knime hornm-knime merged commit a86f0cf into master Dec 18, 2025
2 of 3 checks passed
@hornm-knime hornm-knime deleted the todo/AP-25344-properly-handle-failing-tools-i branch December 18, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants