GitHub user yangzhang75 created a discussion: Proposal - Pin the published 
version of a workflow

## Background

Discussed in the weekly meeting, coming out of the public workflow
reporting/moderation discussion #6242

## The problem

A published workflow currently shows its latest version. Editing it
instantly changes what everyone sees, with no explicit "publish this
version" step. Whatever the author last saved is what the public gets.

This breaks moderation: if a reported workflow is taken down, the author
can edit it to look clean, get it re-approved, then edit it back — the bad
content goes public again with no review. Any approval only holds for that
one moment, not for what's shown afterward.

## The plan

Pin the published version.

- Publishing publishes a specific version, not a live pointer to "latest".
- Viewers and cloners get a copy of that pinned version, not the author's
  newest edits.
- The author keeps editing freely; edits do not change the public version.
  To go public, the author explicitly updates the published version to
  their latest.
- A workflow still appears as a single entry in the public Hub. Pinning
  changes which version the entry shows, not how many entries there are.

<img width="461" height="108" alt="Screenshot 2026-07-30 at 11 33 29 AM" 
src="https://github.com/user-attachments/assets/b11e571e-ed85-4907-9e33-c16540262dd1";
 />

<img width="714" height="749" alt="Screenshot 2026-07-30 at 11 33 35 AM" 
src="https://github.com/user-attachments/assets/cc0dcdf5-a556-4c58-b841-2737b486cbfb";
 />

<img width="714" height="727" alt="Screenshot 2026-07-30 at 11 33 39 AM" 
src="https://github.com/user-attachments/assets/05e4ff9e-1c1a-4007-98a3-43d9ca999011";
 />


## Author awareness

When the author's latest differs from the published version, the Share
button shows a small dot; hovering explains it, and re-publishing is done
inside the Share dialog. No banner in the editor canvas.





## Open question

After pinning, the author's canvas and the published version can differ.
Should the author also be able to preview and clone the published version,
so they can get back to what's currently public? Or is editing the latest
version enough?

GitHub link: https://github.com/apache/texera/discussions/7128

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to