Skip to content

Ignore file not found errors in temp state#8720

Open
alexr00 wants to merge 1 commit intomainfrom
alexr00/developing-bat
Open

Ignore file not found errors in temp state#8720
alexr00 wants to merge 1 commit intomainfrom
alexr00/developing-bat

Conversation

@alexr00
Copy link
Copy Markdown
Member

@alexr00 alexr00 commented May 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 4, 2026 10:58
@alexr00 alexr00 self-assigned this May 4, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates temporary state initialization to avoid noisy logging when the temp directory hasn’t been created yet (a common “first run” scenario), while still surfacing unexpected filesystem failures.

Changes:

  • Suppress logging for vscode.FileSystemError with code === 'FileNotFound' when deleting the temp state directory during initialization.
  • Preserve existing logging behavior for all other deletion failures.
Show a summary per file
File Description
src/common/temporaryState.ts Ignores FileNotFound during temp directory cleanup to prevent spurious init error logs.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

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

Successfully merging this pull request may close these issues.

3 participants