Skip to content

fix(sop): publish new workflows as v1 and label auto layout - #1320

Open
newexploreor wants to merge 1 commit into
mainfrom
feature/workflow-first-publish
Open

newexploreor wants to merge 1 commit into
mainfrom
feature/workflow-first-publish

Conversation

@newexploreor

Copy link
Copy Markdown
Collaborator

What changed

  • Publish a new SOP as v1, including drafts saved before this change. Later edits advance the release number when published, and retrying an unchanged publication reuses its version.
  • Show the draft state in the editor and revision history, and label the existing Auto layout action in the canvas toolbar.

Scope

  • Platform SOP catalog and workflow editor

Compatibility

Existing releases keep their version numbers. This change requires no schema or data migration.

Validation

  • go test ./internal/repo ./internal/httpapi ./web -run 'Test(Workflow|CatalogWorkflow|CatalogRevisionRestoreAndValidation|PublishGeneric|Flow|SOP|Revision)' -count=1
  • node --test tests/flows-editor.test.mjs tests/revisions-bulk-notifications.test.mjs (12 passed from webtest/)
  • python3 scripts/check-public.py
  • MySQL concurrency test requires a running Docker environment and was skipped locally.

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