Remove debug test artifacts and use consistent byte tracking in processChunk
- Delete spawned2.txt and tmp-test.cmd (debug/test leftovers from manual process spawn testing) - Use limitedChunk.nextBytes uniformly in both truncate and non-truncate paths in GitCore processChunk
This commit is contained in:
3 files changed
+1
-6
No files matched your search
@@ -1,2 +0,0 @@
|
||||
started
|
||||
started
|
||||
@@ -532,7 +532,7 @@ const collectOutput = Effect.fn("collectOutput")(function* <E>(
|
||||
}
|
||||
|
||||
const chunkToDecode = truncateOutputAtMaxBytes ? limitedChunk.chunk : chunk;
|
||||
bytes = truncateOutputAtMaxBytes ? limitedChunk.nextBytes : bytes + chunk.byteLength;
|
||||
bytes = limitedChunk.nextBytes;
|
||||
truncated = truncateOutputAtMaxBytes && limitedChunk.truncated;
|
||||
|
||||
const decoded = decoder.decode(chunkToDecode, { stream: !truncated });
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
echo started >> spawned2.txt
|
||||
|
||||
Reference in new issue
Block a user