fix(ci): a prerelease's image job exits 0 after pushing its images #1217

Merged
claude-bot merged 1 commit from fix/release-prerelease-exit into main 2026-10-17 19:31:56 +00:00
Collaborator

The v4.6.0-rc1 tag's "Build and push versioned images" job went red after pushing all three images (backend, frontend and bot were all at :4.6.0-rc1, digests in the log).

The cause is in release.yml: for a prerelease, publish_latest is empty, and the loop's last command was [ -n "$publish_latest" ] && docker push …:latest. A false test as a step's last command makes the step exit 1. Both [ … ] && … lines are now if … then … fi.

This shows on every prerelease; a final release was unaffected. It will be checked on the next tag.

🤖 Generated with Claude Code

The v4.6.0-rc1 tag's "Build and push versioned images" job went red after pushing all three images (backend, frontend and bot were all at `:4.6.0-rc1`, digests in the log). The cause is in `release.yml`: for a prerelease, `publish_latest` is empty, and the loop's last command was `[ -n "$publish_latest" ] && docker push …:latest`. A false test as a step's last command makes the step exit 1. Both `[ … ] && …` lines are now `if … then … fi`. This shows on every prerelease; a final release was unaffected. It will be checked on the next tag. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(ci): a prerelease's image job exits 0 after pushing its images
All checks were successful
CI / Does this change touch the recording path? (pull_request) Successful in 24s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Backend lint (ruff) (pull_request) Successful in 26s
CI / Which journeys does this change need? (pull_request) Successful in 25s
CI / Docker image build (pull_request) Successful in 29s
CI / Bot/backend version sync (pull_request) Successful in 45s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 52s
CI / Feedback site tests (pull_request) Successful in 1m18s
CI / Bot tests and audit (pull_request) Successful in 2m8s
CI / Frontend (shard 2/2) (pull_request) Successful in 10m6s
CI / Frontend (shard 1/2) (pull_request) Successful in 12m39s
CI / End-to-end journeys (desktop) (pull_request) Successful in 17m2s
CI / Backend migration, tests, and audit (pull_request) Successful in 36m23s
120c85e388
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-bot scheduled this pull request to auto merge when all checks succeed 2026-10-17 18:55:32 +00:00
Sign in to join this conversation.
No description provided.