Skip to content

issue-1745: WorkflowExecutionListenerAdapter don't propagate the close() method execution the enclosed listener - #1746

Merged
fjtirado merged 1 commit into
open-workflow-specification:mainfrom
wmedvede:issue-1745
Oct 7, 2026
Merged

fjtirado merged 1 commit into
open-workflow-specification:mainfrom
wmedvede:issue-1745

Conversation

@wmedvede

@wmedvede wmedvede commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Fix #1745

Copilot AI balanced review requested due to automatic review settings October 7, 2026 13:04
@wmedvede
wmedvede requested a review from fjtirado as a code owner October 7, 2026 13:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The narrow delegation change matches the existing lifecycle contract, with no unresolved findings.

Review effort: Balanced
Findings: None

What changed in this PR

Fixes listener cleanup by forwarding the adapter’s close() call to its wrapped listener.

Changes:

  • Adds a close() override that delegates to listener.close().
File Description
impl/​core/​src/​main/​java/​io/​serverlessworkflow/​impl/​lifecycle/​WorkflowExecutionListenerAdapter.java Forwards shutdown to the wrapped listener.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

…e() method execution the enclosed listener

Signed-off-by: Walter Medvedeo <2431454+wmedvede@users.noreply.github.com>
@fjtirado
fjtirado merged commit 89a9c96 into open-workflow-specification:main Oct 7, 2026
4 checks passed
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.

WorkflowExecutionListenerAdapter don't propagate the close() method execution the enclosed listener.

3 participants