Skip to content

Comments

Add ADR for Shared CNCF Workflow Specification Editor#1144

Open
lornakelly wants to merge 1 commit intoserverlessworkflow:mainfrom
lornakelly:adr-shared-editor
Open

Add ADR for Shared CNCF Workflow Specification Editor#1144
lornakelly wants to merge 1 commit intoserverlessworkflow:mainfrom
lornakelly:adr-shared-editor

Conversation

@lornakelly
Copy link

Please specify parts of this PR update:

  • Specification
  • Schema
  • Examples
  • Extensions
  • Use Cases
  • Community
  • CTK
  • Other

Discussion or Issue link:

Closes #1131

What this PR does:

Create folder for ADRs and add the proposed ADR for a Shared CNCF Workflow Specification Editor & Multi-Maintainer Collaboration Model

Copilot AI review requested due to automatic review settings February 20, 2026 16:09
…aboration Model ADR

Signed-off-by: Lorna-Kelly <lorna.kelly@ibm.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an Architecture Decision Record (ADR) documenting the proposal for a shared, spec-driven CNCF Workflow Specification editor and a multi-maintainer collaboration/governance model (per issue #1131).

Changes:

  • Introduces an adr/ directory and adds an initial ADR for the shared editor initiative.
  • Documents governance/ownership, MVP scope, tooling choices, and anticipated milestones for delivery.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +58 to +62
- Initial maintainers: representatives from at least:
- CNCF Workflow Spec maintainers
- Quarkus Flow / SonataFlow
- Other interested engine maintainers (e.g. Zigflow / Synapse / Lemline etc.).

Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

"Zigflow" is also used here; consider updating to "ZigFlow" (matching the linked issue text) for consistent naming across the ADR.

Copilot uses AI. Check for mistakes.

There is a need for a shared editor for the CNCF Workflow Specification that
can be used consistently by multiple implementations (e.g. Quarkus Flow,
SonataFlow, Zigflow, Synapse, Lemline), as different tools provide inconsistent
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

"Zigflow" is capitalized differently than the project name used in the linked issue text ("ZigFlow"). Consider updating capitalization for consistency and easier recognition/searchability.

Suggested change
SonataFlow, Zigflow, Synapse, Lemline), as different tools provide inconsistent
SonataFlow, ZigFlow, Synapse, Lemline), as different tools provide inconsistent

Copilot uses AI. Check for mistakes.
Comment on lines +116 to +119
- The editor assumes workflows provided by the backend are valid.
- Edge cases to handle: validation discrepancies between the TypeScript SDK and the backend (runtime implementation).
- If rendering is possible, display warnings as needed.
- If rendering is not possible, provide clear error feedback to user.
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

The ADR lists "Indication of basic validation issues" as in-scope, but this section says the editor assumes workflows from the backend are valid. Please clarify whether the editor does any client-side schema/structural validation (even if only to support rendering) versus only surfacing backend-provided validation results.

Suggested change
- The editor assumes workflows provided by the backend are valid.
- Edge cases to handle: validation discrepancies between the TypeScript SDK and the backend (runtime implementation).
- If rendering is possible, display warnings as needed.
- If rendering is not possible, provide clear error feedback to user.
- The editor performs lightweight client-side schema/structural validation required to:
- Determine whether the workflow can be rendered.
- Surface basic validation issues (e.g. missing required fields, unsupported task types, malformed transitions) directly in the editor.
- The backend (runtime implementation) remains the source of truth for full specification conformance and advanced validation rules.
- The editor surfaces backend-provided validation results alongside any client-side findings when such results are available.
- Edge cases to handle: validation discrepancies between the TypeScript SDK and the backend (runtime implementation).
- If structural validation passes and rendering is possible, render the workflow and display validation issues as warnings/errors in context.
- If structural validation fails and rendering is not possible, do not attempt to render a partial/invalid diagram; provide clear, actionable error feedback to the user instead.

Copilot uses AI. Check for mistakes.
Comment on lines +149 to +150
- Enables incremental evolution without over engineering MVP
- Clear architectural simplicity and long term maintainability
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

Hyphenation is inconsistent in a few places (e.g., "over engineering" -> "over-engineering", "long term" -> "long-term"). Consider updating these to improve readability and consistency.

Suggested change
- Enables incremental evolution without over engineering MVP
- Clear architectural simplicity and long term maintainability
- Enables incremental evolution without over-engineering MVP
- Clear architectural simplicity and long-term maintainability

Copilot uses AI. Check for mistakes.
Comment on lines +92 to +95
- Read-only visual representation of YAML / JSON workflow definitions
- Visualise all task types and transitions
- Fully expanded nested task visualisation
- Indication of basic validation issues
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

This section also uses British spelling ("Visualise"/"visualisation"). If the repo standard is American English ("visualization" elsewhere), consider switching to "Visualize"/"visualization" for consistency.

Copilot uses AI. Check for mistakes.
Comment on lines +9 to +12
There is a need for a shared editor for the CNCF Workflow Specification that
can be used consistently by multiple implementations (e.g. Quarkus Flow,
SonataFlow, Zigflow, Synapse, Lemline), as different tools provide inconsistent
authoring and visualisation experiences, leading to duplicated effort and fragmented tooling.
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

The document uses British spelling ("visualisation"/"Visualise") but the rest of the repo appears to use American spelling (e.g., "visualization" in comparison.md). Consider standardizing to "visualization"/"Visualize" for consistency across docs.

Copilot uses AI. Check for mistakes.
### 2. UX & Design Decisions

- Light and dark theme support
- Localisation infrastructure in place, English only content for MVP
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

"Localisation" is British spelling; if docs in this repo are standardized on American English (e.g., "visualization" elsewhere), consider changing to "Localization" for consistency.

Suggested change
- Localisation infrastructure in place, English only content for MVP
- Localization infrastructure in place, English only content for MVP

Copilot uses AI. Check for mistakes.
Copy link
Member

@cdavernas cdavernas left a comment

Choose a reason for hiding this comment

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

Aside from Copilot's nitpicks, LGTM! Thanks ❤️

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.

Proposal: Shared CNCF Workflow Specification Editor & Multi-Maintainer Collaboration Model

2 participants