Skip to content

fix: validate partial workflow previews#753

Open
Valirius wants to merge 1 commit intoczlonkowski:mainfrom
Contentceh:contentceh/fix-partial-workflow-validateonly
Open

fix: validate partial workflow previews#753
Valirius wants to merge 1 commit intoczlonkowski:mainfrom
Contentceh:contentceh/fix-partial-workflow-validateonly

Conversation

@Valirius
Copy link
Copy Markdown

Summary

  • Return the canonical post-diff workflow from validateOnly partial update runs.
  • Run structural workflow validation before returning successful preview responses, matching the real save path.
  • Add a regression script covering connection preservation and validateOnly/apply shape parity.

Verification

  • npx -y -p typescript@5.8.3 tsc -p tsconfig.build.json --pretty false
  • node dist/scripts/test-update-partial-save-path-regression.js

Concieved by Romuald Członkowski - https://www.aiadvisors.pl/en

Ensure validateOnly partial workflow updates return the canonical post-diff workflow and run the same structural validation path as real saves. This prevents preview results from reporting success when the workflow shape would fail before persistence.

Adds a focused regression script for connection preservation and validateOnly/apply shape parity.

Concieved by Romuald Członkowski - https://www.aiadvisors.pl/en
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