Skip to content

[9.2] [CI] Fix type check cache error on changed files (#259485)#259891

Merged
kibanamachine merged 1 commit intoelastic:9.2from
kibanamachine:backport/9.2/pr-259485
Mar 27, 2026
Merged

[9.2] [CI] Fix type check cache error on changed files (#259485)#259891
kibanamachine merged 1 commit intoelastic:9.2from
kibanamachine:backport/9.2/pr-259485

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

## Summary

FIPS environments change the environment dynamically to enable FIPS in
CI through some files in `config/`. This causes the type check cache to
error incorrectly due to "changed build files"
([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).
We now ignore these files in the underlying `git status` check and also
improve the logging to show the actual changed files when this error
occurs.

Fixed run:

https://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1
(cherry picked from commit 8110491)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 26, 2026
@kibanamachine kibanamachine enabled auto-merge (squash) March 26, 2026 23:06
@kibanamachine kibanamachine merged commit 97412d7 into elastic:9.2 Mar 27, 2026
19 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #43 / Core Analysis - Entity Store @ess Entity Store History - Snapshots Successfuly create a snapshot Should perform snapshot task

Metrics [docs]

✅ unchanged

cc @Ikuni17

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

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants