Skip to content

Refactor processFileBlock to accept logger as parameter #3644

Refactor processFileBlock to accept logger as parameter

Refactor processFileBlock to accept logger as parameter #3644

Triggered via push October 8, 2025 22:04
Status Failure
Total duration 5m 18s
Artifacts

ci.yml

on: push
build-and-check
2m 34s
build-and-check
Matrix: test-integration
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
error: expect(received).toHaveBeenCalledTimes(expected): backend/src/__tests__/main-prompt.test.ts#L337
Expected number of calls: 1 Received number of calls: 0 at <anonymous> (/home/runner/work/***/***/backend/src/__***s__/main-prompt.***.ts:337:32)
error: expect(received).toHaveBeenCalledTimes(expected): backend/src/__tests__/main-prompt.test.ts#L337
Expected number of calls: 1 Received number of calls: 0 at <anonymous> (/home/runner/work/***/***/backend/src/__***s__/main-prompt.***.ts:337:32)
error: Internal error for write_file: Missing logger in state: backend/src/tools/handlers/tool/write-file.ts#L123
at handleWriteFile (/home/runner/work/***/***/backend/src/tools/handlers/tool/write-file.ts:123:11) at executeToolCall (/home/runner/work/***/***/backend/src/tools/tool-executor.ts:218:61) at <anonymous> (/home/runner/work/***/***/backend/src/tools/stream-parser.ts:184:38) at onTagEnd (/home/runner/work/***/***/backend/src/tools/stream-parser.ts:127:35) at processToolCallContents (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:157:15) at forEach (1:11) at extractToolsFromBufferAndProcess (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:162:13) at processChunk (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:178:5) at next (1:11) at processStreamWithTags (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:209:12)
error: expect(received).toHaveBeenCalledTimes(expected): backend/src/__tests__/main-prompt.test.ts#L337
Expected number of calls: 1 Received number of calls: 0 at <anonymous> (/home/runner/work/***/***/backend/src/__***s__/main-prompt.***.ts:337:32)
error: expect(received).toHaveBeenCalledTimes(expected): backend/src/__tests__/main-prompt.test.ts#L337
Expected number of calls: 1 Received number of calls: 0 at <anonymous> (/home/runner/work/***/***/backend/src/__***s__/main-prompt.***.ts:337:32)
error: Internal error for write_file: Missing logger in state: backend/src/tools/handlers/tool/write-file.ts#L123
at handleWriteFile (/home/runner/work/***/***/backend/src/tools/handlers/tool/write-file.ts:123:11) at executeToolCall (/home/runner/work/***/***/backend/src/tools/tool-executor.ts:218:61) at <anonymous> (/home/runner/work/***/***/backend/src/tools/stream-parser.ts:184:38) at onTagEnd (/home/runner/work/***/***/backend/src/tools/stream-parser.ts:127:35) at processToolCallContents (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:157:15) at forEach (1:11) at extractToolsFromBufferAndProcess (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:162:13) at processChunk (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:178:5) at next (1:11) at processStreamWithTags (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:209:12)
error: expect(received).toHaveBeenCalledTimes(expected): backend/src/__tests__/main-prompt.test.ts#L337
Expected number of calls: 1 Received number of calls: 0 at <anonymous> (/home/runner/work/***/***/backend/src/__***s__/main-prompt.***.ts:337:32)
error: expect(received).toHaveBeenCalledTimes(expected): backend/src/__tests__/main-prompt.test.ts#L337
Expected number of calls: 1 Received number of calls: 0 at <anonymous> (/home/runner/work/***/***/backend/src/__***s__/main-prompt.***.ts:337:32)
error: Internal error for write_file: Missing logger in state: backend/src/tools/handlers/tool/write-file.ts#L123
at handleWriteFile (/home/runner/work/***/***/backend/src/tools/handlers/tool/write-file.ts:123:11) at executeToolCall (/home/runner/work/***/***/backend/src/tools/tool-executor.ts:218:61) at <anonymous> (/home/runner/work/***/***/backend/src/tools/stream-parser.ts:184:38) at onTagEnd (/home/runner/work/***/***/backend/src/tools/stream-parser.ts:127:35) at processToolCallContents (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:157:15) at forEach (1:11) at extractToolsFromBufferAndProcess (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:162:13) at processChunk (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:178:5) at next (1:11) at processStreamWithTags (/home/runner/work/***/***/backend/src/xml-stream-parser.ts:209:12)
error: expect(received).toHaveBeenCalledTimes(expected): backend/src/__tests__/main-prompt.test.ts#L337
Expected number of calls: 1 Received number of calls: 0 at <anonymous> (/home/runner/work/***/***/backend/src/__***s__/main-prompt.***.ts:337:32)
test-backend
Attempt 4 failed. Reason: Child_process exited with error code 123
test-backend
Attempt 3 failed. Reason: Child_process exited with error code 123
test-backend
Attempt 2 failed. Reason: Child_process exited with error code 123
test-backend
Attempt 1 failed. Reason: Child_process exited with error code 123