Skip to content

fix(workflow): remove execute policy restriction for template delta - #4963

Merged
leozhang2018 merged 1 commit into
koderover:mainfrom
Cynthia-0203:fix/remove-delta-workflow-binding
Sep 2, 2026
Merged

fix(workflow): remove execute policy restriction for template delta#4963
leozhang2018 merged 1 commit into
koderover:mainfrom
Cynthia-0203:fix/remove-delta-workflow-binding

Conversation

@Cynthia-0203

@Cynthia-0203 Cynthia-0203 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

What this PR does / Why we need it:

Allows template-bound workflows to customize each Job’s execution policy through Delta patches.

Previously, the backend enforced the template’s execute_policy, preventing workflow instances from changing or removing it.

What is changed and how it works?

  • Removed the backend validation that required Job execution policies to match the workflow template.
  • Delta patches can now directly modify execute_policy or replace a Job with a different execution policy.
  • Other template binding, JSON Patch, and workflow validation logic remains unchanged.

Does this PR introduce a user-facing change?

  • API change
  • database schema change
  • upgrade assistant change
  • change in non-functional attributes such as efficiency or availability
  • fix of a previous issue

This change is Reviewable

Signed-off-by: Cynthia <chenchen@koderover.com>
@leozhang2018
leozhang2018 merged commit ebe6b51 into koderover:main Sep 2, 2026
4 checks passed
leozhang2018 added a commit that referenced this pull request Sep 2, 2026
…inding-release-5.0.0

cp: cherry pick #4963 to release-5.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants