Commit 889a481
# Backport
This will backport the following commits from `main` to `9.4`:
- [[js-yaml to yaml migration] @elastic/obs-onboarding-team
(#252349)](#252349)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2026-05-29T06:58:39Z","message":"[js-yaml
to yaml migration] @elastic/obs-onboarding-team (#252349)\n\nCloses
#267871\n\n## Migration: js-yaml → yaml\n\nThis PR migrates 8 file(s)
from `js-yaml` to `yaml` package
for\n@elastic/obs-onboarding-team.\n\n### Changes\n- Replaced `js-yaml`
imports with `yaml` package\n- Updated function calls: `load()` →
`parse()`, `dump()` → `stringify()`\n- Mapped options:\n - `noRefs:
true` → `aliasDuplicateObjects: false`\n - `skipInvalid: true` →
`strict: false`\n - `sortKeys` → `sortMapEntries`\n - `JSON_SCHEMA` →
`schema: 'core'`\n\n### Files
Changed\n-\n`src/platform/packages/shared/kbn-otel-demo/src/demos/online_boutique/manifests.ts`\n-\n`src/platform/packages/shared/kbn-otel-demo/src/demos/otel_demo/manifests.ts`\n-\n`src/platform/packages/shared/kbn-otel-demo/src/get_kubernetes_manifests.ts`\n-
`src/platform/packages/shared/kbn-otel-demo/src/read_kibana_config.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/__tests__/generate_semconv.test.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/src/lib/generate_semconv.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/src/sort_yaml.ts`\n-\n`x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/route.ts`\n\n###
Testing\n- All relevant Jest tests pass\n- Snapshot tests updated to
reflect new YAML output format\n\n---\n\n**Note:** This is part of a
larger migration effort. Other teams' files\nare in separate PRs. These
changes were generated using
Cursor.","sha":"95273155871d61a1c674823af4f26ba4102a441e","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","v9.5.0"],"title":"[js-yaml
to yaml migration]
@elastic/obs-onboarding-team","number":252349,"url":"https://github.com/elastic/kibana/pull/252349","mergeCommit":{"message":"[js-yaml
to yaml migration] @elastic/obs-onboarding-team (#252349)\n\nCloses
#267871\n\n## Migration: js-yaml → yaml\n\nThis PR migrates 8 file(s)
from `js-yaml` to `yaml` package
for\n@elastic/obs-onboarding-team.\n\n### Changes\n- Replaced `js-yaml`
imports with `yaml` package\n- Updated function calls: `load()` →
`parse()`, `dump()` → `stringify()`\n- Mapped options:\n - `noRefs:
true` → `aliasDuplicateObjects: false`\n - `skipInvalid: true` →
`strict: false`\n - `sortKeys` → `sortMapEntries`\n - `JSON_SCHEMA` →
`schema: 'core'`\n\n### Files
Changed\n-\n`src/platform/packages/shared/kbn-otel-demo/src/demos/online_boutique/manifests.ts`\n-\n`src/platform/packages/shared/kbn-otel-demo/src/demos/otel_demo/manifests.ts`\n-\n`src/platform/packages/shared/kbn-otel-demo/src/get_kubernetes_manifests.ts`\n-
`src/platform/packages/shared/kbn-otel-demo/src/read_kibana_config.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/__tests__/generate_semconv.test.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/src/lib/generate_semconv.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/src/sort_yaml.ts`\n-\n`x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/route.ts`\n\n###
Testing\n- All relevant Jest tests pass\n- Snapshot tests updated to
reflect new YAML output format\n\n---\n\n**Note:** This is part of a
larger migration effort. Other teams' files\nare in separate PRs. These
changes were generated using
Cursor.","sha":"95273155871d61a1c674823af4f26ba4102a441e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/252349","number":252349,"mergeCommit":{"message":"[js-yaml
to yaml migration] @elastic/obs-onboarding-team (#252349)\n\nCloses
#267871\n\n## Migration: js-yaml → yaml\n\nThis PR migrates 8 file(s)
from `js-yaml` to `yaml` package
for\n@elastic/obs-onboarding-team.\n\n### Changes\n- Replaced `js-yaml`
imports with `yaml` package\n- Updated function calls: `load()` →
`parse()`, `dump()` → `stringify()`\n- Mapped options:\n - `noRefs:
true` → `aliasDuplicateObjects: false`\n - `skipInvalid: true` →
`strict: false`\n - `sortKeys` → `sortMapEntries`\n - `JSON_SCHEMA` →
`schema: 'core'`\n\n### Files
Changed\n-\n`src/platform/packages/shared/kbn-otel-demo/src/demos/online_boutique/manifests.ts`\n-\n`src/platform/packages/shared/kbn-otel-demo/src/demos/otel_demo/manifests.ts`\n-\n`src/platform/packages/shared/kbn-otel-demo/src/get_kubernetes_manifests.ts`\n-
`src/platform/packages/shared/kbn-otel-demo/src/read_kibana_config.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/__tests__/generate_semconv.test.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/src/lib/generate_semconv.ts`\n-\n`src/platform/packages/shared/kbn-otel-semantic-conventions/src/sort_yaml.ts`\n-\n`x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/route.ts`\n\n###
Testing\n- All relevant Jest tests pass\n- Snapshot tests updated to
reflect new YAML output format\n\n---\n\n**Note:** This is part of a
larger migration effort. Other teams' files\nare in separate PRs. These
changes were generated using
Cursor.","sha":"95273155871d61a1c674823af4f26ba4102a441e"}}]}]
BACKPORT-->
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
1 parent d390f30 commit 889a481
8 files changed
Lines changed: 20 additions & 20 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| |||
0 commit comments