Merge pull request #543 from kaitranntt/kai/feat/538-stream-d-hardening

chore(hardening): add debt inventory and async I/O kickoff (stream D)
This commit is contained in:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-02-12 16:21:18 +07:00
commit a2520d2ed8
9 files changed
+1152 -3

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ export async function parseProjectDirectory(projectDir: string): Promise<RawUsag
const projectPath = path.basename(projectDir).replace(/-/g, '/');
try {
const files = fs.readdirSync(projectDir);
const files = await fs.promises.readdir(projectDir);
const jsonlFiles = files.filter((f) => f.endsWith('.jsonl'));
// Parse files sequentially within a project to avoid too many open handles