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

Kibanamachine/backport/8.x/pr 205164 #205435

Closed

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Jan 2, 2025

Summary

Summarize your PR. If it involves visual changes include a screenshot or gif.

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.

nreese and others added 3 commits January 2, 2025 18:48
Part of embeddable rebuild clean-up.

Removes legacy Embeddable class and types from embeddable plugin.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 2ee9cbf)
…05415)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ftr] Speed up FTR code owner check
(elastic#205093)](elastic#205093)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"David
Olaru","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-02T17:10:20Z","message":"[ftr]
Speed up FTR code owner check (elastic#205093)\n\n## Summary\r\n\r\nSwitch to
one matcher w/ all code owner patterns rather than separate\r\nmatchers
for each code owner pattern. Reduces the run time
of\r\n`scripts/check_ftr_code_owners.js` by ~10x.\r\n\r\n###
Before\r\n```console\r\n▶ node scripts/check_ftr_code_owners.js\r\n info
Reading CODEOWNERS file\r\n info Checking ownership for 8653 test files
(this will take a while)\r\n info Ownership check complete (took 18.89
s)\r\n succ All test files have a code owner. 🥳\r\n```\r\n\r\n####
After\r\n```console\r\n▶ node scripts/check_ftr_code_owners.js\r\n info
Checked 8653 test files in 1.59s\r\n succ All test files have a code
owner
🥳\r\n```","sha":"a0eebb82c9ef8385cecd4a5f6c0d1ebd22561789","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.18.0"],"title":"[ftr]
Speed up FTR code owner
check","number":205093,"url":"https://github.com/elastic/kibana/pull/205093","mergeCommit":{"message":"[ftr]
Speed up FTR code owner check (elastic#205093)\n\n## Summary\r\n\r\nSwitch to
one matcher w/ all code owner patterns rather than separate\r\nmatchers
for each code owner pattern. Reduces the run time
of\r\n`scripts/check_ftr_code_owners.js` by ~10x.\r\n\r\n###
Before\r\n```console\r\n▶ node scripts/check_ftr_code_owners.js\r\n info
Reading CODEOWNERS file\r\n info Checking ownership for 8653 test files
(this will take a while)\r\n info Ownership check complete (took 18.89
s)\r\n succ All test files have a code owner. 🥳\r\n```\r\n\r\n####
After\r\n```console\r\n▶ node scripts/check_ftr_code_owners.js\r\n info
Checked 8653 test files in 1.59s\r\n succ All test files have a code
owner
🥳\r\n```","sha":"a0eebb82c9ef8385cecd4a5f6c0d1ebd22561789"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205093","number":205093,"mergeCommit":{"message":"[ftr]
Speed up FTR code owner check (elastic#205093)\n\n## Summary\r\n\r\nSwitch to
one matcher w/ all code owner patterns rather than separate\r\nmatchers
for each code owner pattern. Reduces the run time
of\r\n`scripts/check_ftr_code_owners.js` by ~10x.\r\n\r\n###
Before\r\n```console\r\n▶ node scripts/check_ftr_code_owners.js\r\n info
Reading CODEOWNERS file\r\n info Checking ownership for 8653 test files
(this will take a while)\r\n info Ownership check complete (took 18.89
s)\r\n succ All test files have a code owner. 🥳\r\n```\r\n\r\n####
After\r\n```console\r\n▶ node scripts/check_ftr_code_owners.js\r\n info
Checked 8653 test files in 1.59s\r\n succ All test files have a code
owner
🥳\r\n```","sha":"a0eebb82c9ef8385cecd4a5f6c0d1ebd22561789"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: David Olaru <[email protected]>
@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!

@nreese nreese closed this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants