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

Temporary File Not Cleared After Validation #51

Open
kshitij79 opened this issue Aug 16, 2024 · 0 comments
Open

Temporary File Not Cleared After Validation #51

kshitij79 opened this issue Aug 16, 2024 · 0 comments

Comments

@kshitij79
Copy link
Contributor

Bug Report 🐛

The temporary file created for validation purposes is not removed after the validation process is complete. This leads to the file being included in diagnostic checks, which then incorrectly reports issues in the output and logs, even though the file should not exist beyond the validation stage.

Expected Behavior

The temporary file should be cleared automatically after validation, ensuring that it does not contribute to diagnostics or appear in any output logs.

Current Behavior

The temporary file remains on the system after validation, leading to its inclusion in diagnostic checks.

Possible Solution

Ensure that the temporary file is deleted immediately after the validation process is complete.

Steps to Reproduce

  1. Generate a llm suggestion in cto file.
  2. Check the output logs and diagnostics.
  3. Notice that the temporary causes unnecessary diagnostic entries.

Context (Environment)

Application

  • VSCode (All versions)

Detailed Description

Possible Implementation

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