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:
Cursor Agent committed 2026-04-11 06:04:05 +00:00
1 parent 8d257e2c2e
commit cbe73cb407
3 files changed
+1 -6

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
started
started
+1 -1
View File
@@ -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 });
-3
View File
@@ -1,3 +0,0 @@
@echo off
echo started >> spawned2.txt