Skip to content

Make workflows durable by default and keep legacy upgrade option - #1834

Merged
Paul Lizer (paullizer) merged 1 commit into
paullizer-react-v2-uifrom
paullizer-durable-workflows-by-default
Oct 23, 2026
Merged

Paul Lizer (paullizer) merged 1 commit into
paullizer-react-v2-uifrom
paullizer-durable-workflows-by-default

Conversation

@paullizer

Copy link
Copy Markdown
Contributor

Summary

  • Removed the Durable execution toggle when creating new workflows or editing already-durable workflows in the V2 workflow editor (WorkflowEditorDialog.tsx), so all new and durable workflows remain durable without an option to turn durability off.
  • Retained the Durable execution upgrade switch in Execution only when editing existing legacy non-durable workflows (original !== null && original.durable_execution !== true && draft.definition_version !== 3), preserving their legacy behavior until explicitly upgraded or auto-upgraded by enabling task approval.
  • Enforced 1:1 save parity in workflowEditor.ts (workflowForSave) and functions_workflow_assist_editor.py (workflow_for_save) so new and already-durable workflows always save durable_execution: true while untouched legacy workflows preserve their stored state.

Linked issue

N/A

Release Notes & Latest Features

  • New Feature
  • Bug Fix
  • UI Enhancement
  • Breaking Change
  • Internal only

Is this visible to end users?

  • Yes
  • No

Is this admin-facing (Admin Settings, governance, deployment, config)?

  • Yes
  • No

Should this become a Latest Feature card?

  • Yes
  • No
  • Already added

Screenshot needed for the card?

  • Yes
  • No
  • Attached

Version bump

  • application/single_app/config.py VERSION third segment bumped, or not needed because this is docs-only
  • deployers/version.txt bumped, or not needed because deployers/ was not changed

Testing / validation

  • npm run build --prefix .\application\v2_ui - passed
  • pytest .\functional_tests\test_workflow_durable_definition.py .\functional_tests\test_workflow_assist_candidate_parity.py .\functional_tests\test_workflow_draft_save_parity.py .\functional_tests\test_docs_app_surface_coverage.py .\functional_tests\test_docs_site_quality.py .\ui_tests\test_v2_workflow_durable_runtime.py -q - passed (68 passed)
  • git -c core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol diff --check - passed

Documentation

  • Release notes updated, or not needed
  • Feature documentation updated, or not needed
  • Fix documentation updated, or not needed

Security checklist

  • New Flask routes include @swagger_route(security=get_auth_security())
  • Settings sent to non-admin frontends use sanitize_settings_for_user()
  • Browser JavaScript is served from local SimpleChat static assets only; no CDN-hosted JS
  • No secrets, keys, connection strings, or local-only artifacts are included

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@paullizer
Paul Lizer (paullizer) merged commit 56854a3 into paullizer-react-v2-ui Oct 23, 2026
11 of 12 checks passed
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.

1 participant