Skip to content
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

Remove feature flag for manual rule run #193833

Merged

Conversation

nkhristinin
Copy link
Contributor

@nkhristinin nkhristinin commented Sep 24, 2024

Summary

Remove feature flag for manual rule run

@nkhristinin nkhristinin requested review from a team as code owners September 24, 2024 08:56
@nkhristinin nkhristinin added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:cloud-deploy Create or update a Cloud deployment ci:project-deploy-security Create a Security Serverless Project ci:cloud-persist-deployment Persist cloud deployment indefinitely labels Sep 24, 2024
@nkhristinin
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@dplumlee dplumlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rule management changes lgtm

@nkhristinin
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@rylnd rylnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are some additional comments that can/should be deleted, here, but otherwise LGTM!

@@ -43,8 +43,7 @@ export default ({ getService }: FtrProviderContext) => {
const es = getService('es');

// Currently FF are not supported on MKI environments, so this test should be skipped from MKI environments.
// Once `manualRuleRunEnabled` FF is removed, we can remove `@skipInServerlessMKI` as well
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the comment line before this one can also be removed.

@@ -33,8 +33,7 @@ describe(
'Detection rules, preview',
{
// Currently FF are not supported on MKI environments, so this test should be skipped from MKI environments.
// Once `manualRuleRunEnabled` FF is removed, we can remove `@skipInServerlessMKI` as well
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the comment line before this one can also be removed.

@@ -20,8 +20,7 @@ import { createRule } from '../../../../tasks/api_calls/rules';
import { login } from '../../../../tasks/login';

// Currently FF are not supported on MKI environments, so this test should be skipped from MKI environments.
// Once `manualRuleRunEnabled` FF is removed, we can remove `@skipInServerlessMKI` as well
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the comment line before this one can also be removed.

@@ -19,8 +19,7 @@ import { createRule } from '../../../../tasks/api_calls/rules';
import { login } from '../../../../tasks/login';

// Currently FF are not supported on MKI environments, so this test should be skipped from MKI environments.
// Once `manualRuleRunEnabled` FF is removed, we can remove `@skipInServerlessMKI` as well
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the comment line before this one can also be removed.

@nkhristinin
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

kibana-ci commented Oct 7, 2024

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #9 / ExecutionLogSearchBar snapshots renders correctly against snapshot
  • [job] [logs] Jest Tests #9 / ExecutionLogSearchBar snapshots renders correctly against snapshot

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 20.6MB 20.6MB -689.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 88.3KB 88.3KB -24.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Member

@MadameSheema MadameSheema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sec-eng-prod changes LGTM!!

Please check if any of the tests meet the criteria to be added to the Kibana QA quality gate. Thanks!

@nkhristinin
Copy link
Contributor Author

@elasticmachine merge upstream

@nkhristinin nkhristinin enabled auto-merge (squash) October 9, 2024 14:57
@elasticmachine
Copy link
Contributor

elasticmachine commented Oct 9, 2024

⏳ Build in-progress

History

@nkhristinin nkhristinin merged commit 3f75a1d into elastic:main Oct 9, 2024
45 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11259960947

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 9, 2024
## Summary

Remove feature flag for manual rule run

---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 3f75a1d)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

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 Oct 9, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [Remove feature flag for manual rule run
(#193833)](#193833)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Khristinin
Nikita","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-09T17:23:46Z","message":"Remove
feature flag for manual rule run (#193833)\n\n## Summary\r\n\r\nRemove
feature flag for manual rule run\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"3f75a1d3d56e1d2c84ed0d4c5b18b3beb8357d3b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:cloud-deploy","ci:cloud-persist-deployment","ci:project-deploy-security"],"title":"Remove
feature flag for manual rule
run","number":193833,"url":"https://github.com/elastic/kibana/pull/193833","mergeCommit":{"message":"Remove
feature flag for manual rule run (#193833)\n\n## Summary\r\n\r\nRemove
feature flag for manual rule run\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"3f75a1d3d56e1d2c84ed0d4c5b18b3beb8357d3b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193833","number":193833,"mergeCommit":{"message":"Remove
feature flag for manual rule run (#193833)\n\n## Summary\r\n\r\nRemove
feature flag for manual rule run\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"3f75a1d3d56e1d2c84ed0d4c5b18b3beb8357d3b"}}]}]
BACKPORT-->

Co-authored-by: Khristinin Nikita <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:cloud-deploy Create or update a Cloud deployment ci:cloud-persist-deployment Persist cloud deployment indefinitely ci:project-deploy-security Create a Security Serverless Project release_note:skip Skip the PR/issue when compiling release notes v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants