[Security solution][Alert Details] Enable preview feature flag and cypress tests#188580
[Security solution][Alert Details] Enable preview feature flag and cypress tests#188580christineweng merged 3 commits intoelastic:mainfrom
Conversation
|
/ci |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6567[✅] Security Solution Investigations - Cypress: 25/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6570[✅] Security Solution Investigations - Cypress: 50/50 tests passed. |
|
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
|
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations) |
|
@christineweng have you considered switching the feature flag around? Instead of having Jatin recently did this in this PR and I had done something similar in this PR a few weeks ago. That advantage is customers can turn off the feature if something goes wrong in their environment, by updating their |
@PhilippeOberti Is this a new process we are promoting? I see the benefit, but it seems counter intuitive to implement technically a new flag versus turning it on and off. my concern is more around timing and the possibility of introducing bugs. @michaelolo24 wdyt? |
2feca71 to
6f8233f
Compare
I don't know if it's really a new process, but after talking about it with Sergi, Jatin and a few other people on Slack we felt it made sense, until we have a way to enable and disable feature flag via the I see your point, but keeping the feature flag as you have is very inflexible. If a customer has an issue, they have absolutely no way to turn things off, and would have to wait for a minor release to be available. This is pretty risky (even though in this case the risk is probably very low) |
⏳ Build in-progress, with failures
Failed CI StepsTest Failures
History |
ed0a4e2 to
c3ee2c9
Compare
PhilippeOberti
left a comment
There was a problem hiding this comment.
desk tested and the code LGTM! Thanks for switching the flag around!
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#6596[❌] Security Solution Investigations - Cypress: 24/50 tests passed. |
tiansivive
left a comment
There was a problem hiding this comment.
LGTM from Entity Analytics
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
Page load bundle
To update your PR or re-run it, just comment with: |
…press tests (elastic#188580) ## Summary This PR inverted feature flag `entityAlertPreviewEnabled` to `entityAlertPreviewDisabled` and related cypress tests. The flag inversion will allow customers to disable the feature if issues arise. ### Checklist - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit f6a837d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
… and cypress tests (#188580) (#189005) # Backport This will backport the following commits from `main` to `8.15`: - [[Security solution][Alert Details] Enable preview feature flag and cypress tests (#188580)](#188580) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-07-23T20:01:56Z","message":"[Security solution][Alert Details] Enable preview feature flag and cypress tests (#188580)\n\n## Summary\r\n\r\nThis PR inverted feature flag `entityAlertPreviewEnabled` to\r\n`entityAlertPreviewDisabled` and related cypress tests. The flag\r\ninversion will allow customers to disable the feature if issues arise.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"f6a837dae0a6438b534e934edfd3232effe966b3","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Threat Hunting","release_note:feature","Team:Threat Hunting:Investigations","v8.15.0","v8.16.0"],"title":"[Security solution][Alert Details] Enable preview feature flag and cypress tests","number":188580,"url":"https://github.com/elastic/kibana/pull/188580","mergeCommit":{"message":"[Security solution][Alert Details] Enable preview feature flag and cypress tests (#188580)\n\n## Summary\r\n\r\nThis PR inverted feature flag `entityAlertPreviewEnabled` to\r\n`entityAlertPreviewDisabled` and related cypress tests. The flag\r\ninversion will allow customers to disable the feature if issues arise.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"f6a837dae0a6438b534e934edfd3232effe966b3"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188580","number":188580,"mergeCommit":{"message":"[Security solution][Alert Details] Enable preview feature flag and cypress tests (#188580)\n\n## Summary\r\n\r\nThis PR inverted feature flag `entityAlertPreviewEnabled` to\r\n`entityAlertPreviewDisabled` and related cypress tests. The flag\r\ninversion will allow customers to disable the feature if issues arise.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"f6a837dae0a6438b534e934edfd3232effe966b3"}}]}] BACKPORT--> Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
* master: (3487 commits) `BedrockChat` & `GeminiChat` (elastic#186809) [ResponseOps] log error when ES Query rules find docs out of time range (elastic#186332) skip flaky suite (elastic#188997) [Security solution][Alert Details] Enable preview feature flag and cypress tests (elastic#188580) [EuiProviders] Warn Developer if EuiProvider is missing (elastic#184608) [Security Solution ] Fixes Timeline infinite loading bug (elastic#188943) Improve SearchSource SearchRequest type (elastic#186862) Deprecate Search Sessions config (elastic#188037) [Synthetics] Add missing monitorType and tag info in cards !! (elastic#188824) [Console Monaco] Resolve uncaught error from tokenizer (elastic#188746) [Data Forge] Add `service.logs` dataset as a data stream (elastic#188786) [Console] Fix failing bulk requests (elastic#188552) Update dependency terser to ^5.31.2 (main) (elastic#188528) [APM][ECO] Telemetry (elastic#188627) [Fleet] Fix uninstall package validation accross space (elastic#188749) Update warning on `xpack.fleet.enableExperimental` (elastic#188917) [DOCS][Cases] Automate more screenshots for cases (elastic#188697) [Fleet] Fix get one agent when feature flag disabled (elastic#188953) chore(investigate): Add investigate-app plugin from poc (elastic#188122) [Monaco Editor] Add Search functionality (elastic#188337) ...
* master: (2400 commits) `BedrockChat` & `GeminiChat` (elastic#186809) [ResponseOps] log error when ES Query rules find docs out of time range (elastic#186332) skip flaky suite (elastic#188997) [Security solution][Alert Details] Enable preview feature flag and cypress tests (elastic#188580) [EuiProviders] Warn Developer if EuiProvider is missing (elastic#184608) [Security Solution ] Fixes Timeline infinite loading bug (elastic#188943) Improve SearchSource SearchRequest type (elastic#186862) Deprecate Search Sessions config (elastic#188037) [Synthetics] Add missing monitorType and tag info in cards !! (elastic#188824) [Console Monaco] Resolve uncaught error from tokenizer (elastic#188746) [Data Forge] Add `service.logs` dataset as a data stream (elastic#188786) [Console] Fix failing bulk requests (elastic#188552) Update dependency terser to ^5.31.2 (main) (elastic#188528) [APM][ECO] Telemetry (elastic#188627) [Fleet] Fix uninstall package validation accross space (elastic#188749) Update warning on `xpack.fleet.enableExperimental` (elastic#188917) [DOCS][Cases] Automate more screenshots for cases (elastic#188697) [Fleet] Fix get one agent when feature flag disabled (elastic#188953) chore(investigate): Add investigate-app plugin from poc (elastic#188122) [Monaco Editor] Add Search functionality (elastic#188337) ...
Summary
This PR inverted feature flag
entityAlertPreviewEnabledtoentityAlertPreviewDisabledand related cypress tests. The flag inversion will allow customers to disable the feature if issues arise.Checklist