fix(NA): fixes the creation of multiple processes at start#114940
fix(NA): fixes the creation of multiple processes at start#114940mistic merged 17 commits intoelastic:masterfrom
Conversation
…ion-by-adding-dist-version
…ion-by-adding-dist-version
|
@elasticmachine merge upstream |
This comment has been minimized.
This comment has been minimized.
…com:mistic/kibana into fix-no-transpilation-by-adding-dist-version
…on babel_register_for_test_plugins
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
…_transpilation when setting up node env (elastic#114940) * fix(NA): adds no_transpilation_dist to avoid preserve_symlinks on dist * chore(NA): setup node env correctly on functional tests * chore(NA): try to fix tests * chore(NA): correctly separate split * chore(NA): check ensure preserve symlinks need * chore(NA): investigate path resolve result * chore(NA): investigate path resolve result elastic#2 * chore(NA): comment out preserve symlinks * chore(NA): apply fs.realpathSync into the calculated REPO_ROOT paths on babel_register_for_test_plugins * chore(NA): removes debug code * chore(NA): move array definition * chore(NA): correctly import fs Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…_transpilation when setting up node env (elastic#114940) * fix(NA): adds no_transpilation_dist to avoid preserve_symlinks on dist * chore(NA): setup node env correctly on functional tests * chore(NA): try to fix tests * chore(NA): correctly separate split * chore(NA): check ensure preserve symlinks need * chore(NA): investigate path resolve result * chore(NA): investigate path resolve result elastic#2 * chore(NA): comment out preserve symlinks * chore(NA): apply fs.realpathSync into the calculated REPO_ROOT paths on babel_register_for_test_plugins * chore(NA): removes debug code * chore(NA): move array definition * chore(NA): correctly import fs Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
|
I had the need to revert this as somehow it doesn't work on Jenkins..Will re-open again and keep working on it |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
hi folks - do we have documentation on how to use this? A link would be great Also the release notes for Kibana 7.15.2 seem to conflict with the initial statement - or one or the other notes isn't clear to me. From release notes: https://www.elastic.co/guide/en/kibana/7.15/release-notes-7.15.2.html
From this issue description
any clarity would be great - thanks! |
|
@mgevans-5 I've made the title and the description of the PR more clear as well as updated the labels. Will follow up on updating the release notes. This PR fixes a bug indeed. Previously we let a development need on Thanks for letting us know about this 👍 |
|
Follow up: the release notes for |
[skip-ci]
This PR fixes the creation of multiple processes at start.
It does that by creating a
no_transpilation_distto be used when setting up the node env on production environments which allow us to not run the logic to add the developmentpreserve-symlinksflag. As an end result it also avoids the creation of multiple processes when starting Kibana.