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

[kbn/optimizer] allow customizing the limits path from the script #93153

Merged

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Mar 2, 2021

Support using and modifying a limits.yml file that lives far away from the @kbn/optimizer target dir, which will be the case for the Bazel future.

Adds a --limits flag for customizing the limits path via the CLI, the script must define the defaultLimitPath option to the new runKbnOptimizerCli() function, and we now pass the path to the OptimizerConfig when it's created in both the CLI and in the src/dev/build tasks.

@spalger spalger added Team:Operations Team label for Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.13.0 labels Mar 2, 2021
@spalger spalger requested a review from a team as a code owner March 2, 2021 00:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger requested a review from mistic March 2, 2021 00:33
Copy link
Member

@mistic mistic left a comment

Choose a reason for hiding this comment

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

We need to update the snapshots, aside from that LGTM

@spalger
Copy link
Contributor Author

spalger commented Mar 2, 2021

@elasticmachine merge upstream

@mistic
Copy link
Member

mistic commented Mar 2, 2021

@elasticmachine merge upstream

@mistic
Copy link
Member

mistic commented Mar 2, 2021

@spalger I think you need to push the updates for the jest tests snapshots currently failing

@spalger
Copy link
Contributor Author

spalger commented Mar 2, 2021

@mistic I know, I'm mostly concerned with the triggersActionsUi metrics change and focused on that first.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger spalger added the auto-backport Deprecated - use backport:version if exact versions are needed label Mar 3, 2021
@spalger spalger merged commit 57a860d into elastic:master Mar 3, 2021
@spalger spalger deleted the implement/ts-optimizer-limits-config-path branch March 3, 2021 01:29
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Mar 3, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #93356

Successful backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Mar 3, 2021
…3153) (#93356)

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Spencer <[email protected]>
Co-authored-by: spalger <[email protected]>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 3, 2021
* master: (45 commits)
  Add outcome of node scripts/build_api_docs (elastic#93399)
  [Lens] fix long field name on field stats panel doesn't wrap (elastic#93279)
  [Bug] Fix filter creation for numeric scripted fields in Discover (elastic#93224)
  [uptime] Fix anomaly alert edit (elastic#93025)
  Consolidate @babel/* packages and use latest compatible version (elastic#93264)
  [Search Embeddable] Add highlighting when searching (elastic#93178)
  [APM] Add missing bottom border to header (elastic#93179)
  [CI] No longer collect APM span stack traces (elastic#93263)
  [XY Chart] Fix "No data to display" error when using IP range aggregation to split series (elastic#93024)
  update generated public api docs
  API DOCS Step 3/3 (elastic#92929)
  chore(NA): look for bazel packages on npm_module folder during distributable build (elastic#93262)
  rename advanced setting ml:fileDataVisualizerMaxFileSize to fileUpload:maxFileSize and increase max geojson upload size to 1GB (elastic#92620)
  [kbn/optimizer] allow customizing the limits path from the script (elastic#93153)
  [Alerting][Docs] Adding template for documenting alert and action types (elastic#92830)
  [jenkins] convert baseline capture job to use tasks (elastic#93288)
  removing the linked issue in comments from PR (elastic#93303)
  chore(NA): do not include fs within a storybook build (elastic#93294)
  [Maps] Update Map extent queries to use bounding box logic for both point and shape queries (elastic#93156)
  Add searchDuration to EQL and Threshold rules (elastic#93149)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants