deploy.sh reports the digest and version from before the container was replaced #236
Labels
No Label
P0
P1
P2
P3
accessibility
backend
bug
content
data-integrity
enhancement
frontend
infra
integration
owner
owner-input
performance
phase-7
phase-8
release-blocker
security
seo
ui
ux
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Queue-North-Website#236
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen during the v0.9.6 deploy on 2026-09-10.
What is true now.
scripts/deploy.shfinished with:The deploy had in fact worked. Seconds later the container was
Up (healthy)onv0.9.6, and both pages served the new copy. The script inspected the container before Portainer had finished recreating it, so it compared the OLD container with itself and printed a no-op.What it costs. The one line an operator reads to confirm a deploy says nothing happened. That is the same shape as the failure the version label exists to prevent: during an incident this is the output that gets trusted. It also means a deploy that genuinely did nothing looks exactly like one that worked.
What to do. Re-read the digest and version label AFTER the health wait, and compare against the tag that was deployed rather than against the value read at the start. If they still disagree, say so and fail: a 200 from the front door is not proof that the new image is running.
Verify: a deploy of an already-running version prints unchanged digest and version and says so, and a deploy that moves the version prints the new digest and version, both read after the container reports healthy.