[CI] Fix type check cache error on changed files#259485
Merged
Ikuni17 merged 6 commits intoelastic:mainfrom Mar 26, 2026
Merged
[CI] Fix type check cache error on changed files#259485Ikuni17 merged 6 commits intoelastic:mainfrom
Ikuni17 merged 6 commits intoelastic:mainfrom
Conversation
Contributor
|
Pinging @elastic/kibana-operations (Team:Operations) |
delanni
reviewed
Mar 25, 2026
src/platform/packages/private/kbn-ui-shared-deps-npm/version_dependencies.txt
Show resolved
Hide resolved
rgodfrey-elastic
approved these changes
Mar 25, 2026
…ana into fix/type-check-changed-files
Contributor
ApprovabilityVerdict: Needs human review This is a low-risk CI tooling improvement that excludes dynamically-modified config files from cache invalidation checks and improves error messages. However, the author does not own this file (owned by @elastic/kibana-operations), so the designated code owners should review the changes to their build tooling. You can customize Macroscope's approvability policy. Learn more. |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
cc @Ikuni17 |
jbudz
approved these changes
Mar 26, 2026
Contributor
|
Starting backport for target branches: 8.19, 9.2, 9.3 https://github.com/elastic/kibana/actions/runs/23621597362 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Mar 26, 2026
## 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
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Mar 26, 2026
## 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
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Mar 26, 2026
## 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)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Mar 27, 2026
…9892) # Backport This will backport the following commits from `main` to `9.3`: - [[CI] Fix type check cache error on changed files (#259485)](#259485) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-03-26T22:41:45Z","message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v9.4.0"],"title":"[CI] Fix type check cache error on changed files","number":259485,"url":"https://github.com/elastic/kibana/pull/259485","mergeCommit":{"message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259485","number":259485,"mergeCommit":{"message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f"}}]}] BACKPORT--> Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
kibanamachine
added a commit
that referenced
this pull request
Mar 27, 2026
…9891) # Backport This will backport the following commits from `main` to `9.2`: - [[CI] Fix type check cache error on changed files (#259485)](#259485) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-03-26T22:41:45Z","message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v9.4.0"],"title":"[CI] Fix type check cache error on changed files","number":259485,"url":"https://github.com/elastic/kibana/pull/259485","mergeCommit":{"message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259485","number":259485,"mergeCommit":{"message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f"}}]}] BACKPORT--> Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
kibanamachine
added a commit
that referenced
this pull request
Mar 27, 2026
…59890) # Backport This will backport the following commits from `main` to `8.19`: - [[CI] Fix type check cache error on changed files (#259485)](#259485) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-03-26T22:41:45Z","message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v9.4.0"],"title":"[CI] Fix type check cache error on changed files","number":259485,"url":"https://github.com/elastic/kibana/pull/259485","mergeCommit":{"message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259485","number":259485,"mergeCommit":{"message":"[CI] Fix type check cache error on changed files (#259485)\n\n## Summary\n\nFIPS environments change the environment dynamically to enable FIPS in\nCI through some files in `config/`. This causes the type check cache to\nerror incorrectly due to \"changed build files\"\n([example](https://buildkite.com/elastic/kibana-pull-request/builds/415961#019d22cf-17e4-4851-993e-60706fbf13a1/L6980)).\nWe now ignore these files in the underlying `git status` check and also\nimprove the logging to show the actual changed files when this error\noccurs.\n\nFixed run:\n\nhttps://buildkite.com/elastic/kibana-pull-request/builds/415966#019d22e4-63d1-4419-9567-41f2d3534ba1","sha":"81104911c5cd7b94039a732d32478db78e83b42f"}}]}] BACKPORT--> Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
jeramysoucy
pushed a commit
to jeramysoucy/kibana
that referenced
this pull request
Apr 1, 2026
## 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
paulinashakirova
pushed a commit
to paulinashakirova/kibana
that referenced
this pull request
Apr 2, 2026
## 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
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.
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). We now ignore these files in the underlyinggit statuscheck 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