-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[APM] Fix optimize-tsconfig script #91487
Conversation
- Removes x-pack/plugins/apm/tsconfig.json file - Make optimisation opt-in for precommit script
Pinging @elastic/apm-ui (Team:apm) |
💚 Build SucceededMetrics [docs]
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, though I'm not using this script.
I wonder if how workspaces are set up makes any difference for VSCode performance. I have a workspace with apm, observability, and kibana as roots so I wonder if that has any bearing on how TS projects get built.
@smith I have the same setup (stole it from you). Maybe we can chat about it later how it works for you. |
- Removes x-pack/plugins/apm/tsconfig.json file - Make optimisation opt-in for precommit script
- Removes x-pack/plugins/apm/tsconfig.json file - Make optimisation opt-in for precommit script Co-authored-by: Dario Gieselaar <[email protected]>
* master: (157 commits) [DOCS] Adds machine learning to the security section of alerting (elastic#91501) [Uptime] Ping list step screenshot caption formatting (elastic#91403) [Vislib] Use timestamp on brush event instead of iso dates (elastic#91483) [Application Usage] Remove deprecated & unused legacy.appChanged API (elastic#91464) Migrate logstash, monitoring, url_drilldowns, xpack_legacy to ts projects (elastic#91194) [APM] Wrap Elasticsearch client errors (elastic#91125) [APM] Fix optimize-tsconfig script (elastic#91487) [Discover][docs] Add searchFieldsFromSource description (elastic#90980) Adds support for 'ip' data type (elastic#85087) [Detection Rules] Add updates from 7.11.2 rules (elastic#91553) [SECURITY SOLUTION] Eql in timeline (elastic#90816) [APM] Correlations Beta (elastic#86477) (elastic#89952) [Security Solutions][Detection Engine] Adds a warning banner when the alerts data has not been migrated yet. (elastic#90258) [Security Solution] [Timeline] Endpoint row renderers (2nd batch) (elastic#91446) skip flaky suite (elastic#91450) skip flaky suite (elastic#91592) [Security Solution][Endpoint][Admin] Endpoint Details UX Enhancements (elastic#90870) [ML] Add better UI support for runtime fields Transforms (elastic#90363) [Security Solution] [Detections] Replace 'partial failure' with 'warning' for rule statuses (elastic#91167) [Security Solution][Detections] Adds Indicator path config for indicator match rules (elastic#91260) ...
I've noticed that A) the optimised version is still faster when giving autocompletion results (~2x as fast), B) having a per-plugin tsconfig file causes vscode to switch between projects which takes a lot of time. I might be holding it wrong, but I think it's worth it to make some changes in the script to make it work again.