Skip to content

[9.4] [Lens as code] Config builder cleanup and improvements (#262871)#264501

Merged
nickofthyme merged 4 commits intoelastic:9.4from
nickofthyme:backport/9.4/pr-262871
Apr 21, 2026
Merged

[9.4] [Lens as code] Config builder cleanup and improvements (#262871)#264501
nickofthyme merged 4 commits intoelastic:9.4from
nickofthyme:backport/9.4/pr-262871

Conversation

@nickofthyme
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

## Summary

This PR is a widespread cleanup related to `@kbn/lens-embeddable-utils`

- Using `Config` naming over `State` naming
- Using simplified path imports from `@kbn/lens-embeddable-utils` not
deeper directories
- Unifies type naming with schemas

> [!NOTE]
> This should have no functional affect on the code

### Checklist
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit 9e06771)

# Conflicts:
#	src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/heatmap/to_api.ts
#	src/platform/packages/shared/kbn-unified-chart-section-viewer/src/components/observability/traces/error_rate.tsx
@nickofthyme nickofthyme added the backport This PR is a backport of another PR label Apr 20, 2026
@nickofthyme nickofthyme enabled auto-merge (squash) April 20, 2026 18:06
@botelastic botelastic Bot added the ci:project-deploy-observability Create an Observability project label Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@nickofthyme nickofthyme removed the ci:project-deploy-observability Create an Observability project label Apr 20, 2026
@nickofthyme nickofthyme requested a review from a team April 20, 2026 18:48
@botelastic botelastic Bot added the ci:project-deploy-observability Create an Observability project label Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress

  • Buildkite Build
  • Commit: e6ba078
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-264501-e6ba078d5067

Failed CI Steps

Test Failures

  • [job] [logs] Agent Builder API Smoke Tests #1 / Agent Builder - LLM Smoke tests EIS Models (dynamically configured) Connector: openai-gpt-5.4-pro returns an answer for a simple message

History

@nickofthyme nickofthyme merged commit e85e2ec into elastic:9.4 Apr 21, 2026
14 checks passed
@nickofthyme nickofthyme deleted the backport/9.4/pr-262871 branch April 21, 2026 08:10
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 ci:project-deploy-observability Create an Observability project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants