Skip to content

ci: fix checkout stable#18303

Merged
gergosimonyi merged 1 commit intomainfrom
ci/fix-checkout-stable
Nov 20, 2025
Merged

ci: fix checkout stable#18303
gergosimonyi merged 1 commit intomainfrom
ci/fix-checkout-stable

Conversation

@gergosimonyi
Copy link
Collaborator

If you don't happen to read the logs of this step, everything seems fine and git checkout $(prev_stable) is just interpreted as the no-op git checkout. That's because $() spawns a subshell and subshell errors don't stop execution on set -eo pipefail. In fact, a quick search didn't reveal any way to catch this typo with set.

I wonder how long this could have stayed hidden if I wasn't specifically looking at this workflow for a completely different reason.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2025.8 Add this label to PRs to backport changes to version-2025.8 backport/version-2025.10 Add this label to PRs to backport changes to version-2025.10

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants