Skip to content

fix: propagate execArgv #5510

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

Merged
merged 4 commits into from
Aug 30, 2022
Merged

fix: propagate execArgv #5510

merged 4 commits into from
Aug 30, 2022

Conversation

code-asher
Copy link
Member

This allows us to use --prof to profile code-server.

We no longer do in-place updating so no need for the spawn.  The
advantage of a fork is that it preserves flags like --prof which you can
use to profile code-server.

Also I am not sure that comment was even true to begin with.
Seems to have gotten out of date a little.
This will let us profile the extension host.
@code-asher code-asher requested a review from a team as a code owner August 26, 2022 20:59
@codecov
Copy link

codecov bot commented Aug 26, 2022

Codecov Report

Merging #5510 (d601c14) into main (101d4ee) will not change coverage.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5510   +/-   ##
=======================================
  Coverage   72.44%   72.44%           
=======================================
  Files          30       30           
  Lines        1673     1673           
  Branches      366      366           
=======================================
  Hits         1212     1212           
  Misses        398      398           
  Partials       63       63           
Impacted Files Coverage Δ
src/node/wrapper.ts 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 101d4ee...d601c14. Read the comment docs.

Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

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

Sounds like this will allow us to better debug extensions? Nice!

@jsjoeio jsjoeio added this to the August 2022 milestone Aug 29, 2022
@code-asher code-asher merged commit 6262c7a into coder:main Aug 30, 2022
@code-asher code-asher deleted the profiling branch August 30, 2022 15:19
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.

2 participants