workspace: Retain panes while saving (#61683)

Save tasks can suspend while waiting for prompts, formatting, or
filesystem I/O. Holding only a WeakEntity<Pane> allowed the pane to be
released during those suspension points, surfacing an internal 'entity
released' error as a failed save.

Instead upgrade the pane once the save operation starts so we can ensure
it finishes.


---

Release Notes:

- N/A or Added/Fixed/Improved ...
23cb8712baLukas Wirth committed on 7/26/2026, 7:59:54 PM· committed by GitHubparent7f96e13
2 files changedLine totals unavailable