From f8f20be4f48315cdaf4bba2dd2fd1f3f5e09e813 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Thu, 5 Mar 2026 16:00:01 +0000 Subject: [PATCH] fix(fshelpers): remove outdated comment about using synchronous rm to avoid XFS metadata corruption --- changelog.md | 6 ++++++ ts/00_commitinfo_data.ts | 2 +- ts/mod_fs/classes.fshelpers.ts | 3 --- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 21e2e91..d3dd682 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-03-05 - 4.2.4 - fix(fshelpers) +remove outdated comment about using synchronous rm to avoid XFS metadata corruption + +- Comment-only change in ts/mod_fs/classes.fshelpers.ts; no runtime or API behavior changes +- Bump patch version from 4.2.3 to 4.2.4 + ## 2026-03-05 - 4.2.3 - fix(compiler) defer unpacking until after all compilations and remove diagnostic filesystem syncs to avoid XFS metadata visibility issues diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 954108c..2e881d3 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsbuild', - version: '4.2.3', + version: '4.2.4', description: 'A tool for compiling TypeScript files using the latest nightly features, offering flexible APIs and a CLI for streamlined development.' } diff --git a/ts/mod_fs/classes.fshelpers.ts b/ts/mod_fs/classes.fshelpers.ts index d161a7b..c317c9f 100644 --- a/ts/mod_fs/classes.fshelpers.ts +++ b/ts/mod_fs/classes.fshelpers.ts @@ -123,9 +123,6 @@ export class FsHelpers { /** * Remove a directory recursively. - * Uses synchronous rm to avoid XFS metadata corruption observed with - * async fs.promises.rm affecting sibling directory entries on the - * libuv thread pool under signal pressure. */ public static async removeDirectory(dirPath: string): Promise { fs.rmSync(dirPath, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });