Merge origin/master into worktree/remove-sdk-project-toolchain

# Conflicts:
#	THIRD_PARTY_NOTICES.md
This commit is contained in:
Tianyi Cui
2026-08-11 15:08:18 +08:00
181 changed files with 3919 additions and 1053 deletions
@@ -4,9 +4,9 @@ import {
mkdirSync,
mkdtempSync,
readFileSync,
rmSync,
writeFileSync,
} from 'node:fs'
import { rm } from 'node:fs/promises'
import { tmpdir } from 'node:os'
import { delimiter, join, resolve } from 'node:path'
import { fileURLToPath } from 'node:url'
@@ -41,7 +41,7 @@ afterEach(async () => {
await Promise.all(contexts.splice(0).map(ctx => ctx.fiber.dispose()))
await Promise.all(fixtures.splice(0).map(fixture => fixture.close()))
for (const root of roots.splice(0)) {
rmSync(root, { recursive: true, force: true, maxRetries: 5, retryDelay: 100 })
await rm(root, { recursive: true, force: true, maxRetries: 10, retryDelay: 100 })
}
})