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

Head commit for run:
672761dbb965e0d9e5e4969c6b2b104d69194f0a / Yang Zhang <[email protected]>
fix(workflow): keep a newer local edit over a save's response

Every save's response is fed back as the workflow's metadata: the canvas
autosave, the menu's own save (rename, description, revert) and the Form View
switch's save. Saves go out one at a time, so a response can land after a newer
local edit and put the old name or description back. Rename while an autosave is
out and the title flips back until the rename's own save answers; rename while
the Form View switch's save is out and the rename is lost, since the switch left
as soon as its own save had completed and the page load aborted the rename's.

WorkflowPersistService, the one place every save goes through, now relays each
response with the page's current name and description in place of the ones the
save was sent with (left alone when another workflow is open by then; kept for a
workflow the save has just created, which still carries the default id locally),
and exposes whenSavesDrained(), which the Form View switch waits for before
leaving, so a save queued behind its own lands before the page unloads.

Closes #8536.

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/34800456573

With regards,
GitHub Actions via GitBox

Reply via email to