[scout] Remove perf stats validation for Discover#215130
Merged
dmlemeshko merged 3 commits intoelastic:mainfrom Mar 22, 2025
Merged
[scout] Remove perf stats validation for Discover#215130dmlemeshko merged 3 commits intoelastic:mainfrom
dmlemeshko merged 3 commits intoelastic:mainfrom
Conversation
davismcphee
approved these changes
Mar 21, 2025
Contributor
|
Starting backport for target branches: 8.x, 9.0 https://github.com/elastic/kibana/actions/runs/14011290144 |
Contributor
💚 Build Succeeded
Metrics [docs]
History
|
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
dmlemeshko
added a commit
to dmlemeshko/kibana
that referenced
this pull request
Mar 23, 2025
## Summary With elastic#212397 we added 2 tests for Discover app (loading `/app/discover`) to track: - js bundles loaded on page - perf metrics like CPU time, Layout time and Script time fetched with CDP Performance Domain API While the first test for bundles _didn't report any failures_, second test to validate Perf metrics fails periodically: https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0 ``` Error: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds expect(received).toBeLessThan(expected) Expected: < 1.5 Received: 1.591343 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877 ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.601434 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899 ``` Error: Total layout computation time should not exceed 0.06 second expect(received).toBeLessThan(expected) Expected: < 0.06 Received: 0.061723 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.561259 ``` It was worth an experiment, but due to flakiness we decided to keep only bundles limits validation for now and see if it is stable in the long run. If Data-Discovery team has interest in collecting Perf metrics without strict validation in PRs, we can discuss the options. Alternatively we can wait for Scout GA and you can deep dive into your own performance testing with Playwright/CDP. (cherry picked from commit 4dc27ba) # Conflicts: # x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/discover_cdp_perf.spec.ts
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
dmlemeshko
added a commit
to dmlemeshko/kibana
that referenced
this pull request
Mar 23, 2025
## Summary With elastic#212397 we added 2 tests for Discover app (loading `/app/discover`) to track: - js bundles loaded on page - perf metrics like CPU time, Layout time and Script time fetched with CDP Performance Domain API While the first test for bundles _didn't report any failures_, second test to validate Perf metrics fails periodically: https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0 ``` Error: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds expect(received).toBeLessThan(expected) Expected: < 1.5 Received: 1.591343 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877 ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.601434 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899 ``` Error: Total layout computation time should not exceed 0.06 second expect(received).toBeLessThan(expected) Expected: < 0.06 Received: 0.061723 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.561259 ``` It was worth an experiment, but due to flakiness we decided to keep only bundles limits validation for now and see if it is stable in the long run. If Data-Discovery team has interest in collecting Perf metrics without strict validation in PRs, we can discuss the options. Alternatively we can wait for Scout GA and you can deep dive into your own performance testing with Playwright/CDP. (cherry picked from commit 4dc27ba) # Conflicts: # x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/discover_cdp_perf.spec.ts
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
dmlemeshko
added a commit
that referenced
this pull request
Mar 24, 2025
…15610) # Backport This will backport the following commits from `main` to `9.0`: - [[scout] Remove perf stats validation for Discover (#215130)](#215130) <!--- Backport version: 9.6.6 --> ### 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-03-22T18:31:54Z","message":"[scout] Remove perf stats validation for Discover (#215130)\n\n## Summary\n\nWith #212397 we added 2 tests for Discover app (loading `/app/discover`)\nto track:\n- js bundles loaded on page\n- perf metrics like CPU time, Layout time and Script time fetched with\nCDP Performance Domain API\n\nWhile the first test for bundles _didn't report any failures_, second\ntest to validate Perf metrics fails periodically:\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0\n```\nError: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 1.5\nReceived: 1.591343\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.601434\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899\n```\nError: Total layout computation time should not exceed 0.06 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.06\nReceived: 0.061723\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.561259\n```\n\nIt was worth an experiment, but due to flakiness we decided to keep only\nbundles limits validation for now and see if it is stable in the long\nrun.\n\nIf Data-Discovery team has interest in collecting Perf metrics without\nstrict validation in PRs, we can discuss the options. Alternatively we\ncan wait for Scout GA and you can deep dive into your own performance\ntesting with Playwright/CDP.","sha":"4dc27ba4aaa5bbc0a18a1964f58f2f63e2ccde16","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","test:scout","v9.1.0","v8.19.0"],"title":"[scout] Remove perf stats validation for Discover","number":215130,"url":"https://github.com/elastic/kibana/pull/215130","mergeCommit":{"message":"[scout] Remove perf stats validation for Discover (#215130)\n\n## Summary\n\nWith #212397 we added 2 tests for Discover app (loading `/app/discover`)\nto track:\n- js bundles loaded on page\n- perf metrics like CPU time, Layout time and Script time fetched with\nCDP Performance Domain API\n\nWhile the first test for bundles _didn't report any failures_, second\ntest to validate Perf metrics fails periodically:\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0\n```\nError: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 1.5\nReceived: 1.591343\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.601434\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899\n```\nError: Total layout computation time should not exceed 0.06 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.06\nReceived: 0.061723\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.561259\n```\n\nIt was worth an experiment, but due to flakiness we decided to keep only\nbundles limits validation for now and see if it is stable in the long\nrun.\n\nIf Data-Discovery team has interest in collecting Perf metrics without\nstrict validation in PRs, we can discuss the options. Alternatively we\ncan wait for Scout GA and you can deep dive into your own performance\ntesting with Playwright/CDP.","sha":"4dc27ba4aaa5bbc0a18a1964f58f2f63e2ccde16"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215130","number":215130,"mergeCommit":{"message":"[scout] Remove perf stats validation for Discover (#215130)\n\n## Summary\n\nWith #212397 we added 2 tests for Discover app (loading `/app/discover`)\nto track:\n- js bundles loaded on page\n- perf metrics like CPU time, Layout time and Script time fetched with\nCDP Performance Domain API\n\nWhile the first test for bundles _didn't report any failures_, second\ntest to validate Perf metrics fails periodically:\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0\n```\nError: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 1.5\nReceived: 1.591343\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.601434\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899\n```\nError: Total layout computation time should not exceed 0.06 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.06\nReceived: 0.061723\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.561259\n```\n\nIt was worth an experiment, but due to flakiness we decided to keep only\nbundles limits validation for now and see if it is stable in the long\nrun.\n\nIf Data-Discovery team has interest in collecting Perf metrics without\nstrict validation in PRs, we can discuss the options. Alternatively we\ncan wait for Scout GA and you can deep dive into your own performance\ntesting with Playwright/CDP.","sha":"4dc27ba4aaa5bbc0a18a1964f58f2f63e2ccde16"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
JoseLuisGJ
pushed a commit
to JoseLuisGJ/kibana
that referenced
this pull request
Mar 24, 2025
## Summary With elastic#212397 we added 2 tests for Discover app (loading `/app/discover`) to track: - js bundles loaded on page - perf metrics like CPU time, Layout time and Script time fetched with CDP Performance Domain API While the first test for bundles _didn't report any failures_, second test to validate Perf metrics fails periodically: https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0 ``` Error: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds expect(received).toBeLessThan(expected) Expected: < 1.5 Received: 1.591343 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877 ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.601434 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899 ``` Error: Total layout computation time should not exceed 0.06 second expect(received).toBeLessThan(expected) Expected: < 0.06 Received: 0.061723 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.561259 ``` It was worth an experiment, but due to flakiness we decided to keep only bundles limits validation for now and see if it is stable in the long run. If Data-Discovery team has interest in collecting Perf metrics without strict validation in PRs, we can discuss the options. Alternatively we can wait for Scout GA and you can deep dive into your own performance testing with Playwright/CDP.
Contributor
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
dmlemeshko
added a commit
that referenced
this pull request
Mar 26, 2025
…15611) # Backport This will backport the following commits from `main` to `8.x`: - [[scout] Remove perf stats validation for Discover (#215130)](#215130) <!--- Backport version: 9.6.6 --> ### 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-03-22T18:31:54Z","message":"[scout] Remove perf stats validation for Discover (#215130)\n\n## Summary\n\nWith #212397 we added 2 tests for Discover app (loading `/app/discover`)\nto track:\n- js bundles loaded on page\n- perf metrics like CPU time, Layout time and Script time fetched with\nCDP Performance Domain API\n\nWhile the first test for bundles _didn't report any failures_, second\ntest to validate Perf metrics fails periodically:\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0\n```\nError: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 1.5\nReceived: 1.591343\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.601434\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899\n```\nError: Total layout computation time should not exceed 0.06 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.06\nReceived: 0.061723\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.561259\n```\n\nIt was worth an experiment, but due to flakiness we decided to keep only\nbundles limits validation for now and see if it is stable in the long\nrun.\n\nIf Data-Discovery team has interest in collecting Perf metrics without\nstrict validation in PRs, we can discuss the options. Alternatively we\ncan wait for Scout GA and you can deep dive into your own performance\ntesting with Playwright/CDP.","sha":"4dc27ba4aaa5bbc0a18a1964f58f2f63e2ccde16","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","test:scout","v9.1.0","v8.19.0"],"title":"[scout] Remove perf stats validation for Discover","number":215130,"url":"https://github.com/elastic/kibana/pull/215130","mergeCommit":{"message":"[scout] Remove perf stats validation for Discover (#215130)\n\n## Summary\n\nWith #212397 we added 2 tests for Discover app (loading `/app/discover`)\nto track:\n- js bundles loaded on page\n- perf metrics like CPU time, Layout time and Script time fetched with\nCDP Performance Domain API\n\nWhile the first test for bundles _didn't report any failures_, second\ntest to validate Perf metrics fails periodically:\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0\n```\nError: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 1.5\nReceived: 1.591343\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.601434\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899\n```\nError: Total layout computation time should not exceed 0.06 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.06\nReceived: 0.061723\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.561259\n```\n\nIt was worth an experiment, but due to flakiness we decided to keep only\nbundles limits validation for now and see if it is stable in the long\nrun.\n\nIf Data-Discovery team has interest in collecting Perf metrics without\nstrict validation in PRs, we can discuss the options. Alternatively we\ncan wait for Scout GA and you can deep dive into your own performance\ntesting with Playwright/CDP.","sha":"4dc27ba4aaa5bbc0a18a1964f58f2f63e2ccde16"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/215610","number":215610,"state":"OPEN"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215130","number":215130,"mergeCommit":{"message":"[scout] Remove perf stats validation for Discover (#215130)\n\n## Summary\n\nWith #212397 we added 2 tests for Discover app (loading `/app/discover`)\nto track:\n- js bundles loaded on page\n- perf metrics like CPU time, Layout time and Script time fetched with\nCDP Performance Domain API\n\nWhile the first test for bundles _didn't report any failures_, second\ntest to validate Perf metrics fails periodically:\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0\n```\nError: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 1.5\nReceived: 1.591343\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.601434\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899\n```\nError: Total layout computation time should not exceed 0.06 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.06\nReceived: 0.061723\n```\n\n\nhttps://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a\n```\nError: Additional time spent executing JS scripts should not exceed 0.5 second\n\nexpect(received).toBeLessThan(expected)\n\nExpected: < 0.5\nReceived: 0.561259\n```\n\nIt was worth an experiment, but due to flakiness we decided to keep only\nbundles limits validation for now and see if it is stable in the long\nrun.\n\nIf Data-Discovery team has interest in collecting Perf metrics without\nstrict validation in PRs, we can discuss the options. Alternatively we\ncan wait for Scout GA and you can deep dive into your own performance\ntesting with Playwright/CDP.","sha":"4dc27ba4aaa5bbc0a18a1964f58f2f63e2ccde16"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
cqliu1
pushed a commit
to cqliu1/kibana
that referenced
this pull request
Mar 31, 2025
## Summary With elastic#212397 we added 2 tests for Discover app (loading `/app/discover`) to track: - js bundles loaded on page - perf metrics like CPU time, Layout time and Script time fetched with CDP Performance Domain API While the first test for bundles _didn't report any failures_, second test to validate Perf metrics fails periodically: https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0 ``` Error: CPU time (seconds) usage during page navigation should not exceed 1.5 seconds expect(received).toBeLessThan(expected) Expected: < 1.5 Received: 1.591343 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877 ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.601434 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899 ``` Error: Total layout computation time should not exceed 0.06 second expect(received).toBeLessThan(expected) Expected: < 0.06 Received: 0.061723 ``` https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a ``` Error: Additional time spent executing JS scripts should not exceed 0.5 second expect(received).toBeLessThan(expected) Expected: < 0.5 Received: 0.561259 ``` It was worth an experiment, but due to flakiness we decided to keep only bundles limits validation for now and see if it is stable in the long run. If Data-Discovery team has interest in collecting Perf metrics without strict validation in PRs, we can discuss the options. Alternatively we can wait for Scout GA and you can deep dive into your own performance testing with Playwright/CDP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
With #212397 we added 2 tests for Discover app (loading
/app/discover) to track:While the first test for bundles didn't report any failures, second test to validate Perf metrics fails periodically:
https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34729#0195a4de-6cd5-4d1e-be11-5d02be6de2b0
https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34877
https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34899
https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34912#0195adb8-4536-42b7-ab4d-524535fdad9a
It was worth an experiment, but due to flakiness we decided to keep only bundles limits validation for now and see if it is stable in the long run.
If Data-Discovery team has interest in collecting Perf metrics without strict validation in PRs, we can discuss the options. Alternatively we can wait for Scout GA and you can deep dive into your own performance testing with Playwright/CDP.