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

YAML server crashes when monitoring temporary files #931

Open
quisido opened this issue Aug 30, 2024 · 2 comments
Open

YAML server crashes when monitoring temporary files #931

quisido opened this issue Aug 30, 2024 · 2 comments

Comments

@quisido
Copy link

quisido commented Aug 30, 2024

When running unit tests, my YAML server keeps crashing. Logs show that it's trying to watch temporary files.

true
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOENT: no such file or directory, open 'c:\...\coverage\.tmp\coverage-3006.json'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'c:\\...\\coverage\\.tmp\\coverage-3006.json'
}

Node.js v20.9.0
[Error - 3:38:34 PM] Server process exited with code 1.
[Error - 3:38:34 PM] The Cloud Code Yaml Support server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

The VS Code settings set "Yaml File Matcher" to **/*.yaml, so I don't know why .json is being watched or how to denylist it.

@glouischandra
Copy link
Collaborator

@quisido Hello, can you send us a minimal repro in the form of some really simple code/unit test setup so we can have parity to repro it.

@quisido
Copy link
Author

quisido commented Oct 2, 2024

Unlikely. This was a month ago. I didn't recall which tests I was running at that time. If I see it again, I'll post back, but I think the solution not to watch non-YAML or temporary files still applies and is needed.

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

No branches or pull requests

3 participants