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

Discover histogram debugging v4 #204162

Closed
wants to merge 26 commits into from

Conversation

kertal
Copy link
Member

@kertal kertal commented Dec 13, 2024

Summary

This PR attempts to bring back our functional test for the number of requests when using ES|QL by reducing the sources of truth in terms of state that the code relys on.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

Identify risks

Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.

@kertal
Copy link
Member Author

kertal commented Dec 13, 2024

/ci

@elasticmachine
Copy link
Contributor

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!

@kertal kertal self-assigned this Dec 13, 2024
@kertal kertal added Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. release_note:fix labels Dec 13, 2024
@kertal
Copy link
Member Author

kertal commented Dec 13, 2024

/ci

@kertal
Copy link
Member Author

kertal commented Dec 16, 2024

/ci

@kertal
Copy link
Member Author

kertal commented Dec 16, 2024

/ci

@kertal
Copy link
Member Author

kertal commented Dec 17, 2024

/ci

@kertal
Copy link
Member Author

kertal commented Dec 17, 2024

/ci

@kertal
Copy link
Member Author

kertal commented Dec 17, 2024

/ci

@kertal
Copy link
Member Author

kertal commented Dec 17, 2024

/ci

@kertal
Copy link
Member Author

kertal commented Dec 17, 2024

/ci

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 17, 2024

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #56 / discover discover field visualize button should visualize correctly ES|QL queries in Discover
  • [job] [logs] FTR Configs #56 / discover discover field visualize button should visualize correctly ES|QL queries in Discover
  • [job] [logs] x-pack/test_serverless/functional/test_suites/search/common_configs/config.group6.ts / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] FTR Configs #12 / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] FTR Configs #53 / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] FTR Configs #71 / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] FTR Configs #12 / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] FTR Configs #53 / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] FTR Configs #71 / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] x-pack/test_serverless/functional/test_suites/search/common_configs/config.group6.ts / discover/esql discover esql view inspector shows Discover and Lens requests in Inspector
  • [job] [logs] test/functional/apps/discover/group3/config.ts / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] x-pack/test_serverless/functional/test_suites/observability/common_configs/config.group5.ts / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] x-pack/test_serverless/functional/test_suites/security/common_configs/config.group5.ts / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] FTR Configs #67 / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] test/functional/apps/discover/group3/config.ts / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] x-pack/test_serverless/functional/test_suites/security/common_configs/config.group5.ts / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] x-pack/test_serverless/functional/test_suites/observability/common_configs/config.group5.ts / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] FTR Configs #67 / discover/group3 discover request counts data view mode should send no more than 2 requests (documents + chart) when toggling the chart visibility
  • [job] [logs] FTR Configs #9 / discover/group7 indexpattern without timefield should allow switching from a saved search with a time field to a saved search without a time field
  • [job] [logs] FTR Configs #9 / discover/group7 indexpattern without timefield should allow switching from a saved search with a time field to a saved search without a time field
  • [job] [logs] Jest Tests #5 / test fetchAll should only fail totalHits$ query not main$ for error from that query
  • [job] [logs] Jest Tests #5 / test fetchAll should only fail totalHits$ query not main$ for error from that query
  • [job] [logs] FTR Configs #77 / Upgrade Assistant Elasticsearch deprecation logs GET /api/upgrade_assistant/deprecation_logging /count should filter out the deprecation from Elastic products
  • [job] [logs] FTR Configs #77 / Upgrade Assistant Elasticsearch deprecation logs GET /api/upgrade_assistant/deprecation_logging /count should filter out the deprecation from Elastic products
  • [job] [logs] Jest Tests #5 / useDiscoverHistogram state should exclude totalHitsStatus and totalHitsResult from Unified Histogram state updates
  • [job] [logs] Jest Tests #5 / useDiscoverHistogram state should exclude totalHitsStatus and totalHitsResult from Unified Histogram state updates
  • [job] [logs] Jest Tests #5 / useDiscoverHistogram state should sync the state container state with Unified Histogram
  • [job] [logs] Jest Tests #5 / useDiscoverHistogram state should sync the state container state with Unified Histogram

History

cc @kertal

@kertal
Copy link
Member Author

kertal commented Dec 23, 2024

closing, experimental

@kertal kertal closed this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application release_note:fix Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants