-
Notifications
You must be signed in to change notification settings - Fork 406
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
fix: remove copying of apex.db to workspace on LS startup #4956
Conversation
@W-13190794@
…into phale/perf-poc
…into phale/apex-db-overlay # Conflicts: # .vscode/launch.json # packages/salesforcedx-vscode-apex/out/apex-jorje-lsp.jar
@W-13875940@
…into phale/apex-db-overlay
…into phale/apex-db-overlay
…into phale/apex-db-overlay
…into phale/apex-db-overlay # Conflicts: # packages/salesforcedx-vscode-apex/src/languageServer.ts
packages/salesforcedx-vscode-apex/test/vscode-integration/languageServer.test.ts
Outdated
Show resolved
Hide resolved
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.
From Extensions side it's removing the files
- languageServerUtils
- languageServerUtils.test
- some tests which is no longer needed with this LSP upgrade.
LGTM! just a nit picky comment about renaming the test file.
.github/workflows/e2ePerf.yml
Outdated
- name: Setup YourKit | ||
run: echo "YOURKIT_PROFILER_AGENT=${{ env.RUNNER_OS }}-${{ env.RUNNER_ARCH}}=sampling,async_sampling_cpu,app_name=apex_lsp,alloc_object_counting" >> $GITHUB_ENV | ||
- name: Setup YourKit Agent | ||
run: echo "YOURKIT_PROFILER_AGENT=${{ env.RUNNER_OS }}-${{ env.RUNNER_ARCH}}=sampling,async_sampling_cpu,app_name=apex_lsp,alloc_object_counting,onexit=memory,onexit=memory,onexit=snapshot,onexit=hprof,dir=./snapshots" >> $GITHUB_ENV |
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.
onexit=memory
twice? Not sure if this was deliberate?
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.
@supert3d Good catch. I'll log a bug to have the duplicate removed.
What does this PR do?
Removes the initialization of apex.db each time the Apex LS is started
Language server will be responsible for "installing"/"upgrading" apex.db
fix: disable file watcher for apex std classes dir
What issues does this PR fix or reference?
@W-13593866@
@W-13739509@
QA Notes:
.sfdx/tools
dir and the file should not be overlayed by extension.sfdx/tools
dir and the file should be created by the language server