Skip to content

fix: reinstall node after switching branches in version bump script#272075

Merged
TamerlanG merged 1 commit into
elastic:mainfrom
TamerlanG:fix/version-bump-node-versions
Jun 1, 2026
Merged

fix: reinstall node after switching branches in version bump script#272075
TamerlanG merged 1 commit into
elastic:mainfrom
TamerlanG:fix/version-bump-node-versions

Conversation

@TamerlanG
Copy link
Copy Markdown
Contributor

@TamerlanG TamerlanG commented Jun 1, 2026

Summary

  • Re-sources setup_node.sh after git checkout in the version bump script so the Node version matches the .node-version file of the target branch, not the original branch.

Why

When the script switches to a different branch (git checkout -B "$branch_to_merge_into"), the Node version in the environment may no longer match what that branch requires. This caused failures when branches use different Node versions.

@TamerlanG TamerlanG added Team:Operations Kibana-Operations Team release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Jun 1, 2026
@TamerlanG TamerlanG marked this pull request as ready for review June 1, 2026 08:45
@TamerlanG TamerlanG requested a review from a team as a code owner June 1, 2026 08:45
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

Pinging @elastic/kibana-operations (Team:Operations)

@TamerlanG TamerlanG merged commit 8089443 into elastic:main Jun 1, 2026
101 of 116 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #58 / alerting api integration security and spaces enabled - Group 3 Alerts - Group 3 alerts bulkEnableRules Clearing flapping tests should clear flapping history when enabling rules
  • [job] [logs] FTR Configs #9 / Entity Analytics - Watchlists @ess @serverless @skipInServerlessMKI Watchlist Lifecycle should remove all entities from the watchlist index when the watchlist is deleted

Metrics [docs]

✅ unchanged

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

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants