Skip to content

[DSIP-95][API] Complete the functionality of using dependencies in the complement data#18003

Open
det101 wants to merge 3 commits intoapache:devfrom
det101:DSIP-95
Open

[DSIP-95][API] Complete the functionality of using dependencies in the complement data#18003
det101 wants to merge 3 commits intoapache:devfrom
det101:DSIP-95

Conversation

@det101
Copy link
Contributor

@det101 det101 commented Feb 27, 2026

Was this PR generated or assisted by AI?

close #17748

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

luxl and others added 3 commits February 27, 2026 16:18
…endent workflow

- Problem 1: Replace single-level self-dep check with ThreadLocal visited set
  to detect and skip indirect circular dependencies (A→B→A), preventing
  StackOverflowError when allLevelDependent=true
- Problem 2: Set startNodes=null for downstream workflows; upstream task node
  codes are not valid in a different workflow definition
- Add tests for OFFLINE skip, not-found skip, and startNodes null assertion

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…tion

ThreadLocal is unnecessary here since the call chain is synchronous and
private. Passing visitedCodes as a parameter is simpler, clearer, and
avoids ThreadLocal lifecycle management.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

[DSIP-95][API] Complete the functionality of using dependencies in the complement data

1 participant