Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add CronoverlapPolicy support to java client, update idl#1018

New issue

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

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
timl3136 wants to merge4 commits intocadence-workflow:master
base:master
Choose a base branch
Loading
fromtiml3136:cron

Conversation

@timl3136
Copy link
Member

@timl3136timl3136 commentedAug 12, 2025
edited
Loading

What changed?
Updated IDL submodule to latest master
AddedcronOverlapPolicy field to support cron workflow overlap policies in:

  • WorkflowOptions - field with getter, setter, equals, hashCode, toString, merge
  • StartWorkflowExecutionParameters - field with CRUD operations and propagation
  • StartChildWorkflowExecutionParameters - field with CRUD operations
  • ChildWorkflowOptions - field with getter, setter, merge
  • SyncDecisionContext - updated to pass field to child workflow parameters

However, this feature is not yet working since idl related change is not merged (will be added in a later pr)

Why?
need to add corresponding logic forcronOverlapPolicy that is already implemented in server and go client

How did you test it?
unit tests

Potential risks

Release notes

Documentation Changes


privateStringcronSchedule;

privateintcronOverlapPolicy;
Copy link
Member

Choose a reason for hiding this comment

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

use thrift entity similar toWorkflowIdReusePolicy


privateDurationdelayStart;

privateintcronOverlapPolicy;
Copy link
Member

Choose a reason for hiding this comment

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

use thrift entity


privateStringcronSchedule;

privateintcronOverlapPolicy;
Copy link
Member

Choose a reason for hiding this comment

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

use thrift entity

.setRetryOptions(RetryOptions.merge(methodRetry,o.getRetryOptions()))
.setCronSchedule(OptionsUtils.merge(cronAnnotation,o.getCronSchedule(),String.class))
.setMemo(o.getMemo())
.setCronOverlapPolicy(o.cronOverlapPolicy)
Copy link
Member

Choose a reason for hiding this comment

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

use getter

@timl3136timl3136 changed the titleAdd CronoverlapPolicy support to java clientAdd CronoverlapPolicy support to java client, update idlAug 14, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@shijieshengshijieshengshijiesheng left review comments

@GroxxGroxxAwaiting requested review from Groxx

@abhishekj720abhishekj720Awaiting requested review from abhishekj720abhishekj720 is a code owner

@natemortnatemortAwaiting requested review from natemortnatemort is a code owner

@dkrotxdkrotxAwaiting requested review from dkrotxdkrotx is a code owner

@taylanisikdemirtaylanisikdemirAwaiting requested review from taylanisikdemirtaylanisikdemir is a code owner

@demirkayaenderdemirkayaenderAwaiting requested review from demirkayaenderdemirkayaender is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@timl3136@shijiesheng

[8]ページ先頭

©2009-2025 Movatter.jp