Files
5270c5d31e fix(sync): file a screenshot sent ahead of its state past a stream capture (#5208)
* fix(sync): file a screenshot sent ahead of its state past a stream capture

A Cloud Sync client sends a slot's screenshot before the state it belongs
to. With a stream capture serving the slot, the screenshot was filed under
the capture's name and wrote over the capture's own thumbnail.

The screenshot now goes to the state the slot's next upload writes to: the
slot's newest non-capture state, or the canonical name when the upload
will create one. A copy of the capture's own screenshot sent back is left
alone.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* refactor(sync): address Greptile review on the stream capture checks

Move the capture copy checks for a state and a screenshot upload out of the endpoint into the sync handler, and fold the core_library_name, prune_state_history and Stream.vue comments to two lines.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Zach Clendenen <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-10-09 16:06:48 -04:00
..
2026-03-14 22:13:38 -04:00