Support subscriptions

This addresses the subscription part of #15.
Please look through subscription_test.go which has an example subscription resolver implemented.
I've left // TODO: ... markers where I feel the implementation could be improved, though not sure how.
Missing from this PR is tracing for the execution of each query.
I've put together a graphQL server that supports subscriptions as a proof of concept based on these changes (though it might be out of sync since this PR is changing)

This is a good start! Thank you @matiasanaya!
I know it is outside of the scope of this PR, but it would be really nice to add a subscription to the StarWars example!

Hello everyone who are pursuing the endeavor of implementing subscriptions. How it is going recently? Do you need assistance?

We strongly need subscriptions aswell, we would be glad to help if any work remains before merging this PR!

@Xeizzen @tsauvajon - I've written a new transport library that aligns with this library and updated the subscription example server with a more robust implementation. If you are keen, please have a look at those projects, try them out and contribute :)

LGTM, I tried it in our project and it works as planned.
I've used you "say hello" exemple only at the moment (https://github.com/poudre-aux-yeux/rapiquette/commit/271f9c7c88e8d449c17b07ac2c57007311c444c4), but I will share when I go further.

The thing I don't really understand is
select {
  case r.pointScoredEvents <- e:
  case <-time.After(1 * time.Second):
}

Why use a select, and why this time.After ?

The above select statement will block until one of these happen:

either a message is received from the r.pointScoredEvents channel (if there is no buffer or buffer capacity); or
the operation times out after 1 second

We also really need subscriptions. I was wondering how close this is to being checked in. =)

@ande8133 check @matiasanaya 's link. Subscriptions work for me following his example.
The only remaining things I have to do is changing the handler to enable CORS and return a 200 on an OPTION request (preflight). I've never really written webservers in Go so I need to learn that but that's not a problem with matiasanaya's work, just with my current knowledge.

Is there a reason why this is not yet merged?
Is any help needed?
Everything seems to work fine.

I was wondering the same...

@tonyghita @neelance  please consider spending as it been the most requested feature and many claim works well. thank you.

IMHO, It seems PRs are not appreciated.

@smithaitufe @neelance  commented here as he don't have the bandwidth for some time. I wish more capable maintainers are identified :-( .

Is there no one else maintaining this project? Is it just @neelance ?

I am not maintaining this project any more, since I'm currently (unfortunately) not working on any project that uses GraphQL. Therefore I'm a bit detached from the GraphQL ecosystem atm and someone else would probably do a better job at maintaining this project. @tonyghita already volunteered, but we can add another helping hand if someone wants to take the job. ;-)

I would like to volunteer. I have been following the project very carefully and my team has been using it in production for more than 1.5 years. We are interested in subscriptions but also extensions and other GraphQL features. @matiasanaya (the author of this PR) is also from my team and I peer-tested his work long time ago. I'm a little disappointed that there hasn't been much activity lately.
If you accept contributors/maintainers I'd be happy to participate/help.

I'll be happy to, although since I've not contributed to this project before, I don't know if I am the best person to do it.
However, I am working heavily with something involving GraphQL, and will be for a while.

Adding this project to the #gfrs list in the gophers Slack might be a good idea. This way it can be trully community managed!
IMHO, This project is awesome! The only problem is that it is not maintained regularly. And there isn't much interaction with potential contributors/volunteers.

I agree @pavelnikolov

I'd like to have a single primary maintainer for the project. The primary maintainer can add secondary maintainers if desired.
@pavelnikolov Using it for 1.5 years sounds like a good qualification. :)
@tonyghita Would it be okay with you to make @pavelnikolov the primary maintainer?

I think this would be great.

Thank you for trusting in me! This is an awesome privilege and I willing take this responsibility seriously.
I’m going on a quick holiday and when I’m back next Tuesday subscriptions will be my first priority.
@matiasanaya let’s catch up early next week re subscriptions, ws transport and example(s).

As I read about websocket transport I'd like to ask this question: will the library remain transport-layer agnostic? Will we be able to use graphql-go with subscriptions support on top of any custom transport layer?
I'm worried because we're using a home-grown websocket abstraction library called webwire together with graph-gophers/graphql-go and we currently implemented subscriptions without GraphQL support just by using webwire server-side signals and regular mutations

@romshark I think that the library has to remain transport agnostic and as minimalistic as possible! The WS transport will be added as a separate repository under graph-gophers.

@matiasanaya does this library use one websocket for all the subscriptions that the client has, or is it multiple connections?
I know that with apollo it's possbile to send queries and mutations via websocket as well.

@lindroth the library itself is transport agnostic. The subscriptions updates are sent over Go channel. It's up to the user of the library to decide how to handle it. There is a reference websocket implementation that @matiasanaya worked on and send a PR https://github.com/graph-gophers/graphql-transport-ws/pull/1
I'm reviewing both PRs now.

@lindroth if you end up using graph-gophers/graphql-transport-ws (once it's merged), one websocket can be used to handle all subscriptions, queries and mutations. It's based on the apollo implementation. In the end though it's going to be up to the client you use.

Awesome work on this!

one websocket can be used to handle all subscriptions, queries and mutations

@matiasanaya Trying to do exactly what you're suggesting here - use websockets for not just subscriptions but querying as well (to lower the number of http requests from the browser), but the implementation seems to explicitly prevent that.
https://github.com/graph-gophers/graphql-go/blob/940d2b01f2549ee5d9e87141ea909134bf56e3a9/subscriptions.go#L48-L50
I'm using apollo-link-ws on the browser side. Am I missing something?

@hampusohlsson Thanks for your comment. I haven't used apollo-link-ws but maybe it's worth raising a separate issue.

@hampusohlsson I believe you are right and that I've, at some point, sneaked in this limitation. Care to raise a separate issue so we can track the work to support queries and mutations through subscriptions?

No problem! Opened an issue here #286


Add a memoize option

This PR resolves issue https://github.com/NodeSecure/rc/issues/73
close #73

@fabnguess no the argument must remain memoize. So we just have to found way to avoid collision (not degrade the code).
And please always open PR including documentation + test


[mantaince] backup jobs

openpai version: v0.11.0
issue description: for now, Job is clean after reinstall openpai. Could we find a way to backup the job data before service delete and recovery later?

You can stop and start services instead of delete them, reference.


cannot join

i press submit then nothing happens. help, i checked the console also no ban message

also i visited cheats.sm64js.com

also i visited cheats.sm64js.com

was that a ban for that?

was that a ban for that?

cheats.sm64js.com doesnt exist

cheats.sm64js.com doesnt exist

lol

lol

HEY also i can't join. all of a sudden, everyone left the game and now no one is playing. was it accidental? it happened yesterday too.

HEY also i can't join. all of a sudden, everyone left the game and now no one is playing. was it accidental? it happened yesterday too.

same

same

no matter how much i restart it wont let me in

no matter how much i restart it wont let me in

apparently this is happening because the filter API is down
this basically prevents anything from running

apparently this is happening because the filter API is down
this basically prevents anything from running

wats an API filter

wats an API filter

yeah

yeah

r/explainlikeimfive
the thing that makes the no-nos go bye-bye

r/explainlikeimfive
the thing that makes the no-nos go bye-bye

ok

ok

o ok

o ok

so yeah, no one can get in

so yeah, no one can get in

not pog

not pog

how long will it last

how long will it last

less technical explanation:
filters the bad words

less technical explanation:
filters the bad words

it will last until the API goes back up

it will last until the API goes back up

o so u dont know

o so u dont know

but like, cursing is cool B)

but like, cursing is cool B)

y do u think it went down?

y do u think it went down?

duh it did. the cursing filter is down

duh it did. the cursing filter is down

i said WHY

i said WHY

idk

idk

it think it goes down because some people try to bypass it or something. like i think it detects words like the f word and from there it sends reports to the mods

it think it goes down because some people try to bypass it or something. like i think it detects words like the f word and from there it sends reports to the mods

makes sense

makes sense

the game still won't let me in... :(.

the game still won't let me in... :(.

Should be fixed

Should be fixed


QueryMem Dump Unstable

Regression caused by 1f0da11863233b3a73647d5d9c9f9cdd735d7d56 causes random crashes when querying memory addresses (with sc.memdump commented out). Commits prior to this have no such issue and are able to query the full address range.

@daeken

This should be fixed as of the new code drop.  Please feel free to reopen if this issue pops back up.


support gql generated prefix (#6)

added gql_ prefix to all files generated.
Create a small generation hook to migrate the codebase to the new hook.
Validate that existing package name is not deleted
the error generate: open PROJECT_NAME/ent/node.go: no such file or directory displays when file names are changed (old deleted new are created).

Thanks for your contribution @yonidavidson. Merged with #125


Windowing for Pulsar Functions

@sijie @srkukarni please review

One approach would be to make WindowExecutor function client side?

@srkukarni  well I thought you didn't like that approach since WindowFunction would be an abstract method that users would extend.  It would simplify the server side.  This would become the same approach as PushSource in the other PR

Can we keep the simple Function(Collection<>) interface that we have and still implement WindowExecutor client side? That way in cmdfunctions(at client side), you would pass classname as WindowExecutor with the user's class as one of the parameter for this

@srkukarni i think that is a good approach. Let me refactor the code

@srkukarni thanks for the review. I have addressed your comments


Try to patch to fix qt6 configuration

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin please rerender

I dont have a mac either.

ok i htink we managed to test enough for this build.
linux ran out of space, don't know why, but given that this is an OSX only, i'm not too worried.


Fix imgtool.py link in main webpage

URL was referencing old location for this script.
Signed-off-by: David Brown<EMAIL_ADDRESS>

LGTM


HHH-9563 - l2 cache with lazy property fetching enabled broken

Added an overloaded hasUninitializedLazyProperties which checks the entity and failing that checks the current state to determine if there are any uninitialised lazy fields. Feels like the logic might belong elsewhere but unsure where else it should go.
Added tests based on those in Nicolas Noffke previously rejected pull request and updated the gradle script to instrument the entity class.

This is out-of-date.


--project has a sensitivity to current working directory

Copying @voidqk's bug report from https://github.com/palantir/tslint/pull/3943
Bug Report

TSLint version: 5.11
TypeScript version: 3.1.3
Running TSLint via: CLI

The tslint program will not output the same results when ran from a different working directory, despite having --project and --config set correctly.
This is due to not passing the location of the configFile to TypeScript, which causes TypeScript to use the current working directory as a default.

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


File picker (ctrl+p) is taking time to list files

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.69.2 (user setup)
Commit: 3b889b090b5ad5793f524b5d1d39fda662b96a2a
Date: 2022-07-18T16:12:52.460Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS Version: Windows_NT x64 10.0.22000

PC configuration

RAM : 12 GB
Processor: Intel Core i7 (10 Gen)

Steps to Reproduce:
There are no specific steps to reproduce the issue but here is some situation when I faced this issue.

Create new files via CLI commands frameworks AdonisJS OR Laravel. And then ctrl+p type the newly created file name.
Keep typing for approx. 5 minutes and then create new files via the command line and try to open that file or other file from the framework.

After typing files name it takes approx. 30-40 sec. to list the file.

I don't quite understand the steps, did it work in step 1? What did you do for 5 minutes?
Check out the tips here: https://github.com/microsoft/vscode/wiki/Search-Issues

@roblourens sorry for the confusion. These are not the steps (I should have mentioned this) these are the different situations when I faced this issue.
Case 1

I opened AdonisJS project in vs code.
I started writing code for the next 5-10 minutes. This means no file switching in the editor and no use of the mouse (basically was writing the tests) so my running apps were VS Code and a Terminal. I was writing and checking the output in the terminal.
I finished writing tests in 5-10 minutes. I created a file with the command line tool (it's a feature of the framework that I run commands and it will create files with some initial content).
I tried to open the newly created file via ctrl+p. I entered the file name which I generated via the command line tool. To list that file in the search result it took approx. 30-40 seconds.

Case 2

I opened AdonisJS project in vs code.
I started writing code for the next 5-10 minutes. This means no file switching in the editor and no use of the mouse (basically was writing the tests) so my running apps were VS Code and a Terminal. I was writing and checking the output in the terminal.
I finished writing tests in 5-10 minutes.
I tried to open a random file from the codebase (any file that is never opened in the editor) via ctrl+p. I entered the file name. To list that file in the search result it took approx. 30-40 seconds.

I hope this will clear up all the confusion. I frequently work in AdonisJS and Laravel frameworks. And the issue is very frequent on AdonisJS. On Laravel it's very rare. But I faced this issue in both frameworks.
I am facing this even when I disabled all of the extensions. I will check the search tips you suggested and will get back to you if this will solve the issue.

I don't quite understand the steps, did it work in step 1? What did you do for 5 minutes?
Check out the tips here: https://github.com/microsoft/vscode/wiki/Search-Issues

@roblourens I followed all instructions from the guide but it's still the same.

It sounds like the issue could be summarized as "quick open takes 30-40 seconds" (to get files that don't appear in "recently opened").
Is there any other process, such as windows defender or an antivirus, using high cpu while quick open is running? Can you follow the steps in the wiki to share the search logs?

Only, VS Code + Terminal App was running. windows defender was disabled. Followed the same steps suggested in the wiki.

CPU load: 37%
Memory: 75% (2.5 GB occupied by VS Code only)

Here are the console log and output logs:

Developer Tool Console Logs
console.log

Output Logs
output.log

Hope this will help

Thanks. This could be the same as https://github.com/microsoft/vscode/issues/157056 which was just fixed. Could you try with the latest Insiders build?

Okay, I will download the insiders build

@roblourens the issue is still the same. But the frequency and time of occurrence are decreased. Earlier it occurs in 10-15 min of intervals and now the interval increased to 40-50 minutes.
i.e. I am working on a file for 30-40 minutes and then try to quickly open another file from a code base it still takes the time of 20-30 seconds (didn't track the exact time but it was 20-30 seconds).

I wonder if you'd be able to get a profile of a time when it happens, using the developer tools? Help > Toggle Developer Tools. In the performance tab, start recording before using quick open

Sure, this morning same issue occur with NextJS Framework.

I wonder if you'd be able to get a profile of a time when it happens, using the developer tools? Help > Toggle Developer Tools. In the performance tab, start recording before using quick open

@roblourens on stable version or on insiders?

On insiders.

@roblourens  This time it didn't take so long but also quite not so fast. Will share more later. Hope this will help.
Profile-20220817T073855.zip

Ok, that at least confirms that it isn't related to the issue above. I'm not sure where time is being spent.
Could you also share a trace-level log from the Extension Host (the Log (Extension Host) output channel)?
When this is happening, do you see any process in the process explorer using high cpu? (Help > Open Process Explorer)
You read the wiki page, right? Does your workspace have lots of symlinks?

Could you also share a trace-level log from the Extension Host (the Log (Extension Host) output channel)?

Sure, I will share the trace-level log from the extension host.

When this is happening, do you see any process in the process explorer using high cpu? (Help > Open Process Explorer)

Yes, I checked this so many times. Sometimes CPU usages were 60% sometimes 75%. But I noticed one thing when this happens VSCode starts consuming more memory then usual (Maximum consumption was noted 3GB).

@roblourens here is the exthost logs :
[2022-08-25 09:22:21.849] [exthost] [info] Extension host with pid 16064 started
[2022-08-25 09:22:21.917] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
[2022-08-25 09:22:21.953] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*'
[2022-08-25 09:22:21.960] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
[2022-08-25 09:22:21.966] [exthost] [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: true, activationEvent: '*'
[2022-08-25 09:22:21.971] [exthost] [info] ExtensionService#_doActivateExtension bierner.color-info, startup: true, activationEvent: '*'
[2022-08-25 09:22:22.020] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: true, activationEvent: '*', root cause: GitHub.vscode-pull-request-github
[2022-08-25 09:22:22.038] [exthost] [info] ExtensionService#_doActivateExtension ms-vsliveshare.vsliveshare, startup: true, activationEvent: '*'
[2022-08-25 09:22:23.650] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
[2022-08-25 09:22:23.671] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
[2022-08-25 09:22:23.678] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github, startup: true, activationEvent: '*'
[2022-08-25 09:22:25.518] [exthost] [info] ExtensionService#_doActivateExtension vscode.configuration-editing, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-08-25 09:22:25.525] [exthost] [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-08-25 09:22:25.545] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-08-25 09:22:27.962] [exthost] [info] Eager extensions activated
[2022-08-25 09:22:27.968] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:27.979] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:27.985] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:27.998] [exthost] [info] ExtensionService#_doActivateExtension bradlc.vscode-tailwindcss, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:28.062] [exthost] [info] ExtensionService#_doActivateExtension dbaeumer.vscode-eslint, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:28.122] [exthost] [info] ExtensionService#_doActivateExtension eamodio.gitlens, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:28.555] [exthost] [info] ExtensionService#_doActivateExtension miguelsolorio.symbols, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:28.605] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:28.688] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:22:28.728] [exthost] [info] ExtensionService#_doActivateExtension streetsidesoftware.code-spell-checker, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:35.801] [exthost] [info] Extension host terminating: received terminate message from renderer
[2022-08-25 09:24:35.856] [exthost] [info] Extension host with pid 16064 exiting with code 0
[2022-08-25 09:24:37.735] [exthost] [info] Extension host with pid 20012 started
[2022-08-25 09:24:37.838] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
[2022-08-25 09:24:37.861] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*'
[2022-08-25 09:24:37.865] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
[2022-08-25 09:24:37.869] [exthost] [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: true, activationEvent: '*'
[2022-08-25 09:24:37.874] [exthost] [info] ExtensionService#_doActivateExtension bierner.color-info, startup: true, activationEvent: '*'
[2022-08-25 09:24:37.882] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: true, activationEvent: '*', root cause: GitHub.vscode-pull-request-github
[2022-08-25 09:24:38.442] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
[2022-08-25 09:24:38.476] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
[2022-08-25 09:24:38.485] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github, startup: true, activationEvent: '*'
[2022-08-25 09:24:40.382] [exthost] [info] Eager extensions activated
[2022-08-25 09:24:40.388] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.398] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.402] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.409] [exthost] [info] ExtensionService#_doActivateExtension bradlc.vscode-tailwindcss, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.422] [exthost] [info] ExtensionService#_doActivateExtension dbaeumer.vscode-eslint, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.430] [exthost] [info] ExtensionService#_doActivateExtension eamodio.gitlens, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.467] [exthost] [info] ExtensionService#_doActivateExtension miguelsolorio.symbols, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.474] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.480] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:24:40.488] [exthost] [info] ExtensionService#_doActivateExtension streetsidesoftware.code-spell-checker, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:42.333] [exthost] [info] Extension host terminating: renderer closed the socket
[2022-08-25 09:43:42.348] [exthost] [info] Extension host with pid 20012 exiting with code 0
[2022-08-25 09:43:43.713] [exthost] [info] Extension host with pid 29492 started
[2022-08-25 09:43:43.713] [exthost] [info] Skipping acquiring lock for c:\Users\iyashpal\AppData\Roaming\Code\User\workspaceStorage\855a1b14dfb8d15b62e0471ddacc2820.
[2022-08-25 09:43:44.197] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
[2022-08-25 09:43:44.247] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:typescriptreact'
[2022-08-25 09:43:44.271] [exthost] [info] ExtensionService#_doActivateExtension Vue.volar, startup: false, activationEvent: 'onLanguage:typescriptreact'
[2022-08-25 09:43:44.616] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*'
[2022-08-25 09:43:44.626] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
[2022-08-25 09:43:44.634] [exthost] [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: true, activationEvent: '*'
[2022-08-25 09:43:44.647] [exthost] [info] ExtensionService#_doActivateExtension bierner.color-info, startup: true, activationEvent: '*'
[2022-08-25 09:43:44.661] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: true, activationEvent: '*', root cause: GitHub.vscode-pull-request-github
[2022-08-25 09:43:44.699] [exthost] [info] ExtensionService#_doActivateExtension vscode.npm, startup: true, activationEvent: 'workspaceContains:package.json'
[2022-08-25 09:43:44.745] [exthost] [info] ExtensionService#_doActivateExtension yzhang.markdown-all-in-one, startup: true, activationEvent: 'workspaceContains:README.md'
[2022-08-25 09:43:44.964] [exthost] [info] ExtensionService#_doActivateExtension vscode.markdown-math, startup: false, activationEvent: 'api', root cause: yzhang.markdown-all-in-one
[2022-08-25 09:43:45.616] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
[2022-08-25 09:43:45.659] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
[2022-08-25 09:43:45.669] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github, startup: true, activationEvent: '*'
[2022-08-25 09:43:49.724] [exthost] [info] Eager extensions activated
[2022-08-25 09:43:49.758] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:49.784] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:49.799] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:49.836] [exthost] [info] ExtensionService#_doActivateExtension bradlc.vscode-tailwindcss, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:49.882] [exthost] [info] ExtensionService#_doActivateExtension dbaeumer.vscode-eslint, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:49.913] [exthost] [info] ExtensionService#_doActivateExtension eamodio.gitlens, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:50.062] [exthost] [info] ExtensionService#_doActivateExtension miguelsolorio.symbols, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:50.087] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:50.106] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:43:50.133] [exthost] [info] ExtensionService#_doActivateExtension streetsidesoftware.code-spell-checker, startup: false, activationEvent: 'onStartupFinished'
[2022-08-25 09:49:22.609] [exthost] [warning] TextEditor is closed/disposed
[2022-08-25 09:49:44.627] [exthost] [warning] TextEditor is closed/disposed
[2022-08-25 10:08:56.878] [exthost] [warning] TextEditor is closed/disposed

Only, VS Code + Terminal App was running. windows defender was disabled. Followed the same steps suggested in the wiki.

CPU load: 37%
Memory: 75% (2.5 GB occupied by VS Code only)

Here are the console log and output logs:

Developer Tool Console Logs
console.log
Output Logs
output.log

Hope this will help

Here are some other logs I shared on other day.

Yes, I checked this so many times. Sometimes CPU usages were 60% sometimes 75%. But I noticed one thing when this happens VSCode starts consuming more memory then usual (Maximum consumption was noted 3GB). This is from the windows default task manager. I didn't checked it via (Help > Open Process Explorer).

Which process? Please check the full command line of the process using high cpu/memory
That log is from the extension host but please set the log level to "trace" (F1 > Set Log Level > Trace)

@roblourens I set the log level to Trace. Now in output can you tell me which item I should pick from the dropdown ?

Log (Extension Host)

[2022-09-12 17:37:34.459] [exthost] [trace] [bradlc.vscode-tailwindcss] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:34.459] [exthost] [trace] [streetsidesoftware.code-spell-checker] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:34.459] [exthost] [trace] [dbaeumer.vscode-eslint] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:34.459] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:34.460] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:34.460] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:34.460] [exthost] [trace] [dbaeumer.vscode-eslint] provider DONE after 1ms
[2022-09-12 17:37:34.460] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 0ms
[2022-09-12 17:37:34.460] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:37:34.460] [exthost] [trace] [bradlc.vscode-tailwindcss] provider DONE after 1ms
[2022-09-12 17:37:34.461] [exthost] [trace] [streetsidesoftware.code-spell-checker] provider DONE after 1ms
[2022-09-12 17:37:34.462] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 3ms
[2022-09-12 17:37:34.471] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>Promise.resolve(K.releaseCodeActions(H))'
[2022-09-12 17:37:34.471] [exthost] [trace] CommandsConverter#DISPOSE 7042
[2022-09-12 17:37:34.471] [exthost] [trace] CommandsConverter#DISPOSE 7043
[2022-09-12 17:37:34.471] [exthost] [trace] CommandsConverter#DISPOSE 7044
[2022-09-12 17:37:34.471] [exthost] [trace] CommandsConverter#DISPOSE 7045
[2022-09-12 17:37:34.471] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:37:34.509] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:34.691] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:34.691] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:34.736] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:35.009] [exthost] [trace] ExtHostSCM#$provideOriginalResource 0 file:///e%3A/www/projects/admin.project.app/tests/functional/api/products/show.spec.ts
[2022-09-12 17:37:36.783] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:36.792] [exthost] [trace] [InlayHints] 25 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:36.792] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 9ms
[2022-09-12 17:37:36.836] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:36.848] [exthost] [trace] [InlayHints] 25 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:36.848] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 12ms
[2022-09-12 17:37:37.055] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.063] [exthost] [trace] [InlayHints] 23 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.063] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 8ms
[2022-09-12 17:37:37.090] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.098] [exthost] [trace] [InlayHints] 21 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.098] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 8ms
[2022-09-12 17:37:37.144] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.150] [exthost] [trace] [InlayHints] 21 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.150] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 7ms
[2022-09-12 17:37:37.207] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.214] [exthost] [trace] [InlayHints] 21 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.214] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 7ms
[2022-09-12 17:37:37.264] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.271] [exthost] [trace] [InlayHints] 21 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.271] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 7ms
[2022-09-12 17:37:37.323] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.330] [exthost] [trace] [InlayHints] 21 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.330] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 8ms
[2022-09-12 17:37:37.357] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.361] [exthost] [trace] [InlayHints] 21 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.361] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 4ms
[2022-09-12 17:37:37.414] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideDocumentRangeSemanticTokens(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.421] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 6ms
[2022-09-12 17:37:37.493] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideInlayHints(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.500] [exthost] [trace] [InlayHints] 21 inlay hints from 'vscode.typescript-language-features' for [object Object]
[2022-09-12 17:37:37.500] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 7ms
[2022-09-12 17:37:37.569] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'fe=>fe.provideDocumentRangeSemanticTokens(u.URI.revive(H),K,Q)'
[2022-09-12 17:37:37.571] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 2ms
[2022-09-12 17:37:38.826] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:38.826] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:38.826] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:38.826] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:38.826] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:40.748] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:40.748] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:40.786] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:40.786] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:40.786] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:40.786] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:40.786] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:41.005] [exthost] [debug] ProxyResolver#resolveProxy cached https://api.github.com/graphql DIRECT
Error: Error for stack trace
	at resolveProxy (c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\index.js:105:69)
	at c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\index.js:294:77
	at new Promise (<anonymous>)
	at _PacProxyAgent.resolveP [as resolver] (c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\index.js:294:54)
	at _PacProxyAgent.<anonymous> (c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\agent.js:70:37)
	at Generator.next (<anonymous>)
	at c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\agent.js:8:71
	at new Promise (<anonymous>)
	at __awaiter (c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\agent.js:4:12)
	at _PacProxyAgent.callback (c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\agent.js:52:16)
	at _PacProxyAgent.addRequest (c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\node_modules\agent-base\dist\src\index.js:184:38)
	at new ClientRequest (node:_http_client:305:16)
	at request (node:https:353:10)
	at patched (c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\index.js:298:24)
	at c:\Users\iyashpal\.vscode\extensions\eamodio.gitlens-12.2.2\dist\gitlens.js:237:87797
	at new Promise (<anonymous>)
	at fetch (c:\Users\iyashpal\.vscode\extensions\eamodio.gitlens-12.2.2\dist\gitlens.js:237:87397)
	at fetchWrapper (c:\Users\iyashpal\.vscode\extensions\eamodio.gitlens-12.2.2\dist\feature-github.js:6:6585)
	at request (c:\Users\iyashpal\.vscode\extensions\eamodio.gitlens-12.2.2\dist\feature-github.js:6:8082)
	at hook (c:\Users\iyashpal\.vscode\extensions\eamodio.gitlens-12.2.2\dist\feature-github.js:8:1924)
	at c:\Users\iyashpal\.vscode\extensions\eamodio.gitlens-12.2.2\dist\feature-github.js:1:1964
[2022-09-12 17:37:41.205] [exthost] [trace] [eamodio.gitlens] INVOKE provider 'Q=>Q.provideCodeLenses(u.URI.revive(H),K)'
[2022-09-12 17:37:41.206] [exthost] [trace] [vscode.merge-conflict] INVOKE provider 'Q=>Q.provideCodeLenses(u.URI.revive(H),K)'
[2022-09-12 17:37:41.206] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideCodeLenses(u.URI.revive(H),K)'
[2022-09-12 17:37:41.206] [exthost] [trace] [jripouteau.japa-vscode] INVOKE provider 'Q=>Q.provideCodeLenses(u.URI.revive(H),K)'
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTest 7046
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTest 7047
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTest 7048
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTest 7049
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTest 7050
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTest 7051
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTest 7052
[2022-09-12 17:37:41.215] [exthost] [trace] CommandsConverter#CREATE japa-vscode.runTestFile 7053
[2022-09-12 17:37:41.215] [exthost] [trace] ExtHostCommands#executeCommand vscode.executeDocumentSymbolProvider
[2022-09-12 17:37:41.215] [exthost] [trace] ExtHostCommands#executeCommand _executeDocumentSymbolProvider
[2022-09-12 17:37:41.215] [exthost] [trace] [jripouteau.japa-vscode] provider DONE after 9ms
[2022-09-12 17:37:41.215] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 10ms
[2022-09-12 17:37:41.216] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:41.216] [exthost] [trace] [vscode.merge-conflict] provider DONE after 10ms
[2022-09-12 17:37:41.223] [exthost] [trace] [eamodio.gitlens] provider DONE after 18ms
[2022-09-12 17:37:41.708] [exthost] [trace] [jripouteau.japa-vscode] INVOKE provider 'K=>Promise.resolve(K.releaseCodeLenses(H))'
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7034
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7035
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7036
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7037
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7038
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7039
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7040
[2022-09-12 17:37:41.708] [exthost] [trace] CommandsConverter#DISPOSE 7041
[2022-09-12 17:37:41.708] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>Promise.resolve(K.releaseCodeLenses(H))'
[2022-09-12 17:37:41.708] [exthost] [trace] [eamodio.gitlens] INVOKE provider 'K=>Promise.resolve(K.releaseCodeLenses(H))'
[2022-09-12 17:37:41.708] [exthost] [trace] [jripouteau.japa-vscode] provider DONE after 0ms
[2022-09-12 17:37:41.708] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:37:41.708] [exthost] [trace] [eamodio.gitlens] provider DONE after 0ms
[2022-09-12 17:37:44.260] [exthost] [trace] [bradlc.vscode-tailwindcss] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:44.260] [exthost] [trace] [streetsidesoftware.code-spell-checker] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:44.260] [exthost] [trace] [dbaeumer.vscode-eslint] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:44.260] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:44.261] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:44.261] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:44.261] [exthost] [trace] [dbaeumer.vscode-eslint] provider DONE after 1ms
[2022-09-12 17:37:44.261] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 0ms
[2022-09-12 17:37:44.261] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:37:44.261] [exthost] [trace] [bradlc.vscode-tailwindcss] provider DONE after 2ms
[2022-09-12 17:37:44.261] [exthost] [trace] [streetsidesoftware.code-spell-checker] provider DONE after 1ms
[2022-09-12 17:37:44.262] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 2ms
[2022-09-12 17:37:44.270] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>Promise.resolve(K.releaseCodeActions(H))'
[2022-09-12 17:37:44.270] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:37:45.719] [exthost] [trace] [bradlc.vscode-tailwindcss] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:45.719] [exthost] [trace] [streetsidesoftware.code-spell-checker] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:45.719] [exthost] [trace] [dbaeumer.vscode-eslint] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:45.719] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:45.720] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:45.720] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'we=>we.provideCodeActions(u.URI.revive(H),K,Q,fe)'
[2022-09-12 17:37:45.720] [exthost] [trace] [dbaeumer.vscode-eslint] provider DONE after 1ms
[2022-09-12 17:37:45.720] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 1ms
[2022-09-12 17:37:45.720] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 1ms
[2022-09-12 17:37:45.720] [exthost] [trace] [bradlc.vscode-tailwindcss] provider DONE after 1ms
[2022-09-12 17:37:45.720] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 1ms
[2022-09-12 17:37:45.720] [exthost] [trace] [streetsidesoftware.code-spell-checker] provider DONE after 1ms
[2022-09-12 17:37:45.730] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>Promise.resolve(K.releaseCodeActions(H))'
[2022-09-12 17:37:45.730] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:37:49.838] [exthost] [debug] ExtHostSearch c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS<EMAIL_ADDRESS>--files --hidden --case-sensitive -g '!**/.git' -g '!**/.svn' -g '!**/.hg' -g '!**/CVS' -g '!**/.DS_Store' -g '!**/Thumbs.db' -g '!**/node_modules' -g '!**/bower_components' -g '!**/*.code-search' -g '!**/vendor' --no-ignore --follow --no-config --no-ignore-global
 - cwd: e:\www\projects\admin.project.app
 - Sibling clauses: {}
[2022-09-12 17:37:50.016] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:37:50.017] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:37:50.243] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 227ms
[2022-09-12 17:37:50.250] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:37:50.250] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 1ms
[2022-09-12 17:37:51.070] [exthost] [trace] [Vue.volar] provider DONE after 1054ms
[2022-09-12 17:37:51.114] [exthost] [trace] [Vue.volar] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:37:51.114] [exthost] [trace] [Vue.volar] provider DONE after 0ms
[2022-09-12 17:37:53.639] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:37:53.640] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:37:53.667] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 27ms
[2022-09-12 17:37:54.184] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:37:54.185] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:37:56.190] [exthost] [trace] [Vue.volar] provider DONE after 2550ms
[2022-09-12 17:37:56.193] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:57.145] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:57.146] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:57.227] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:37:57.345] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 3161ms
[2022-09-12 17:37:57.361] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:37:57.361] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:37:57.380] [exthost] [trace] [Vue.volar] provider DONE after 3196ms
[2022-09-12 17:37:57.449] [exthost] [trace] [Vue.volar] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:37:57.449] [exthost] [trace] [Vue.volar] provider DONE after 0ms
[2022-09-12 17:37:57.468] [exthost] [trace] ExtHostSCM#$provideOriginalResource 0 file:///e%3A/www/projects/admin.project.app/tests/functional/api/products/show.spec.ts
[2022-09-12 17:38:07.348] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:08.721] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:08.874] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:08.889] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:08.966] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.258] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.259] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.298] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.298] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.476] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.476] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.513] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:10.583] [exthost] [trace] ExtHostSCM#$provideOriginalResource 0 file:///e%3A/www/projects/admin.project.app/tests/functional/api/products/show.spec.ts
[2022-09-12 17:38:10.788] [exthost] [trace] ExtHostSCM#$provideOriginalResource 0 file:///e%3A/www/projects/admin.project.app/tests/functional/api/products/show.spec.ts
[2022-09-12 17:38:11.538] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:11.615] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:11.631] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:11.678] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:12.564] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:12.564] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:13.070] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 506ms
[2022-09-12 17:38:13.425] [exthost] [trace] [Vue.volar] provider DONE after 860ms
[2022-09-12 17:38:13.660] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:13.661] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:14.204] [exthost] [trace] [Vue.volar] provider DONE after 543ms
[2022-09-12 17:38:14.226] [exthost] [trace] [Vue.volar] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:38:14.226] [exthost] [trace] [Vue.volar] provider DONE after 1ms
[2022-09-12 17:38:14.253] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 593ms
[2022-09-12 17:38:14.285] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:38:14.285] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:38:15.514] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:15.683] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:15.684] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:15.720] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:38:16.031] [exthost] [trace] ExtHostSCM#$provideOriginalResource 0 file:///e%3A/www/projects/admin.project.app/tests/functional/api/products/show.spec.ts
[2022-09-12 17:38:26.407] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:26.407] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:26.688] [exthost] [trace] [Vue.volar] provider DONE after 281ms
[2022-09-12 17:38:26.766] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 360ms
[2022-09-12 17:38:35.746] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:35.747] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:36.240] [exthost] [trace] [Vue.volar] provider DONE after 494ms
[2022-09-12 17:38:36.245] [exthost] [trace] [Vue.volar] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:38:36.245] [exthost] [trace] [Vue.volar] provider DONE after 0ms
[2022-09-12 17:38:36.841] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 1095ms
[2022-09-12 17:38:36.866] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:38:36.866] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:38:56.480] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:56.480] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:56.785] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 305ms
[2022-09-12 17:38:57.098] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:57.099] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:57.276] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 178ms
[2022-09-12 17:38:57.474] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:57.474] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:57.595] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 121ms
[2022-09-12 17:38:57.789] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:57.789] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:38:58.206] [exthost] [trace] [Vue.volar] provider DONE after 1725ms
[2022-09-12 17:38:58.208] [exthost] [trace] [Vue.volar] provider DONE after 1109ms
[2022-09-12 17:38:58.220] [exthost] [trace] [Vue.volar] provider DONE after 746ms
[2022-09-12 17:38:58.391] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 601ms
[2022-09-12 17:38:58.396] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:38:58.396] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:38:58.646] [exthost] [trace] [Vue.volar] provider DONE after 856ms
[2022-09-12 17:38:58.737] [exthost] [trace] [Vue.volar] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:38:58.737] [exthost] [trace] [Vue.volar] provider DONE after 0ms
[2022-09-12 17:39:02.480] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:02.480] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:03.033] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 553ms
[2022-09-12 17:39:03.176] [exthost] [trace] [Vue.volar] provider DONE after 696ms
[2022-09-12 17:39:14.915] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:14.915] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:15.437] [exthost] [trace] [Vue.volar] provider DONE after 522ms
[2022-09-12 17:39:15.784] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 869ms
[2022-09-12 17:39:26.683] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:26.683] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:26.745] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 61ms
[2022-09-12 17:39:26.933] [exthost] [trace] [Vue.volar] provider DONE after 250ms
[2022-09-12 17:39:26.952] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:26.953] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:26.974] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 22ms
[2022-09-12 17:39:27.203] [exthost] [trace] [Vue.volar] provider DONE after 251ms
[2022-09-12 17:39:27.326] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:27.327] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:27.534] [exthost] [trace] [Vue.volar] provider DONE after 206ms
[2022-09-12 17:39:27.540] [exthost] [trace] [Vue.volar] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:39:27.540] [exthost] [trace] [Vue.volar] provider DONE after 0ms
[2022-09-12 17:39:27.884] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 557ms
[2022-09-12 17:39:27.922] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:39:27.922] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:39:35.858] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:35.858] [exthost] [trace] [Vue.volar] INVOKE provider 'Q=>Q.provideWorkspaceSymbols(H,K)'
[2022-09-12 17:39:35.947] [exthost] [trace] [Vue.volar] provider DONE after 88ms
[2022-09-12 17:39:35.948] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 89ms
[2022-09-12 17:39:35.950] [exthost] [trace] [Vue.volar] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:39:35.950] [exthost] [trace] [Vue.volar] provider DONE after 0ms
[2022-09-12 17:39:35.956] [exthost] [trace] [vscode.typescript-language-features] INVOKE provider 'K=>K.releaseWorkspaceSymbols(H)'
[2022-09-12 17:39:35.956] [exthost] [trace] [vscode.typescript-language-features] provider DONE after 0ms
[2022-09-12 17:39:59.701] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:39:59.701] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:39:59.719] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 17ms
[2022-09-12 17:39:59.719] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 18ms
[2022-09-12 17:39:59.946] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:39:59.946] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:39:59.946] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:39:59.946] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:39:59.946] [exthost] [trace] ExtHostCommands#executeCommand setContext
[2022-09-12 17:40:09.972] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:40:09.972] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:40:09.994] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 21ms
[2022-09-12 17:40:09.994] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 21ms
[2022-09-12 17:40:18.157] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:40:18.157] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:40:18.172] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 14ms
[2022-09-12 17:40:18.172] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 14ms
[2022-09-12 17:40:21.337] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:40:21.337] [exthost] [trace] [GitHub.vscode-pull-request-github] INVOKE provider 'fe=>fe.provideHover(u.URI.revive(H),K,Q)'
[2022-09-12 17:40:21.351] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 15ms
[2022-09-12 17:40:21.352] [exthost] [trace] [GitHub.vscode-pull-request-github] provider DONE after 14ms

I hope this will help. this was from a different PC file loading delay was around 3-4 seconds. Will share you more logs soon

The log doesn't show anything suspicious. If you run that rg.exe command manually in your workspace folder, how long does that take?
c:\Users\iyashpal\AppData\Local\Programs\Microsoft VS<EMAIL_ADDRESS>--files --hidden --case-sensitive -g '!**/.git' -g '!**/.svn' -g '!**/.hg' -g '!**/CVS' -g '!**/.DS_Store' -g '!**/Thumbs.db' -g '!**/node_modules' -g '!**/bower_components' -g '!**/*.code-search' -g '!**/vendor' --no-ignore --follow --no-config --no-ignore-global

Let me try it.

Command :
rg --files --hidden --case-sensitive -g '!**/.git' -g '!**/.svn' -g '!**/.hg' -g '!**/CVS' -g '!**/.DS_Store' -g '!**/Thumbs.db' -g '!**/node_modules' -g '!**/bower_components' -g '!**/*.code-search' -g '!**/vendor' --no-ignore --follow --no-config --no-ignore-global

Result:
yarn.  The above command result was very fast. I guess the time was 100ms to 200ms

Ok, so ripgrep itself is fast here. I asked this a bit ago, I don't think we established this

Which process? Please check the full command line of the process using high cpu/memory

I assume that it's the extension host process, since we ruled out the renderer process. You could follow these steps to get a perf trace of that process

F1 > "Show running extensions"
In the upper right corner of that editor, click the record button to "Start extension host profile"
Click the stop button
Click the save button to save the trace file, then upload it to this issue

CPU-20220921T051449.584Z.cpuprofile.txt
Here it is. This time I didn't track the time but approx. it was 10 to 20 sec.

The profile doesn't show much work happening. So if there is a process using high cpu, I need to know which one it is.

While recording this Only VS Code and Edge Browser(1 tab) were running at that time. Is there anything else that you need from me?

Okay, I will try to get that information to you.

@roblourens I hope this will help you. I encountered the High CPU and Memory only once.
https://www.loom.com/share/ace98c9b6c524b0daceeef958db3c5ad

Thanks for the video. Yeah it's definitely a bit odd. Since there is no process stuck using high cpu, and the logs don't show anything unusual, I actually have no idea what else to check.
Honestly the only thing I can think of at this point is to have you build vscode from this repo and debug it yourself. If you are up for that, this wiki page is the right place to start. https://github.com/microsoft/vscode/wiki/How-to-Contribute I can give you some pointers on where to add some logging.

Sure, I will setup and let you know.

@roblourens I have set up the repo. can you guide me what to do?

I think I just want to see when we get to different areas to see what is slow

Here is where we are done parsing output from the rg command: https://github.com/microsoft/vscode/blob/8d51c17cc5326f141b29cb294454d71355f0dc0c/src/vs/workbench/services/search/node/fileSearch.ts#L194
Here is where we've gotten all the results on the frontend: https://github.com/microsoft/vscode/blob/8d51c17cc5326f141b29cb294454d71355f0dc0c/src/vs/workbench/services/search/common/searchService.ts#L144
Here is where the quick open is calling search: https://github.com/microsoft/vscode/blob/8d51c17cc5326f141b29cb294454d71355f0dc0c/src/vs/workbench/contrib/search/browser/anythingQuickAccess.ts#L552

I have no clue where the problem might be at this point but you can try to trace it through and see where it gets stuck.

@roblourens I don't see any problem with running VS Code via .\scripts\code.bat. Even it's 2x faster than the one installed on my system. Everything is working well without any delay.

Yes, I have tried fresh installation without any extensions.

I'm seeing the same behavior.  In a small repository, it's very fast.  But in my larger workspaces / repositories, it's very slow.
I get sub-second results in this repo (on a MacBook Pro)
> find . | wc -l
    1789

And very slow first results (30-60seconds?) in this one, but only a couple seconds afterwards (also on the MacBook Pro)
> find . | wc -l
  945212

And then on a vs-code remote linux workstation, it seems to never complete (I'm not patient to wait minutes):
> find . | wc -l
2567950

(yes, 2.6 million files)
Using rg, and some of my search excludes (it looks like any pattern that's fully excluded is passed to rg to trim down results:
rg --files --hidden --case-sensitive --no-follow --no-ignore --no-config --no-ignore-global -g '!.jiri_root/**' -g '!**/.cipd' -g '!**/.git' | wc -l
1977606

which runs in 3.3-3.4sec. (and still is ~2M files)
If I remove my output directory's generated-sources directories from the search includes (so vscode can have rg remove out/** as well):
    "search.exclude": {
      ".jiri_root/goma_cache": true,
      ".jiri_root/update_history*": true,
      "out/**": true,
      // "out/*/gen/**": false,
      // "out/*/*/gen/**": false,
    },

I get :
rg --files --hidden --case-sensitive --no-follow --no-ignore --no-config --no-ignore-global -g '!.jiri_root/**' -g '!**/.cipd' -g '!**/.git' -g '!out/**' | wc -l
313727

which runs in about 0.5seconds, and then quick-open is functional, albeit still taking 25-30 seconds to produce a list of files.
Based on this, I think that the issue seems like it's in the vscode code that takes the results from rg and pares them down by matching against them.
I think this is reproducible on any sufficiently-large and complicated workspace (I can give you setup instructions for mine, which is open-source).

@roblourens when I run .\scripts\code.bat it is way too fast and I don't see any problems with quick open files even though this is 2x faster than the main installation. I have spent hours with the main installation having zero extensions (built-in was all enabled.) but having the same issue. Spent hours with Microsoft Defender turned off, but no luck.

Hi @woody77, thanks for trying that. There is a lot of history in this thread, I suggest opening your own issue and going through the same troubleshooting steps above - eg getting profiles of renderer and EH processes, a log, as it's probably not exactly the same situation.

@iyashpal Sorry, I have no clue what's going on. Debugging with devtools may shed some light.

The problem is when I try to Debug based on your recommendations. I don't face any issues. How I can debug this on main build?

By opening the developer tools (Help > Toggle developer tools)
After waiting a couple minutes, it should download the sourcemaps and you should be able to find the same .ts files using ctrl+P. If it fails to download the sourcemap (this sometimes times out) you can download the .js, workbench.main.js, and you can click the {} button to pretty-print it, and search for some text from the file you are looking for to find it in the bundle. Not an easy process but I don't know what else to look at.

Okay, will try it out

We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that.
Happy Coding!


Made DiscreteGp covariant on DiscreteDomain

The DiscreteGaussianProcess and DiscreteLowRankGaussianProcess were so far invariant in the domain argument. In line with the DiscreteField, it should, however be covariant, such that we can pass a DiscreteLowRankGP[D, DiscreteImageDomain[D], V] where a DiscreteLowRankGP[D, DiscreteDomain[D], V] is expected.

While reflecting only a limited amount of time about it, it makes totally sense that we can pass a DLRGP with stricter domain to a method expecting only a DLRGP with a parent type of the stricter domain. Maybe if the inheritance of the domain is abused this might lead to strange result. But I think we should not argue with this kind of problems.
So i agree to merge this PR.


Bug: Prev revision deleted isn't handled

In edit quality campaign I observed that if the previous revision is deleted the diff shows nothing. User should not be given the option to rate a revision if the previous one is not available for a diff.
https://phabricator.wikimedia.org/T115506

Closing this because it should be resolved now.  See https://phabricator.wikimedia.org/T122815.  Please re-open if problems persist.

Actually closing, per https://github.com/wiki-ai/wikilabels/issues/87#issuecomment-172906357


feat: add compile option to enable rerun of transpilation for react templates

Description
The PR introduces a new option compile in the  Generator class contructor which is by default false ,by default the React template files are not transpiled. When setting the compile options to true the transpilation process takes place.
I have also added/updated test for it. Below are the result

Related issue(s)
Related to #521

which added this functionality

ok, we need to add a proper new integration test here, without proper test, feature development will be based on just our intuition
there are some integration tests already, that use https://github.com/asyncapi/html-template template
we just need another test, also using https://github.com/asyncapi/html-template but fixed to use version 2.3.0 where __transpiled folder was added to package.
there are 2 test scenarios:

with compile flag false
you run html template generation with debug flag
console.log message should contain something about Babel
with compile flag true
you run html template generation with debug flag
console.log message should not contain something about Babel

Why? We know html-template as some big files and babel warns about it in logs, when transpilation runs. Now, we also know that we do not need to run transpilation as __transpiled dir is there. This is why we can, with such integrations test, confirm if transpilation is triggered only if compile is true
makes sense?

looks alright

@utnim2 ok then, ping me when ready for another review

@utnim2 do you continue with this one?

@utnim2 do you continue with this one?

currently i am having my semester exam, will continue working on it after my exams are over
cc @derberg

Hey @derberg, i guess compile flag is not working as expected

the integration test fails here and  logs does not contain something about Babel, and generating react-template test also failing currently investgating it
reference of test taken from this

so maybe the best will be to simply extend configureReact with a log message (only if debug flag) that basically drops log like "Transpilation of files DIR into OUTPUT_DIR started"
then probably enough is to add just unit test in generator.test.js, check but probably integration test is not needed

i am confused here, so do we need to add integration test or do we just need to add test in generator.test.js
cc @derberg

/update

i am confused here, so do we need to add integration test or do we just need to add test in generator.test.js

just try with suggestion to add log and test for it - if it will work, no integration test is needed

@derberg any idea why workflow is failing? (idk why test seems to fail)

Hey @derberg when i run locally, with compile true then it works perfectly

but dont know why test is failing

@Gmin2 your tests are still failing

@Gmin2 any progress?

@Gmin2 any progress?

@derberg resolve the issue now, please check PR generator-react-sdk/#243

@Gmin2 all good, I just improved the changeset a bit to make it clear what this release is all about. Please have a look for future education

/rtm


Include more operations in database pushdowns

Query your data where it lives

Description
I think i recall someone saying the quote above sometime earlier this week & it got me thinking more about pushdowns.
Many of our datasources support complex pushdowns beyond the common predicate & projection pushdowns.
It'd be a really cool feature if we could push down all possible parts of the query to the underlying source, falling back to in-memory when not possible to push down.
Each source may support varying levels of pushdowns, but something like postgres, you should be able to push down the majority of the query.
Nodes with multiple children (join/union) get pretty tricky as we could easily determine if it's of the same kind, but we'd also need to compare to make sure it is the same table provider as well.
Implementation notes
I think we'd need to

implement create_physical_expr for our different datasources (sql dialects + mongo).
create a physical plan optimization rule that pushes all nodes down as far as possible.
some means of comparing the table provider to ensure they are in fact the same datasource.

We could probably start really simple & implement https://github.com/GlareDB/glaredb/issues/1507 then follow up with trying to push down something really simple like a UniqueExec or SortExec.

I took a stab at query federation in backkem/datafusion-federation. It's loosely based on the discussion in apache/arrow-datafusion#970. I have a first example that cuts the plan into sub-plans and pushes down a join to the remote database: sqlite-partial.
There are many optimizations left to make but it's a start.


Disable all table columns during table disable action

In this change I've added some functionality that disabled the PKs and indices of a table when disabling it. Should we only disable columns or PKs and indices as well?


Context / sessions

Does Rasa NLU have built-in mechanisms to handle context? Such as prompting a user for more information when the intent is matched but not all required parameters. If so, does it support multiple simultaneous sessions?

No and it wont. We are working on a dialog manager build on top of rasa (which is going to be open sourced as well.)


[AMBARI-24245] Fix FindBugs warnings

What changes were proposed in this pull request?
Fix ~300 warnings reported by FindBugs.
Before:
[INFO] Total bugs: 1706

After:
[INFO] Total bugs: 1392

How was this patch tested?
Functionality smoke test:

deployed a ZK-only cluster via blueprint
ran service check
downloaded client configs
checked Ambari web UI for any apparent problems (services, hosts, versions, users/groups, etc.)

Unit tests, RAT and Checkstyle checks:
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main <IP_ADDRESS>-SNAPSHOT ....................... SUCCESS [  2.677 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [  0.034 s]
[INFO] Ambari Views ....................................... SUCCESS [  2.235 s]
[INFO] Ambari Server SPI .................................. SUCCESS [  0.939 s]
[INFO] Ambari Service Advisor <IP_ADDRESS>-SNAPSHOT ............ SUCCESS [  0.323 s]
[INFO] ambari-utility <IP_ADDRESS>-SNAPSHOT .................... SUCCESS [  3.213 s]
[INFO] Ambari Server <IP_ADDRESS>-SNAPSHOT ..................... SUCCESS [29:06 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4109/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4111/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4112/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4113/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4114/
Test PASSed.


feat: add helm chart

📑 Description
Replace static manifests with a Helm chart & update Makefile accordingly
Closes #307

@TylerGillson can you also add a reference to this GH issue in your PR, please?

@TylerGillson , I think it's nice to have appVersion specifying the container image version and also have a way to overwrite it if a user wants to in their own values.yaml or by explicitly setting it
e.g
"{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
what do you think?

@TylerGillson , I think it's nice to have appVersion specifying the container image version and also have a way to overwrite it if a user wants to in their own values.yaml or by explicitly setting it
e.g "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
what do you think?

I was trying to stick with the conventions outlined in https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels. How about introducing app.k8sgpt.image instead?
Output of helm template k8sgpt charts/k8sgpt:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: k8sgpt
  namespace: "default"
  labels:
    helm.sh/chart: k8sgpt-1.0.0
    app.kubernetes.io/name: k8sgpt
    app.kubernetes.io/instance: k8sgpt
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "0.2.4"
    app.k8sgpt.image: "ghcr.io/k8sgpt-ai/k8sgpt:v0.2.4"

@TylerGillson , I think it's nice to have appVersion specifying the container image version and also have a way to overwrite it if a user wants to in their own values.yaml or by explicitly setting it
e.g "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
what do you think?

@arbreezy @matthisholleville I was trying to stick with the K8s common label conventions. How about introducing app.k8sgpt.image instead?
Output of helm template k8sgpt charts/k8sgpt:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: k8sgpt
  namespace: "default"
  labels:
    helm.sh/chart: k8sgpt-1.0.0
    app.kubernetes.io/name: k8sgpt
    app.kubernetes.io/instance: k8sgpt
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "0.2.4"
    app.k8sgpt.image: "ghcr.io/k8sgpt-ai/k8sgpt:v0.2.4"

I was talking about in deployment's template, how you could set the container image version, which is something quite common with OSS charts.

@arbreezy gotcha! Made the change you suggested now that I've understood you 😅

@AlexsJones, do we need a release-please annotation since appVersion will point to our latest released container image?

@AlexsJones, do we need a release-please annotation since appVersion will point to our latest released container image?

I think this would make sense

@AlexsJones, do we need a release-please annotation since appVersion will point to our latest released container image?

I think this would make sense

OK, I think expanding the _helpers labels function to include that label would make sense
WDYT @TylerGillson ?

@arbreezy @thschue I'm happy to make whatever changes you guys feel are necessary, but I'll need a little bit more detail please.
We already have app.kubernetes.io/version: "0.2.4" and I proposed app.k8sgpt.image: "ghcr.io/k8sgpt-ai/k8sgpt:v0.2.4". What exactly are you proposing that I add to the default labels?

It should work like in this manifest -> https://github.com/k8sgpt-ai/k8sgpt/blob/main/container/manifests/deployment.yaml#L22

It should work like in this manifest -> https://github.com/k8sgpt-ai/k8sgpt/blob/main/container/manifests/deployment.yaml#L22

Ok, apologies @thschue but I need my hand held here. The manifest you linked doesn't have any versioning info in its labels and it is unclear to me whether #x-release-please-version in the manifest is a placeholder.
What YAML are you expecting to see in the rendered Helm chart?

@TylerGillson: Made two suggestions, then it should work ...


Website is down..

I desperately need a program that does this:
I use AMD and amd has a service called Plays.tv to record only certain games that're popular.
I really need a non-outdated software which allows me to overlay google chrome inside one of those games, so I can do a workaround and record anything without lag.
Please respond asap, there is no other alternative then using workarounds!

Website is up at http://agrippa1994.github.io/DX9-Overlay-API/


Missing keys

You don't want to provide your API keys?:)
ValueError: Did not find OPENAI_API_KEY, please add an environment variable OPENAI_API_KEY which contains it, or pass  OPENAI_API_KEY as a named parameter.

Okay, I just did
import os
os.environ["OPENAI_API_KEY"] = ""
I was confused because it was not mentioned in the README that this is necessary.


Can not login in to the console when configure email as the username format

Describe the issue:

Can not login in to the console when configure email as the username format , even if we use correct credentials

Git issue : https://github.com/wso2/product-is/issues/16323
Local pack used  : https://drive.google.com/drive/u/2/folders/1UubS6-c-_-3lnp2TelO6yoYSBX5IcXkZ
Reference documentation and use case : https://docs.google.com/document/d/1aaCJ70OjAxICRMk72ctYDsG6khIfxojzu8OG0pBJGnY/edit
How to reproduce:

1.Go to the console
2.Go to account login =>Go to username-validation and set email as the username type.
3.Logout from the console and try to login again
Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Difference between previous email type user name config and current config is
Previous config ensures 2 things

New user creation should validate email type username.
All users in the tenant are email type.

With current EmailType Username config we can't ensure 2nd option.
(Ex: It's possible that there can be users with usernames : sample and<EMAIL_ADDRESS>in the test.com tenant.)
To differentiate this, We need to take either one of following decisions,

Tenant domain can't be in email domain format.
There can't be users with email domain which is same as tenant domain.

Organisation features we are introducing is following first option. Organisation domain can't be email domain.

We disable username validation feature. Now, the username will be validated based on the userstore level regex


[Focus] Inconsistent behavior on Android and Desktop/Web

The behavior of Focus widget is different in Android and Desktop/Web.
Minimal code to reproduce the case:
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({
    Key? key,
    required this.title,
  }) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [

            Focus(onFocusChange: (value) => print('FocusChanged to $value') , child: TextField()),
            ElevatedButton(onPressed: () => print('Button clicked'), child: const Text('OK')),

          ],
        ),
      ),
    );
  }
}

When you type something on the textfield and directly click / tap on the OK button we get different output as below :
Output on Desktop and Web :
FocusChanged to true
FocusChanged to false
Button clicked

Output on a real Android
FocusChanged to true
Button clicked

We are developing an app were we make updates to a rest api service when a TextField is focused out and we came across this issue. Everything works fine on Windows and Web but not on Android devices.
I guess we can use FocusScope.of(context).unfocus() on the button click event to force the onFocusChanged(false) to be called but is this the expected behavior in Flutter and is there other ways of doing this ?

Hi @merabtenei, I believe this is the expected behavior for mobile devices when you're entering text into a Textfield. You will have to call FocusScope.of(context).unfocus() to remove focus when the button is clicked.
I created a simple SwiftUI app (I used iOS to demonstrate that it's not only on android) to show what happens when a button is clicked without explicitly removing the focus. See the recording below
Does this help clear up any confusion that you have?

video
https://user-images.githubusercontent.com/88313112/186849054-d68ec944-dbec-4a47-bfb7-219cdb303fa8.mp4

Thanks for the clarification @danagbemava-nc.
In Web and Desktop we can trigger the onFocusChanged(false) by clicking on any empty place of the screen too. Is there trick to have this on Android.
We want to have the event called whenever we focus out or tap anywhere else outside the TextInput including any empty space, button or widget. What do you suggest to have this behavior similar to what we get on desktop.
Thanks again.

See also https://stackoverflow.com/questions/51652897/how-to-hide-soft-input-keyboard-on-flutter-after-clicking-outside-textfield-anyw, if the onPointerDown solution doesn't work for you.
I have attached a sample below which seems to work just fine.
I'll be closing this since this is working as intended.
Thank you

sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({
    Key? key,
    required this.title,
  }) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Listener(
      onPointerDown: (_) {
        FocusScope.of(context).unfocus();
      },
      child: Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Focus(onFocusChange: (value) => print('FocusChanged to $value'), child: TextField()),
              ElevatedButton(onPressed: () => print('Button clicked'), child: const Text('OK')),
            ],
          ),
        ),
      ),
    );
  }
}