# Add the cloud page directly before copying onto it · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/279dae6ba00886d557f8935a0865e40bc2db539b)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 279dae6ba00886d557f8935a0865e40bc2db539b

Requested commit: 279dae6ba00886d557f8935a0865e40bc2db539b

Commit: 279dae6ba00886d557f8935a0865e40bc2db539b

Tree: abe3c51c6e7e3dd86496782d90d31a987d421e51

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Add the cloud page directly before copying onto it

Astra's second review found the copy inferring that the new page existed
from the queue: an op leaves the queue when it lands, but also when it
is discarded, replaced, or not yet written, so copies could go to a page
that wasn't there. "+" on a cloud strategy now adds the page with a
direct server call (pages:add), retrying once after a teammate's change,
and copies onto it only once that call succeeds; offline, no page is
added and a toast says so. enqueueOffCanvas checks, as it writes, that
the strategy the copy belongs to is still the active one. The page read
before turning to the new page is bound by the same three seconds, and a
failed turn is logged rather than thrown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [40226cec2320f92420f9b77bb44e09e3e538a5bf](https://git.cafe/dara/icarus/commit/40226cec2320f92420f9b77bb44e09e3e538a5bf?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/279dae6ba00886d557f8935a0865e40bc2db539b?format=markdown)
