-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Index Management] Fix managed data streams badge #173408
Conversation
/ci |
Pinging @elastic/platform-deployment-management (Team:Deployment Management) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this @yuliacech! Tested locally and code changes LGTM.
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…mmon/management/index_management/data_streams.ts ## Failing on Serverless File last modified in: elastic#173408 ## Error message Error: expected 'Error updating data retention: \'Request for uri [/_data_stream/test-ds-1/_lifecycle] with method [DELETE] exists but is not available when running in serverless mode\'' to contain 'Data retention disabled' at Assertion.assert (expect.js:100:11) at Assertion.contain (expect.js:442:10) at Context. (data_streams.ts:137:54) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.apply (wrap_function.js:73:16)
#181243) …mmon/management/index_management/data_streams.ts See issue for details: #181242 ## Failing on Serverless File last modified in: #173408 ## Error message Error: expected 'Error updating data retention: \'Request for uri [/_data_stream/test-ds-1/_lifecycle] with method [DELETE] exists but is not available when running in serverless mode\'' to contain 'Data retention disabled' at Assertion.assert (expect.js:100:11) at Assertion.contain (expect.js:442:10) at Context. (data_streams.ts:137:54) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.apply (wrap_function.js:73:16)
Summary
This PR fixes the badge "managed" missing from the data streams list. The code used to check that the data stream has both conditions for a managed data streams
meta.managed: true
andmeta.managed_by: 'ingest-manager'
. The check foringest-manager
is not coorect since it's been renamed to fleet. Instead of updating the check though, I decided to only leave the condition formeta.managed : true
and I removed all mentions of "Fleet" from the Data streams tab. I believe that is more consistent for the UI, since we don't mention "Fleet-managed" anywhere else like ILM, index templates etc.Screenshot
Release Note
Fixed the badge for managed data streams in Index Management