Repository navigation
chore(QTDI-3926): Make release push atomic and fail-closed [1.2610] - #1356
Merged
lxia-talend merged 1 commit intoDec 1, 2026
Merged
lxia-talend merged 1 commit into
lxia-talend merged 1 commit into
Conversation
|
lxia-talend
deleted the
lxia-talend/QTDI-3926_atomic_release_push_1.2610
branch
December 1, 2026 05:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (63.10% Estimated after merge)
Summary
https://qlik-dev.atlassian.net/browse/QTDI-3926
Backport of #1351 to
maintenance/1.2610.QTDI-3926: the release script pushed the branch and tag with
--follow-tags, which is not atomic. A moved or unreachable remote branch could leave the tag pushed without the branch (or vice versa) during a release..jenkins/scripts/release/release-git-common.sh: aborts before any push if the remote branch cannot be fetched or has moved during the release (fail-closed).release-4-docker-image-creation.shpushes branch and tag with a singlegit push --atomicand a--force-with-leaseon the checked remote tip.DRY_RUNstill pushes only the branch, with--dry-run.release-git-push-test.sh(offline bare-repository simulation) and therelease-scripts-test.ymlworkflow that runs it.The squash commit of #1351 was cherry-picked on
maintenance/1.2610without conflict (CI scripts and one workflow, no product code).Checklist
release-git-push-test.sh, run by the new GitHub workflowmvn clean verifypasses locally: n/a, no Java changeAI generated code
https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code
🤖 Generated with Claude Code