Skip to content

[9.1] [ska] relocate oblt deployment-agnostic api integration tests (#227194)#228023

Merged
dmlemeshko merged 6 commits intoelastic:9.1from
dmlemeshko:backport/9.1/pr-227194
Jul 16, 2025
Merged

[9.1] [ska] relocate oblt deployment-agnostic api integration tests (#227194)#228023
dmlemeshko merged 6 commits intoelastic:9.1from
dmlemeshko:backport/9.1/pr-227194

Conversation

@dmlemeshko
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…c#227194)

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving **observability deployment-agnostic
tests** from x-pack/test

```
x-pack/test/api_integration/deployment_agnostic/
     | - observability/apis/
     | - configs/
     | - feature_flag_configs/
```

After:
```
x-pack/solutions/observability/test/api_integration_deployment_agnostic/
     | - apis/
     | - configs/
     | - feature_flag_configs/
```

Notes:
- some services like `alertingApi` and `observabilityAIAssistantApi`
were left as copies in original path as other oblt tests depend on them
and we try to avoid circular dependencies caused by importing from
solution test dirs.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 8480083)

# Conflicts:
#	.buildkite/ftr_oblt_serverless_configs.yml
#	.buildkite/ftr_oblt_stateful_configs.yml
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/ai_assistant/knowledge_base/knowledge_base_bulk_import.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/ai_assistant/local/index.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/ai_assistant/public_complete/public_complete.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/alerting/synthetics/alert_on_no_data.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/alerting/synthetics/custom_status_rule.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/constants/archives_metadata.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/observability_overview/observability_overview.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/service_groups/save_service_group.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/service_maps/service_maps.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/services/agent.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/services/service_details/service_infra_metrics.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/settings/agent_keys/agent_keys.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_detailed_statistics.spec.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/streams/meta_data.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/streams/metadata.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/synthetics/edit_private_location.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.ai_assistant_local.index.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.ai_assistant_local.serverless.config.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.ai_assistant_local.index.ts
#	x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.ai_assistant_local.stateful.config.ts
#	x-pack/test/api_integration/deployment_agnostic/apis/observability/streams/metadata.ts
#	x-pack/test/tsconfig.json
@dmlemeshko dmlemeshko added the backport This PR is a backport of another PR label Jul 15, 2025
@dmlemeshko dmlemeshko enabled auto-merge (squash) July 15, 2025 13:52
@botelastic botelastic bot added Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Jul 15, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@dmlemeshko dmlemeshko requested a review from csr July 15, 2025 15:26
Copy link
Contributor

@csr csr left a comment

Choose a reason for hiding this comment

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

LGTM. I see we deleted the Observability AI assistant configs that were supposed to be run locally. I don't see them in the 9.1 branch, so that change looks good.

@dmlemeshko dmlemeshko merged commit 9191400 into elastic:9.1 Jul 16, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
@kbn/test-suites-xpack 14 12 -2
@kbn/test-suites-xpack-observability 1 3 +2
total -0

ESLint disabled line counts

id before after diff
@kbn/test-suites-xpack 153 151 -2
@kbn/test-suites-xpack-observability 8 7 -1
@kbn/test-suites-xpack-security 51 48 -3
total -6

References to deprecated APIs

id before after diff
@kbn/test-suites-xpack-observability 6 13 +7

Total ESLint disabled count

id before after diff
@kbn/test-suites-xpack 167 163 -4
@kbn/test-suites-xpack-observability 9 10 +1
@kbn/test-suites-xpack-security 53 50 -3
total -6

History

dmlemeshko added a commit that referenced this pull request Aug 4, 2025
…227194) (#228486)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[ska] relocate oblt deployment-agnostic api integration tests
(#227194)](#227194)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-07-09T15:41:40Z","message":"[ska]
relocate oblt deployment-agnostic api integration tests (#227194)\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving **observability deployment-agnostic\ntests** from
x-pack/test\n\n```\nx-pack/test/api_integration/deployment_agnostic/\n |
- observability/apis/\n | - configs/\n | -
feature_flag_configs/\n```\n\nAfter:
\n```\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/\n
| - apis/\n | - configs/\n | - feature_flag_configs/\n```\n\nNotes:\n-
some services like `alertingApi` and `observabilityAIAssistantApi`\nwere
left as copies in original path as other oblt tests depend on them\nand
we try to avoid circular dependencies caused by importing from\nsolution
test dirs.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"84800836b145b8ba61655edb6e6548ec98e3e234","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-infra_services","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate oblt deployment-agnostic api integration
tests","number":227194,"url":"https://github.com/elastic/kibana/pull/227194","mergeCommit":{"message":"[ska]
relocate oblt deployment-agnostic api integration tests (#227194)\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving **observability deployment-agnostic\ntests** from
x-pack/test\n\n```\nx-pack/test/api_integration/deployment_agnostic/\n |
- observability/apis/\n | - configs/\n | -
feature_flag_configs/\n```\n\nAfter:
\n```\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/\n
| - apis/\n | - configs/\n | - feature_flag_configs/\n```\n\nNotes:\n-
some services like `alertingApi` and `observabilityAIAssistantApi`\nwere
left as copies in original path as other oblt tests depend on them\nand
we try to avoid circular dependencies caused by importing from\nsolution
test dirs.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"84800836b145b8ba61655edb6e6548ec98e3e234"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/228023","number":228023,"state":"MERGED","mergeCommit":{"sha":"91914008bdfeb5a65cda282866297491f61be615","message":"[9.1]
[ska] relocate oblt deployment-agnostic api integration tests (#227194)
(#228023)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.1`:\n- [[ska] relocate oblt deployment-agnostic api
integration
tests\n(#227194)](https://github.com/elastic/kibana/pull/227194)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227194","number":227194,"mergeCommit":{"message":"[ska]
relocate oblt deployment-agnostic api integration tests (#227194)\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving **observability deployment-agnostic\ntests** from
x-pack/test\n\n```\nx-pack/test/api_integration/deployment_agnostic/\n |
- observability/apis/\n | - configs/\n | -
feature_flag_configs/\n```\n\nAfter:
\n```\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/\n
| - apis/\n | - configs/\n | - feature_flag_configs/\n```\n\nNotes:\n-
some services like `alertingApi` and `observabilityAIAssistantApi`\nwere
left as copies in original path as other oblt tests depend on them\nand
we try to avoid circular dependencies caused by importing from\nsolution
test dirs.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"84800836b145b8ba61655edb6e6548ec98e3e234"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments