You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[8.19] [Data Streams] Fix forward-compatibility test failures (#223129) (#223226)
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Data Streams] Fix forward-compatibility test failures
(#223129)](#223129)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Elena
Stoeva","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-10T12:38:54Z","message":"[Data
Streams] Fix forward-compatibility test failures (#223129)\n\nFixes
https://github.com/elastic/kibana/issues/221224\n\n## Summary\n\nThis PR
fixes the forward-compatibility test for index mode, which\nfailed
because the index mode was added to Get Data Streams API in 8.19\nand
9.1 (see elastic/elasticsearch#122486), so\nif
Kibana 8.19 is run with Es 9.0, the index mode is always displayed
as\n\"Standard\" because Es doesn't return an index mode field.\n\nIn
this PR, we separate all index mode-related tests into a separate\nfile,
and only run it for Es versions 8.19 or
9.1+.","sha":"d12b19608af35df7ad1c3b38371819b90c926676","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"[Data
Streams] Fix forward-compatibility test
failures","number":223129,"url":"https://github.com/elastic/kibana/pull/223129","mergeCommit":{"message":"[Data
Streams] Fix forward-compatibility test failures (#223129)\n\nFixes
https://github.com/elastic/kibana/issues/221224\n\n## Summary\n\nThis PR
fixes the forward-compatibility test for index mode, which\nfailed
because the index mode was added to Get Data Streams API in 8.19\nand
9.1 (see elastic/elasticsearch#122486), so\nif
Kibana 8.19 is run with Es 9.0, the index mode is always displayed
as\n\"Standard\" because Es doesn't return an index mode field.\n\nIn
this PR, we separate all index mode-related tests into a separate\nfile,
and only run it for Es versions 8.19 or
9.1+.","sha":"d12b19608af35df7ad1c3b38371819b90c926676"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/223129","number":223129,"mergeCommit":{"message":"[Data
Streams] Fix forward-compatibility test failures (#223129)\n\nFixes
https://github.com/elastic/kibana/issues/221224\n\n## Summary\n\nThis PR
fixes the forward-compatibility test for index mode, which\nfailed
because the index mode was added to Get Data Streams API in 8.19\nand
9.1 (see elastic/elasticsearch#122486), so\nif
Kibana 8.19 is run with Es 9.0, the index mode is always displayed
as\n\"Standard\" because Es doesn't return an index mode field.\n\nIn
this PR, we separate all index mode-related tests into a separate\nfile,
and only run it for Es versions 8.19 or
9.1+.","sha":"d12b19608af35df7ad1c3b38371819b90c926676"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Elena Stoeva <[email protected]>
0 commit comments