Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresponsive extension #5849

Open
bartvanerp opened this issue Dec 3, 2024 · 9 comments
Open

Unresponsive extension #5849

bartvanerp opened this issue Dec 3, 2024 · 9 comments
Assignees
Labels
bug Something isn't working performance

Comments

@bartvanerp
Copy link

Hi folks!

I was using the extension last week and it was a pleasure! Now this week I noticed that the extension did not load anymore. In VSCode it seems to never stop loading, both in the bottom bar there is a loading circle and in the DVC tab it also keeps on loading. I checked the Developer Tools and there I get the message INFO UNRESPONSIVE extension host: starting to profile NOW. It only happens with the DVC extension enabled, however, with DVC activated it also blocks the other extensions, such as the built-in git tree.

I checked my local DVC installation and all seems fine. Updated everything to the latest versions and command line interface also seems to behave correctly. Any ideas what could cause this?

@shcheklein
Copy link
Member

As a first step to see what is happening here, could you please share this:

Image
Image

@shcheklein shcheklein added triage performance priority-p1 Regular product backlog labels Dec 3, 2024
@bartvanerp
Copy link
Author

Hi Ivan, please find below the log:

[version: 1.2.23, 2024-12-04T09:33:00.830Z, pid: 15121] > dvc --version - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.970Z, pid: 15121] > dvc --version - COMPLETED (141ms)
[version: 1.2.23, 2024-12-04T09:33:00.971Z, pid: 15123] > dvc config studio.token - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.972Z, pid: 15125] > dvc config studio.offline - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.973Z, pid: 15127] > git rev-parse --show-toplevel - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.974Z, pid: 15129] > dvc data status --granular --unchanged --json - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.974Z, pid: 15131] > git ls-files --others --exclude-standard - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.975Z, pid: 15133] > git ls-files --others --exclude-standard --directory --no-empty-directory - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.976Z, pid: 15135] > git rev-parse --show-toplevel - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.977Z, pid: 15137] > dvc dag --md - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.979Z, pid: 15139] > git ls-remote --get-url origin - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.980Z, pid: 15141] > git rev-parse --show-toplevel - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.981Z, pid: 15143] > git branch - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.981Z, pid: 15145] > git ls-remote origin refs/exps/* - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:00.986Z, pid: 15127] > git rev-parse --show-toplevel - COMPLETED (14ms)
[version: 1.2.23, 2024-12-04T09:33:00.988Z, pid: 15133] > git ls-files --others --exclude-standard --directory --no-empty-directory - COMPLETED (13ms)
[version: 1.2.23, 2024-12-04T09:33:00.990Z, pid: 15135] > git rev-parse --show-toplevel - COMPLETED (14ms)
[version: 1.2.23, 2024-12-04T09:33:00.995Z, pid: 15131] > git ls-files --others --exclude-standard - COMPLETED (21ms)
[version: 1.2.23, 2024-12-04T09:33:00.997Z, pid: 15141] > git rev-parse --show-toplevel - COMPLETED (18ms)
[version: 1.2.23, 2024-12-04T09:33:00.998Z, pid: 15139] > git ls-remote --get-url origin - COMPLETED (19ms)
[version: 1.2.23, 2024-12-04T09:33:01.000Z, pid: 15143] > git branch - COMPLETED (20ms)
[version: 1.2.23, 2024-12-04T09:33:01.002Z, pid: 15148] > git log HEAD --pretty=format:%H%n%an%n%ar%nrefNames:%D%nmessage:%B -z -n 3 - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:01.004Z, pid: 15150] > git rev-list --count HEAD - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:01.069Z, pid: 15148] > git log HEAD --pretty=format:%H%n%an%n%ar%nrefNames:%D%nmessage:%B -z -n 3 - COMPLETED (69ms)
[version: 1.2.23, 2024-12-04T09:33:01.077Z, pid: 15150] > git rev-list --count HEAD - COMPLETED (75ms)
[version: 1.2.23, 2024-12-04T09:33:01.080Z, pid: 15154] > dvc exp show --rev 323625e9126eede2c396698674499be60d13691c --rev d4e1ca3846b824073368b4e543ab6cb0b2e15fcd --rev 3eaa203b11996ea51968ca6172ffafc440382852 --json - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:01.527Z, pid: 15123] > dvc config studio.token - COMPLETED (556ms)
[version: 1.2.23, 2024-12-04T09:33:01.527Z, pid: 15125] > dvc config studio.offline - COMPLETED (556ms)
[version: 1.2.23, 2024-12-04T09:33:01.528Z, pid: 15158] > dvc config studio.url - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:01.717Z, pid: 15137] > dvc dag --md - COMPLETED (740ms)
[version: 1.2.23, 2024-12-04T09:33:01.718Z, pid: 15162] > dvc stage list - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:01.745Z, pid: 15145] > git ls-remote origin refs/exps/* - COMPLETED (764ms)
[version: 1.2.23, 2024-12-04T09:33:01.757Z, pid: 15158] > dvc config studio.url - COMPLETED (230ms)
[version: 1.2.23, 2024-12-04T09:33:02.023Z, pid: 15162] > dvc stage list - COMPLETED (305ms)
[version: 1.2.23, 2024-12-04T09:33:02.033Z, pid: 15154] > dvc exp show --rev 323625e9126eede2c396698674499be60d13691c --rev d4e1ca3846b824073368b4e543ab6cb0b2e15fcd --rev 3eaa203b11996ea51968ca6172ffafc440382852 --json - COMPLETED (955ms)
[version: 1.2.23, 2024-12-04T09:33:12.894Z, pid: 15164] > git branch - INITIALIZED
[version: 1.2.23, 2024-12-04T09:33:12.894Z, pid: 15166] > git ls-remote origin refs/exps/* - INITIALIZED

@mattseddon
Copy link
Member

Hi @bartvanerp,

Can you please run the following commands in your terminal and report how long they take to run:

dvc exp show --show-json
dvc data status --granular --unchanged --json
dvc plots diff -o <TEMP_DIR> --split --show-json (substitute <TEMP_DIR> for a path on your machine.

Also, please provide the output of dvc version.

Thanks,

@bartvanerp
Copy link
Author

Hi @mattseddon, thanks for the reply. I ran the following commands (I changed --show-json to --json as the former was not supported) and received the following timings

vc exp show --json                             # 0.800 seconds
dvc data status --granular --unchanged --json  # 0.478 seconds
dvc plots diff -o <TEMP_DIR> --split --json    # 0.669 seconds

My DVC version currently is

>> dvc --version
3.58.0

Not sure whether it matters, but I am running everything on the M3 Pro chip.

@mattseddon
Copy link
Member

Is there anything useful shown in the developer tools:

Image

(try filtering by dvc if there is a lot in there)

@bartvanerp
Copy link
Author

I get the following log in the developer tools panel
Image
It did complain about a file located at /Users/bartvanerp/.vscode/extensions/applicationinsights.json. It only seemed to complain when enabling DVC. For other extensions it did not throw such a warning. The file requested was not present on my machine. Creating an empty ({}) file in the respective location got rid of the warning, but did not resolve the unresponsiveness issue.

@mattseddon
Copy link
Member

Can you try disabling telemetry by following this guide, restart VS Code and let me know what happens?

@mattseddon mattseddon self-assigned this Dec 7, 2024
@mattseddon mattseddon added bug Something isn't working and removed triage priority-p1 Regular product backlog labels Dec 10, 2024
@bartvanerp
Copy link
Author

Hi @mattseddon, apologies for the late response but I have been traveling over the past couple of days.

I disabled telemetry and updated to the latest version, but still the issue unfortunately persists.
Image

@mattseddon
Copy link
Member

Can you give me some more information?

  • How many params/metrics are in your experiments table and how many experiments?
  • How many files are tracked in the project?
  • How many plots do you have?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance
Projects
None yet
Development

No branches or pull requests

3 participants