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

Intermittent complete loss of functionality #375

Closed
4 tasks done
pierznewton-john opened this issue May 7, 2024 · 3 comments · Fixed by #376
Closed
4 tasks done

Intermittent complete loss of functionality #375

pierznewton-john opened this issue May 7, 2024 · 3 comments · Fixed by #376
Labels
p5-urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)

Comments

@pierznewton-john
Copy link

Describe the bug

Sometimes when a test times out, or under other circumstances which are not clear, the icons to allow you to run a test disappear and the whole extension has to be restarted.

Reproduction

I can only say that this was not an issue in 0.4.x, and that it occurs intermittently but regularly enough to make using the extension difficult. Timeouts while debugging produce the problem frequently but not every time. I understand you want a minimum reproducible example, but I am filing this for your awareness anyway as it is a bit of a showstopper for us. We are suing vitest in an nx monorepo for further background.

Output

[INFO 09:30:32] [v0.10.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 09:30:32] [API] Running Vitest: v1.5.0 (vitest.workspace.ts)
[INFO 09:30:32] [API] Starting Vitest process with Node.js: /Users/pierz.newton-john/.nvm/versions/node/v20.12.2/bin/node
[Worker] �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
[Worker]  Vitest  "cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir/vitest"
[INFO 09:30:33] [API] Vitest process 87860 created
[INFO 09:30:33] [API] Collecting tests: libs/core-lib/src/integration-tests/tests/migration.spec.ts
[Worker] (node:87860) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
[INFO 09:30:41] [DEBUG] Starting debugging on localhost:9229
[INFO 09:30:41] Running 1 file(s) with name pattern: ^\s?migration should make a patch the 'latest release' if it patches the latest non-patch version$
[Worker] Debugger listening on ws://127.0.0.1:9229/5789b622-eec6-4d59-945b-a2d1e641581e
For help, see: https://nodejs.org/en/docs/inspector
[Worker] Debugger attached.
[INFO 09:30:41] [DEBUG] Debugging started
[Worker] (node:87860) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
[Worker] Collecting tests due to file changes: libs/core-lib/src/lib/metadata/schema.ts
[Worker] Collecting tests due to file changes: libs/core-lib/src/integration-tests/tests/migration.spec.ts
[Worker] (node:87860) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
[Worker] Collecting tests due to file changes: libs/core-api-types/src/lib/coreapi.ts
[Worker] Collecting tests due to file changes: libs/core-lib/src/integration-tests/tests/migration.spec.ts
[INFO 10:00:39] [API] Vitest process 87860 closed successfully
[INFO 10:00:39] [API] Running Vitest: v1.5.0 (vitest.workspace.ts)
[INFO 10:00:39] [API] Starting Vitest process with Node.js: /Users/pierz.newton-john/.nvm/versions/node/v20.12.2/bin/node
[Worker] �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
[Worker]  Vitest  "cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir/vitest"
[INFO 10:00:40] [API] Vitest process 89493 created
[INFO 10:00:42] [API] Collecting tests: libs/core-lib/src/integration-tests/tests/migration.spec.ts
[Worker] (node:89493) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
[INFO 10:01:01] Running 1 file(s) with name pattern: ^\s?migration contexts should retain schemas correctly$
[Worker] (node:89493) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
[INFO 10:02:36] [DEBUG] Starting debugging on localhost:9229
[INFO 10:02:36] Running 1 file(s) with name pattern: ^\s?migration contexts should retain schemas correctly$
[Worker] Debugger listening on ws://127.0.0.1:9229/60ed52f3-d10f-442c-be07-d2effdf7f650
For help, see: https://nodejs.org/en/docs/inspector
[Worker] Debugger attached.
[INFO 10:02:36] [DEBUG] Debugging started
[Worker] (node:89493) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
[Worker] Collecting tests due to file changes: libs/core-lib/src/integration-tests/tests/migration.spec.ts
[Worker] (node:89493) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)

Version

0.10.0

Validations

@ffMathy
Copy link
Collaborator

ffMathy commented May 7, 2024

Highly related (if not the same): #374

@sheremet-va sheremet-va added p5-urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) and removed pending triage labels May 7, 2024
@pierznewton-john
Copy link
Author

Appreciate the rapid response. Alas I am still experiencing this with the latest release. Hard to pin down a pattern to when it happens, but it's a lot, and not always associated with debugging.

@sheremet-va
Copy link
Member

I would need some kind of reproduction then,

@github-actions github-actions bot locked and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p5-urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants