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

[8.x] Backport: Sustainable Kibana Architecture: Move modules owned by @elastic/response-ops #205166

Merged
merged 7 commits into from
Dec 26, 2024

Conversation

pgayvallet
Copy link
Contributor

Backport #202836

…onse-ops` (elastic#202836)

## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 9 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/actions-plugin` | `x-pack/platform/plugins/shared/actions` |
| `@kbn/alerting-plugin` | `x-pack/platform/plugins/shared/alerting` |
| `@kbn/cases-plugin` | `x-pack/platform/plugins/shared/cases` |
| `@kbn/event-log-plugin` | `x-pack/platform/plugins/shared/event_log` |
| `@kbn/rule-registry-plugin` |
`x-pack/platform/plugins/shared/rule_registry` |
| `@kbn/stack-alerts-plugin` |
`x-pack/platform/plugins/shared/stack_alerts` |
| `@kbn/stack-connectors-plugin` |
`x-pack/platform/plugins/shared/stack_connectors` |
| `@kbn/task-manager-plugin` |
`x-pack/platform/plugins/shared/task_manager` |
| `@kbn/triggers-actions-ui-plugin` |
`x-pack/platform/plugins/shared/triggers_actions_ui` |

#### 12 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/actions-types` |
`src/platform/packages/shared/kbn-actions-types` |
| `@kbn/alerting-comparators` |
`x-pack/platform/packages/shared/kbn-alerting-comparators` |
| `@kbn/alerting-state-types` |
`x-pack/platform/packages/private/kbn-alerting-state-types` |
| `@kbn/alerting-types` |
`src/platform/packages/shared/kbn-alerting-types` |
| `@kbn/alerts-as-data-utils` |
`src/platform/packages/shared/kbn-alerts-as-data-utils` |
| `@kbn/alerts-grouping` |
`x-pack/solutions/observability/packages/kbn-alerts-grouping` |
| `@kbn/alerts-ui-shared` |
`src/platform/packages/shared/kbn-alerts-ui-shared` |
| `@kbn/cases-components` |
`src/platform/packages/shared/kbn-cases-components` |
| `@kbn/grouping` | `src/platform/packages/shared/kbn-grouping` |
| `@kbn/response-ops-rule-params` |
`src/platform/packages/private/response-ops/rule_params` |
| `@kbn/rrule` | `src/platform/packages/shared/kbn-rrule` |
| `@kbn/triggers-actions-ui-types` |
`src/platform/packages/shared/kbn-triggers-actions-ui-types` |

<details open>
<summary>Script errors</summary>

```
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/alerting/README.md:257
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/stack_connectors/README.md:411
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/private/response-ops/rule_params/jest.config.js:12
src/platform/packages/private/response-ops/rule_params/tsconfig.json:2
src/platform/packages/private/response-ops/rule_params/tsconfig.type_check.json:2
src/platform/packages/private/response-ops/rule_params/tsconfig.type_check.json:20
src/platform/packages/shared/kbn-actions-types/jest.config.js:12
src/platform/packages/shared/kbn-actions-types/tsconfig.json:2
src/platform/packages/shared/kbn-actions-types/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-actions-types/tsconfig.type_check.json:22
src/platform/packages/shared/kbn-alerting-types/jest.config.js:12
src/platform/packages/shared/kbn-alerting-types/tsconfig.json:2
src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:25
src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:34
src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:40
src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:43
src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js:12
src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json:2
src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js:12
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json:2
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:121
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:28
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:49
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:52
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:61
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:64
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:73
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:79
src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:82
src/platform/packages/shared/kbn-cases-components/jest.config.js:12
src/platform/packages/shared/kbn-cases-components/tsconfig.json:2
src/platform/packages/shared/kbn-cases-components/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-grouping/jest.config.js:12
src/platform/packages/shared/kbn-grouping/tsconfig.json:2
src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:24
src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:36
src/platform/packages/shared/kbn-rrule/jest.config.js:12
src/platform/packages/shared/kbn-rrule/tsconfig.json:2
src/platform/packages/shared/kbn-rrule/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js:12
src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json:2
src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.type_check.json:2
x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js:10
x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json:2
x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.type_check.json:2
x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.type_check.json:20
x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js:10
x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json:2
x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/actions/docs/openapi/README.md:5
x-pack/platform/plugins/shared/actions/jest.config.js:10
x-pack/platform/plugins/shared/actions/jest.integration.config.js:10
x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts:35
x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts:34
x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts:24
x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js:46
x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md:358
x-pack/platform/plugins/shared/actions/tsconfig.json:2
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:100
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:103
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:106
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:112
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:115
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:118
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:121
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:124
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:19
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:46
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:49
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:52
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:55
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:58
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:61
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:64
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:67
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:70
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:73
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:76
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:79
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:82
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:85
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:88
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:91
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:94
x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:97
x-pack/platform/plugins/shared/alerting/README.md:257
x-pack/platform/plugins/shared/alerting/README.md:274
x-pack/platform/plugins/shared/alerting/README.md:281
x-pack/platform/plugins/shared/alerting/jest.config.js:10
x-pack/platform/plugins/shared/alerting/jest.integration.config.js:10
x-pack/platform/plugins/shared/alerting/tsconfig.json:2
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:100
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:103
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:106
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:109
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:112
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:115
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:118
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:121
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:124
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:127
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:130
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:133
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:136
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:139
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:142
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:145
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:148
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:154
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:157
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:160
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:163
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:166
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:169
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:172
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:175
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:178
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:181
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:184
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:187
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:19
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:190
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:193
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:196
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:199
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:202
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:205
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:208
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:49
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:52
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:55
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:58
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:61
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:64
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:67
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:70
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:73
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:76
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:79
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:82
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:85
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:88
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:91
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:94
x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:97
x-pack/platform/plugins/shared/cases/jest.config.js:10
x-pack/platform/plugins/shared/cases/tsconfig.json:10
x-pack/platform/plugins/shared/cases/tsconfig.json:2
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:100
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:103
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:106
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:112
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:115
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:118
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:12
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:121
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:124
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:127
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:130
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:133
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:136
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:139
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:142
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:145
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:148
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:151
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:154
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:157
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:160
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:163
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:166
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:172
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:178
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:181
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:184
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:187
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:19
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:190
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:193
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:196
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:199
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:202
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:205
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:208
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:43
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:46
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:49
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:52
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:55
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:58
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:61
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:64
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:67
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:70
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:73
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:76
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:79
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:82
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:91
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:94
x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:97
x-pack/platform/plugins/shared/event_log/README.md:330
x-pack/platform/plugins/shared/event_log/jest.config.js:10
x-pack/platform/plugins/shared/event_log/jest.integration.config.js:10
x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js:257
x-pack/platform/plugins/shared/event_log/server/es/context.test.ts:14
x-pack/platform/plugins/shared/event_log/server/es/names.test.ts:10
x-pack/platform/plugins/shared/event_log/tsconfig.json:2
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:20
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:26
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:29
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:32
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:35
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:38
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:41
x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:47
x-pack/platform/plugins/shared/rule_registry/jest.config.js:10
x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js:19
x-pack/platform/plugins/shared/rule_registry/tsconfig.json:12
x-pack/platform/plugins/shared/rule_registry/tsconfig.json:2
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:13
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:20
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:23
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:32
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:35
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:38
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:41
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:44
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:50
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:53
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:56
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:59
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:62
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:65
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:68
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:71
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:74
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:77
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:80
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:83
x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:86
x-pack/platform/plugins/shared/stack_alerts/jest.config.js:10
x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md:125
x-pack/platform/plugins/shared/stack_alerts/tsconfig.json:2
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:100
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:103
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:106
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:109
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:112
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:115
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:118
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:121
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:124
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:127
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:130
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:133
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:136
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:139
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:142
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:148
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:151
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:154
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:19
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:31
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:34
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:40
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:43
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:46
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:49
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:52
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:55
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:58
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:61
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:64
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:67
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:70
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:73
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:76
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:79
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:82
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:85
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:88
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:91
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:94
x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:97
x-pack/platform/plugins/shared/stack_connectors/README.md:411
x-pack/platform/plugins/shared/stack_connectors/README.md:417
x-pack/platform/plugins/shared/stack_connectors/jest.config.js:10
x-pack/platform/plugins/shared/stack_connectors/tsconfig.json:2
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:101
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:107
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:110
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:113
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:20
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:29
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:32
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:35
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:38
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:41
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:44
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:50
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:53
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:56
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:59
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:62
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:65
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:68
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:71
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:74
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:77
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:80
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:83
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:89
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:92
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:95
x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:98
x-pack/platform/plugins/shared/task_manager/README.md:64
x-pack/platform/plugins/shared/task_manager/jest.config.js:10
x-pack/platform/plugins/shared/task_manager/jest.integration.config.js:10
x-pack/platform/plugins/shared/task_manager/tsconfig.json:2
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:18
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:21
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:24
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:27
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:30
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:33
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:36
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:39
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:42
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:45
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:48
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:51
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:54
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:57
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:60
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:63
x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:69
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1229
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1283
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1332
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1404
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1418
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1419
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1534
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1548
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1618
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1632
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:312
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:335
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:336
x-pack/platform/plugins/shared/triggers_actions_ui/README.md:393
x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js:10
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json:12
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json:2
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:102
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:105
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:108
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:111
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:114
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:117
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:120
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:123
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:126
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:129
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:132
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:135
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:138
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:14
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:144
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:147
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:153
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:156
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:159
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:162
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:165
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:171
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:174
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:177
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:180
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:183
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:186
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:189
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:192
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:195
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:198
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:21
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:33
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:36
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:39
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:42
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:45
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:48
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:51
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:57
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:60
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:63
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:66
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:72
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:75
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:78
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:81
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:87
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:90
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:93
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:96
x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:99
x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js:12
x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json:2
x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.type_check.json:2
x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.type_check.json:39
```

</details>

---------

Co-authored-by: pgayvallet <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 49df296)

# Conflicts:
#	.github/CODEOWNERS
#	.i18nrc.json
#	x-pack/.i18nrc.json
#	x-pack/platform/plugins/shared/actions/server/authorization/get_authorization_mode_by_source.test.ts
#	x-pack/platform/plugins/shared/actions/server/authorization/get_authorization_mode_by_source.ts
#	x-pack/platform/plugins/shared/actions/server/index.test.ts
#	x-pack/platform/plugins/shared/actions/server/lib/track_legacy_rbac_exemption.test.ts
#	x-pack/platform/plugins/shared/actions/server/lib/track_legacy_rbac_exemption.ts
#	x-pack/platform/plugins/shared/actions/server/routes/_mock_handler_arguments.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/_mock_handler_arguments.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/create.test.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/create.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/delete.test.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/delete.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/execute.test.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/execute.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/get.test.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/get.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/get_all.test.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/get_all.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/index.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/list_action_types.test.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/list_action_types.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/update.test.ts
#	x-pack/platform/plugins/shared/actions/server/routes/legacy/update.ts
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@_find.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@_health.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@alert@{alertid}.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@alert@{alertid}@_disable.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@alert@{alertid}@_enable.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@alert@{alertid}@_mute_all.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@alert@{alertid}@_unmute_all.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@alert@{alertid}@alert_instance@{alertinstanceid}@_mute.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@alert@{alertid}@alert_instance@{alertinstanceid}@_unmute.yaml
#	x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerts@list_alert_types.yaml
#	x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts
#	x-pack/platform/plugins/shared/task_manager/server/ephemeral_task_lifecycle.mock.ts
#	x-pack/platform/plugins/shared/task_manager/server/ephemeral_task_lifecycle.test.ts
#	x-pack/platform/plugins/shared/task_manager/server/ephemeral_task_lifecycle.ts
#	x-pack/platform/plugins/shared/task_manager/server/monitoring/ephemeral_task_statistics.test.ts
#	x-pack/platform/plugins/shared/task_manager/server/monitoring/ephemeral_task_statistics.ts
#	x-pack/platform/plugins/shared/task_manager/server/task_running/ephemeral_task_runner.ts
#	x-pack/plugins/actions/server/routes/_mock_handler_arguments.ts
#	x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json
Copy link
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

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
triggersActionsUi 1.7MB 1.7MB +1.0B

Page load bundle

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

id before after diff
cases 164.2KB 164.2KB +32.0B
Unknown metric groups

ESLint disabled in files

id before after diff
actions 2 1 -1
alerting 4 3 -1
ruleRegistry 2 1 -1
stackConnectors 6 1 -5
triggersActionsUi 6 5 -1
total -9

ESLint disabled line counts

id before after diff
actions 25 0 -25
alerting 95 67 -28
eventLog 3 1 -2
stackAlerts 26 13 -13
stackConnectors 129 122 -7
taskManager 28 13 -15
triggersActionsUi 131 127 -4
total -94

Total ESLint disabled count

id before after diff
actions 27 1 -26
alerting 99 70 -29
eventLog 3 1 -2
ruleRegistry 4 3 -1
stackAlerts 26 13 -13
stackConnectors 135 123 -12
taskManager 28 13 -15
triggersActionsUi 137 132 -5
total -103

History

@pgayvallet pgayvallet merged commit 86b3ea9 into elastic:8.x Dec 26, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants