Skip to content

[Feature-18402][API][UI] Add read-only task search to locate owning workflows - #18654

Closed
yykaue wants to merge 2 commits into
apache:devfrom
yykaue:fix-18402-task-workflow-search
Closed

yykaue wants to merge 2 commits into
apache:devfrom
yykaue:fix-18402-task-workflow-search

Conversation

@yykaue

@yykaue yykaue commented Sep 18, 2026

Copy link
Copy Markdown

Purpose of the pull request

Fixes #18402

After DSIP-59 removed standalone task management, operators lost the entry point for locating workflows by task name.

This PR adds a read-only search within the current project, including tasks that have never run or whose execution instances have been purged. It preserves the architecture introduced by DSIP-59 without adding standalone task creation, editing, or execution.

Brief change log

  • Add GET /projects/{projectCode}/task-definition/search with task name filtering and pagination.
  • Add a Task Search page next to Task Instance, displaying task names, task types, and clickable owning workflows.
  • Query task versions referenced by current workflow definitions and deduplicate multiple upstream relations before pagination.
  • Enforce existing project read permissions and treat _, %, and ! as literal search characters.
  • Add English and Chinese translations and documentation.

Verify this pull request

  • All 33 targeted backend tests passed, including 13 new tests covering query results, project isolation, permissions, version matching, deduplication, pagination, and parameter validation.
  • Database queries were verified using H2 in MySQL compatibility mode.
  • Frontend type checking, production build, ESLint, Prettier, and Java Spotless checks passed.
  • Browser checks using a mock API verified search, empty results, pagination, page size changes, project switching, and workflow link targets.

@boring-cyborg

boring-cyborg Bot commented Sep 18, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! Please check out our contributing guidelines. (https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)

@SbloodyS

Copy link
Copy Markdown
Member

PleasePlease discuss the implementation in issue, and then PR after reaching a consensus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend document test UI ui and front end related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][API][UI] Add a read-only task search to locate which workflow a task belongs to

2 participants