The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/persist-is-public has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
46f27cdc6ab9f66c3abf30b1d73c5f608cc311c3 / Yang Zhang <[email protected]>
fix(workflow): a plain save no longer clobbers is_public

Since #8125 the persist endpoint wrote is_public from the request. The frontend 
feeds the saved
row back as its metadata, and that row names the flag isPublic while the rest 
of the frontend
calls it isPublished, so the very next autosave went out without the flag, the 
update wrote NULL
into a NOT NULL column, and every second save failed with 500 (silently on the 
canvas, "Could not
save" on the Form View). A stale false on a save could likewise un-publish a 
workflow.

persist now writes name, description and content only; publishing stays with 
/public and
/private, and default_view with /set-default-view. The frontend stops sending 
the flag on a save,
and parseWorkflowInfo carries a persist response's isPublic over to isPublished 
so metadata fed
back from a save keeps the publish state.

Closes #8496.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FVvP3ttj22f9LB4p9u2anY

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

With regards,
GitHub Actions via GitBox

Reply via email to