Skip to content

[Fix #1859] Change position for inner function call - #1860

Open
fjtirado wants to merge 1 commit into
open-workflow-specification:mainfrom
fjtirado:Fix_#1859
Open

fjtirado wants to merge 1 commit into
open-workflow-specification:mainfrom
fjtirado:Fix_#1859

Conversation

@fjtirado

Copy link
Copy Markdown
Collaborator

Fix #1859

@fjtirado
fjtirado requested review from mathecruz and a balanced review from Copilot November 23, 2026 12:01

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.

🟡 Changes recommended

An unmatched function lookup disables the external URI fallback and triggers a null dereference during workflow-definition construction, while URI task names also differ between workflow-position implementations.

2 open issues
What changed in this PR

This PR addresses #1859 by giving inner function executions distinct positions from their calling tasks, rather than suppressing the inner lifecycle.

Changes:

  • Appends a function-specific component to a copy of the caller’s position.
  • Derives that component from inline names, catalog references, or URI paths.
File Description
impl/​core/​src/​main/​java/​cloud/​openworkflow/​sdk/​impl/​executors/​CallFunctionExecutorBuilder.java Derives inner function positions and passes them to executor construction.

Review effort: Balanced

…tion call

Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 12:15

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.

🟢 Approval recommended

No active review issues are recorded for the change separating function-body task positions from their callers.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

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.

A call to a function run two full task lifecycles at the same position

2 participants