# Leave a newer job of the picture alone while the server is asked · dara/icarus

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

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

Visibility: public

Requested revision: 7491a5af565cc94bd3f666a1bb19012a0bfba25a

Requested commit: 7491a5af565cc94bd3f666a1bb19012a0bfba25a

Commit: 7491a5af565cc94bd3f666a1bb19012a0bfba25a

Tree: 6bbc3258b068eb2643d29f38f2c8f8eca7f7b5c6

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Leave a newer job of the picture alone while the server is asked

A same-picture enqueue that landed, or was still being saved, while the
served check was out could be deleted or overwritten by the stale job.
The removal and the failure write now each act only if the job is still
the one the check started from, checked where writes are serialized.

The upload toast's state is no longer disposed: a dismissed toast can
still build with it, which failed this file's tests in CI.

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

```

## Parents

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

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