Skip to content

[DSIP-65] SubWorkflow logic task support pause/kill/recover #16566

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

ruanwenjun
Copy link
Member

@ruanwenjun ruanwenjun commented Sep 2, 2024

Purpose of the pull request

close #16480

Brief change log

  • Sub workflow task add implementation
  • Add sub workflow IT
  • Change WorkflowGraphBfsVisitor to WorkflowGraphTopologyLogicalVisitor

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 contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_implementSubWorkflow branch from 012b1d3 to 31eeec4 Compare September 2, 2024 14:37
@SbloodyS SbloodyS added this to the 3.3.0 milestone Sep 2, 2024
@SbloodyS SbloodyS added the DSIP label Sep 2, 2024
@ruanwenjun ruanwenjun added DSIP and removed DSIP labels Sep 2, 2024
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_implementSubWorkflow branch 2 times, most recently from f2e6a05 to 33ec598 Compare September 3, 2024 04:28
@ruanwenjun ruanwenjun changed the title [DSIP-65] SubWorkflow logic task support failover/repeat running/pause/kill/recover [DSIP-65] SubWorkflow logic task support pause/kill/recover Sep 3, 2024
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_implementSubWorkflow branch from 33ec598 to b7b5f99 Compare September 3, 2024 05:13
Copy link

sonarqubecloud bot commented Sep 3, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.5% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

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

LGTM

taskInstance.setEndTime(new Date());
taskInstanceDao.upsertTaskInstance(taskInstance);
super.pause();
// todo: support pause
Copy link
Contributor

Choose a reason for hiding this comment

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

Dependent Task is very important in ds, so I think this is a high priority todo.

If it cannot be completed in a short time, I suggest to add some warn logs here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, will use #16577 to fix this.

@ruanwenjun ruanwenjun merged commit 3a24d17 into apache:dev Sep 4, 2024
65 of 66 checks passed
@ruanwenjun ruanwenjun deleted the dev_wenjun_implementSubWorkflow branch September 4, 2024 02:01
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DSIP-65] SubWorkflow logic task support failover/repeat running/pause/kill/recover
3 participants