Files
computer-playbook/tests/unit/python
kevinveenbirkenbachandClaude Opus 5.5 320929e17c fix(swarm): roll services whose locally built image changed under the same tag
Swarm deploys with `docker stack deploy --resolve-image never`, so a task
only rolls when its spec changes. Since fdf1a33c5f BookWyrm, Decidim and
the Bluesky broker build under a constant tag (bookwyrm_custom:3.11-slim
and friends): a ref bump rebuilds the image through the build-args digest
and pushes it, but the image string in compose.yml stays the same and the
running tasks keep the old image.

registry_sync now stamps every service that runs a locally built image,
siblings sharing the tag included, with the container label
`infinito.image-id=<local image ID>`. A rebuild changes the ID, the label
changes the ContainerSpec, and swarm rolls the tasks; an unchanged image
leaves the label and the deploy untouched. List and mapping label forms
are both kept intact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 15:36:35 +01:00
..