Prompt caching improvements, debug #88
Annotations
7 errors and 1 warning
Run tests:
node/test/driver.ts#L148
Error: display buffer content does not match text:
"Stopped (end_turn) [input: 0, output: 0]"
displayBuffer content:
________
╱ ╲
╱ ╱
╱ ╱
╲__╱__╱__╱
❯ node/test/driver.ts:148:15
❯ Module.pollUntil node/utils/async.ts:61:59
❯ node/magenta.spec.ts:28:7
❯ node/test/preamble.ts:149:9
❯ Module.withMockClient node/providers/mock.ts:112:5
❯ node/test/preamble.ts:131:5
❯ withNvimProcess node/test/preamble.ts:60:5
❯ Module.withDriver node/test/preamble.ts:124:10
❯ node/magenta.spec.ts:8:5
|
Run tests:
node/test/driver.ts#L114
AssertionError: ! Unable to find text after line 0 in displayBuffer: expected '\n ________\n ╱ ╲\n ╱ …' to deeply equal '# context:\nfile: `./node/test/fixtur…'
- Expected
+ Received
- # context:
- file: `./node/test/fixtures/poem.txt`
+
+ ________
+ ╱ ╲
+ ╱ ╱
+ ╱ ╱
+ ╲__╱__╱__╱
+
+
❯ NvimDriver.assertDisplayBufferContains node/test/driver.ts:114:45
❯ node/magenta.spec.ts:134:7
❯ node/test/preamble.ts:149:9
❯ Module.withMockClient node/providers/mock.ts:112:5
❯ node/test/preamble.ts:131:5
❯ withNvimProcess node/test/preamble.ts:60:5
❯ Module.withDriver node/test/preamble.ts:124:10
❯ node/magenta.spec.ts:128:5
|
Run tests:
node/test/driver.ts#L114
AssertionError: ! Unable to find text after line 0 in displayBuffer: expected '\n ________\n ╱ ╲\n ╱ …' to deeply equal '# context:\nfile: `./node/test/fixtur…'
- Expected
+ Received
- # context:
- file: `./node/test/fixtures/poem.txt`
- file: `./node/test/fixtures/poem 3.txt`
+
+ ________
+ ╱ ╲
+ ╱ ╱
+ ╱ ╱
+ ╲__╱__╱__╱
+
+
❯ NvimDriver.assertDisplayBufferContains node/test/driver.ts:114:45
❯ node/magenta.spec.ts:180:7
❯ node/test/preamble.ts:149:9
❯ Module.withMockClient node/providers/mock.ts:112:5
❯ node/test/preamble.ts:131:5
❯ withNvimProcess node/test/preamble.ts:60:5
❯ Module.withDriver node/test/preamble.ts:124:10
❯ node/magenta.spec.ts:174:5
|
Run tests:
node/chat/chat.spec.ts#L38
AssertionError: initial render of chat works: expected [ '', ' ________', …(6) ] to deeply equal [ Array(1) ]
- Expected
+ Received
Array [
- "Stopped (end_turn) [input: 0, output: 0]",
+ "",
+ " ________",
+ " ╱ ╲",
+ " ╱ ╱",
+ "╱ ╱",
+ "╲__╱__╱__╱",
+ "",
+ "",
]
❯ node/chat/chat.spec.ts:38:9
❯ node/test/preamble.ts:116:7
❯ withNvimProcess node/test/preamble.ts:60:5
❯ Module.withNvimClient node/test/preamble.ts:67:10
❯ node/chat/chat.spec.ts:11:5
|
Run tests:
node/chat/chat.spec.ts#L147
AssertionError: initial render of chat works: expected [ '', ' ________', …(6) ] to deeply equal [ Array(1) ]
- Expected
+ Received
Array [
- "Stopped (end_turn) [input: 0, output: 0]",
+ "",
+ " ________",
+ " ╱ ╲",
+ " ╱ ╱",
+ "╱ ╱",
+ "╲__╱__╱__╱",
+ "",
+ "",
]
❯ node/chat/chat.spec.ts:147:9
❯ node/test/preamble.ts:116:7
❯ withNvimProcess node/test/preamble.ts:60:5
❯ Module.withNvimClient node/test/preamble.ts:67:10
❯ node/chat/chat.spec.ts:120:5
|
Run tests:
node/test/preamble.ts#L54
Error: socket /tmp/magenta-test.sock not ready: ENOENT: no such file or directory, access '/tmp/magenta-test.sock'
❯ pollUntil.timeout node/test/preamble.ts:54:17
❯ Module.pollUntil node/utils/async.ts:61:59
❯ withNvimProcess node/test/preamble.ts:48:5
❯ Module.withDriver node/test/preamble.ts:124:10
❯ node/tools/diff.spec.ts:280:5
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading