Skip to content

[9.4][ML] Fail CMake configure if 3rd-party git clone fails (#3164) - #3172

Merged
elastic-vault-github-plugin-prod[bot] merged 1 commit into
9.4from
backport/9.4/pr-3164
Aug 31, 2026
Merged

[9.4][ML] Fail CMake configure if 3rd-party git clone fails (#3164)#3172
elastic-vault-github-plugin-prod[bot] merged 1 commit into
9.4from
backport/9.4/pr-3164

Conversation

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

Previously, execute_process() silently ignored a non-zero exit from the
git clone command. If the GitLab server is unavailable or overloaded,
CMake would continue configuring with no Eigen headers present, leading
to a cryptic compiler error hundreds of lines later instead of a clear
configure-time failure.

Same hardening for valijson as for pull-eigen.cmake: report a clear configure-time error
if the git clone fails rather than silently continuing and producing a
cryptic compiler error later.

(cherry picked from commit f95b8ef)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: clean backport of an already-reviewed change. Auto-merge is armed and will merge once the required CI checks are green.

@edsavage edsavage changed the title [9.4] Fail CMake configure if 3rd-party git clone fails (#3164) [9.4][ML] Fail CMake configure if 3rd-party git clone fails (#3164) Aug 31, 2026
@elastic-vault-github-plugin-prod
elastic-vault-github-plugin-prod Bot merged commit c2eda9c into 9.4 Aug 31, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically merge backport PRs when CI passes backport >build :ml v9.4.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants