The GitHub Actions job "Required Checks" on texera.git/pin/2-service has failed.
Run started by GitHub user yangzhang75 (triggered by yangzhang75).

Head commit for run:
2d8f4890befd3f260bd2b37cc33627bc2c01c78d / Yang Zhang <[email protected]>
feat(workflow): freeze a pinned version as the public copy

A public workflow follows the author's latest content, as publishing has
always done. This adds the other state: the author pins the version they
have now, and the public copy stops moving until they pin again.

`is_public` stays the on/off switch; `published_content` is the pin, NULL
while following. `WorkflowPublishService` owns the two states, and three
endpoints expose them: POST and DELETE `/workflow/pin/{wid}` to pin and
unpin, GET `/workflow/publish-status/{wid}` for what the author is shown.
Publishing and unpublishing move through the same service, so unpublishing
drops the pin rather than leaving a private workflow carrying one.

Two paths are narrowed so a pin can hold. A save wrote the whole row back,
so a publish landing while a save was in flight was silently rolled back,
and a request body could set the publish columns itself; saves now write
only name, description and content. Creating a workflow clears the publish
columns for the same reason.

Nothing reads the pinned copy yet: every workflow is in the following
state it is in today, and nothing on screen changes.

Co-Authored-By: Claude Opus 5 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/37508093200

With regards,
GitHub Actions via GitBox

Reply via email to