From 2b846757176c7138822f1c5690bdb0d8db490274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Tue, 24 Feb 2026 16:54:32 +0100 Subject: [PATCH 1/2] fix(core): remove unused getTerminalOutput from BatchProcess --- .../nx/src/tasks-runner/running-tasks/batch-process.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/nx/src/tasks-runner/running-tasks/batch-process.ts b/packages/nx/src/tasks-runner/running-tasks/batch-process.ts index 9245769e37c..79933445eb0 100644 --- a/packages/nx/src/tasks-runner/running-tasks/batch-process.ts +++ b/packages/nx/src/tasks-runner/running-tasks/batch-process.ts @@ -14,8 +14,6 @@ export class BatchProcess { (task: string, result: TaskResult) => void > = []; private outputCallbacks: Array<(output: string) => void> = []; - private terminalOutputChunks: string[] = []; - private joinedTerminalOutput: string | undefined; constructor( private childProcess: ChildProcess, @@ -59,7 +57,6 @@ export class BatchProcess { if (this.childProcess.stdout) { this.childProcess.stdout.on('data', (chunk) => { const output = chunk.toString(); - this.terminalOutputChunks.push(output); // Maintain current terminal output behavior process.stdout.write(chunk); @@ -75,7 +72,6 @@ export class BatchProcess { if (this.childProcess.stderr) { this.childProcess.stderr.on('data', (chunk) => { const output = chunk.toString(); - this.terminalOutputChunks.push(output); // Maintain current terminal output behavior process.stderr.write(chunk); @@ -134,9 +130,4 @@ export class BatchProcess { this.childProcess.kill(signal); } } - - getTerminalOutput(): string { - this.joinedTerminalOutput ??= this.terminalOutputChunks.join(''); - return this.joinedTerminalOutput; - } } From 8fb55d9be3302c684ce148e35b8a87fe488bb495 Mon Sep 17 00:00:00 2001 From: "nx-cloud[bot]" <71083854+nx-cloud[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 16:51:28 +0000 Subject: [PATCH 2/2] fix(core): remove unused getTerminalOutput from BatchProcess [Self-Healing CI Rerun]