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

window activity API is active although there is no any user interactions #237386

Open
akosyakov opened this issue Jan 7, 2025 · 1 comment
Open
Assignees

Comments

@akosyakov
Copy link
Contributor

akosyakov commented Jan 7, 2025

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

Version: 1.96.0
Commit: 138f619
Date: 2024-12-11T02:29:09.626Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0

I'm not sure what's triggering it. It appears that long-running progress operations (around 15 seconds) from some extensions can trigger it. For Gitpod, we don't really care about these since our minimum timeout is 30 minutes—we're only care about actual user interactions, i.e. keyboard/mouse events from DOM.

@connor4312 Would it be possible to add a machine setting to disable any other activity tracking but from DOM? Currently, VS Code can't distinguish between user-triggered and automatic progress events, which causes false positives.

@akosyakov
Copy link
Contributor Author

akosyakov commented Jan 7, 2025

just if it would be helpful list of extensions which I had installed

## Extension Activation Stats

| Extension                           | Eager | Load Code | Call Activate | Finish Activate | Event                                                                                                                              | By                                  |
| ----------------------------------- | ----- | --------- | ------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| bufbuild.vscode-buf                 | true  | 87        | 13            | 18              | workspaceContains:**/*.proto,**/buf.yaml,**/buf.lock,**/buf.mod,**/buf.work,**/buf.gen,**/buf.gen.yaml,**/buf.work.yaml            | bufbuild.vscode-buf                 |
| github.vscode-github-actions        | true  | 84        | 1             | 4374            | workspaceContains:**/.github/workflows/**                                                                                          | github.vscode-github-actions        |
| ms-vscode-remote.remote-containers  | true  | 79        | 0             | 8               | workspaceContains:.devcontainer/devcontainer.json,.devcontainer.json                                                               | ms-vscode-remote.remote-containers  |
| ms-vscode.extension-test-runner     | true  | 18        | 0             | 32              | workspaceContains:**/.vscode-test.{js,cjs,mjs}                                                                                     | ms-vscode.extension-test-runner     |
| vitest.explorer                     | true  | 24        | 18            | 3266            | workspaceContains:**/*{vite,vitest}*.config*.{ts,js,mjs,cjs,cts,mts},**/*vitest.{workspace,projects}*.{ts,js,mjs,cjs,cts,mts,json} | vitest.explorer                     |
| vscode.configuration-editing        | false | 8         | 0             | 4               | onLanguage:jsonc                                                                                                                   | vscode.configuration-editing        |
| vscode.debug-auto-launch            | false | 4         | 0             | 347             | onStartupFinished                                                                                                                  | vscode.debug-auto-launch            |
| vscode.emmet                        | false | 19        | 12            | 0               | onLanguage                                                                                                                         | vscode.emmet                        |
| vscode.extension-editing            | false | 20        | 1             | 0               | onLanguage:markdown                                                                                                                | vscode.extension-editing            |
| vscode.git                          | false | 62        | 6             | 40              | *                                                                                                                                  | vscode.git                          |
| vscode.git-base                     | false | 684       | 1             | 17              | *                                                                                                                                  | vscode.git                          |
| vscode.github                       | false | 82        | 1             | 9               | *                                                                                                                                  | vscode.github                       |
| vscode.github-authentication        | false | 14        | 2             | 2               | onAuthenticationRequest:github                                                                                                     | vscode.github-authentication        |
| vscode.json-language-features       | false | 53        | 1             | 570             | onLanguage:jsonc                                                                                                                   | vscode.json-language-features       |
| vscode.markdown-language-features   | false | 110       | 10            | 193             | onLanguage:markdown                                                                                                                | vscode.markdown-language-features   |
| vscode.markdown-math                | false | 9         | 0             | 0               | api                                                                                                                                | vscode.markdown-language-features   |
| vscode.merge-conflict               | false | 30        | 2             | 349             | onStartupFinished                                                                                                                  | vscode.merge-conflict               |
| vscode.tunnel-forwarding            | false | 804       | 0             | 1               | onTunnel                                                                                                                           | vscode.tunnel-forwarding            |
| vscode.typescript-language-features | false | 100       | 2             | 9               | onLanguage:jsonc                                                                                                                   | vscode.typescript-language-features |
| akosyakov.gitpod-monitor            | false | 717       | 8             | 9               | *                                                                                                                                  | akosyakov.gitpod-monitor            |
| akosyakov.myprompts                 | false | 30        | 0             | 349             | onStartupFinished                                                                                                                  | akosyakov.myprompts                 |
| bradlc.vscode-tailwindcss           | false | 87        | 1             | 1031            | onStartupFinished                                                                                                                  | bradlc.vscode-tailwindcss           |
| chrmarti.regex                      | false | 15        | 1             | 0               | onLanguage:typescript                                                                                                              | chrmarti.regex                      |
| CodeSandbox-io.codesandbox-projects | false | 64        | 0             | 0               | onResolveRemoteAuthority:ssh-remote                                                                                                | CodeSandbox-io.codesandbox-projects |
| dbaeumer.vscode-eslint              | false | 134       | 7             | 342             | onStartupFinished                                                                                                                  | dbaeumer.vscode-eslint              |
| eamodio.gitlens                     | false | 313       | 27            | 728             | onStartupFinished                                                                                                                  | eamodio.gitlens                     |
| esbenp.prettier-vscode              | false | 373       | 7             | 312             | onStartupFinished                                                                                                                  | esbenp.prettier-vscode              |
| GitHub.copilot                      | false | 743       | 18            | 2322            | onStartupFinished                                                                                                                  | GitHub.copilot                      |
| GitHub.copilot-chat                 | false | 1270      | 285           | 3252            | onStartupFinished                                                                                                                  | GitHub.copilot-chat                 |
| GitHub.vscode-pull-request-github   | false | 86        | 0             | 1290            | onStartupFinished                                                                                                                  | GitHub.vscode-pull-request-github   |
| gitpod.gitpod-desktop               | false | 67        | 0             | 0               | onResolveRemoteAuthority:ssh-remote                                                                                                | gitpod.gitpod-desktop               |
| gitpod.gitpod-flex                  | false | 63        | 0             | 21              | onResolveRemoteAuthority:ssh-remote                                                                                                | gitpod.gitpod-flex                  |
| gitpod.gitpod-flex-remote           | false | 720       | 1             | 8               | *                                                                                                                                  | gitpod.gitpod-flex-remote           |
| humao.rest-client                   | false | 240       | 1             | 43              | onLanguage:markdown                                                                                                                | humao.rest-client                   |
| ms-python.debugpy                   | false | 39        | 3             | 7               | onLanguage:python                                                                                                                  | ms-python.debugpy                   |
| ms-python.python                    | false | 174       | 6             | 566             | onLanguage:python                                                                                                                  | ms-python.debugpy                   |
| ms-python.vscode-pylance            | false | 288       | 0             | 703             | onLanguage:python                                                                                                                  | ms-python.vscode-pylance            |
| ms-toolsai.jupyter                  | false | 175       | 120           | 354             | onLanguage:python                                                                                                                  | ms-toolsai.jupyter                  |
| ms-toolsai.jupyter-renderers        | false | 61        | 0             | 0               | api                                                                                                                                | ms-toolsai.jupyter                  |
| ms-vscode-remote.remote-ssh         | false | 68        | 2             | 2               | onResolveRemoteAuthority:ssh-remote                                                                                                | ms-vscode-remote.remote-ssh         |
| ms-vscode.remote-explorer           | false | 2         | 2             | 0               | onCommand:remote-internal.setActiveFolders                                                                                         | ms-vscode.remote-explorer           |
| ms-vsliveshare.vsliveshare          | false | 294       | 1             | 1545            | api                                                                                                                                | eamodio.gitlens                     |
| sourcegraph.cody-ai                 | false | 682       | 10            | 236             | onLanguage  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants