perf(mid): resolve no-await-in-loop in five feature groups (#5774)

Clears the no-await-in-loop diagnostics in analysis, platform, project-tree, http-client and debugger and turns the rule on there. Independent directory walks (Reformat/cleanup targets, batches of 8; the result is sorted as before), Spring config reads (parsed in candidate order, so the first file with a value still wins) and Python package __init__.py creation now run in parallel; every other loop is intentionally sequential and carries a documented suppression.

Co-authored-by: akbar1214 <[email protected]>
Цей коміт міститься в:
Akbar Husain authored and GitHub committed 2026-11-25 14:17:57 +08:00
1 джерело 9ecef0ef0f
коміт 4a18d4d205
40 files changed
+142 -21

No files matched your search

+1
Переглянути файл
@@ -73,6 +73,7 @@ export async function moduleHasKotlinSources(cwd: string): Promise<boolean> {
const pending = [join(cwd, "src")];
while (pending.length) {
const path = pending.pop()!;
// oxlint-disable-next-line no-await-in-loop -- source-set traversal uses a shared pending stack and returns as soon as a .kt file is found
const entries = await call(commands.fsReadDir(path)).catch(() => []);
for (const entry of entries) {
if (entry.excluded) continue;