Skip to content

TS Server stats files in ATA cache even if ATA is not being used #52705

@mjbvz

Description

@mjbvz

Related to #52695

Bug Report

🔎 Search Terms

  • fs.stat
  • statSync
  • performance

Problem

Create a new project that has simple tsconfig and open a single .ts file with the contents:

import fs from 'fs';

After opening this project in VS Code, I notice a large number of fs.stat calls into /Users/matb/Library/Caches/typescript/5.0/, where automatically acquired types are stored. However according to the TS Server log, none of these files end up in the project

Here's a log of all the file stat calls when opening this one file: tsSyncCalls.txt

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions