pretty-ts-errors icon indicating copy to clipboard operation
pretty-ts-errors copied to clipboard

UNRESPONSIVE extension host with Drizzle, Kysely and a Big Schema

Open smhmayboudi opened this issue 5 months ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

I am using Drizzle and Kysely together. I have a database schema with nearly 200 tables. I do not define any relation between Drizzle and Kysely. I have select a query with more than 5 inner join tables. When I make some changes to my select, the vs code stops working properly. The windows out put is here.

2024-09-11 14:05:10.822 [info] UNRESPONSIVE extension host: starting to profile NOW
2024-09-11 14:05:15.888 [warning] UNRESPONSIVE extension host: 'yoavbls.pretty-ts-errors' took 100% of 5003.334ms, saved PROFILE here: 'file:///var/folders/7x/rxw2srxn4jzfp15n_f8th2gh0000gn/T/exthost-acaf0e.cpuprofile'
2024-09-11 14:05:48.905 [error] Error: Aborted onWillSaveTextDocument-event after 1750ms
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1873:13070
2024-09-11 14:05:53.950 [error] Error: Aborted onWillSaveTextDocument-event after 1750ms
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1873:13070
2024-09-11 14:06:21.965 [info] Extension host (LocalProcess pid: 38659) is responsive.

Expected behavior A clear and concise description of what you expected to happen.

Works fine.

Original error If this bug is related to an error that is not formatting well, please attach the original error in a code block: Type 'number' is not assignable to type 'string'.ts(2322)

Screenshots If applicable, add screenshots to help explain your problem.

IMAGE

smhmayboudi avatar Sep 11 '24 11:09 smhmayboudi