Commit 65ca8dd
Fix Node.js Windows CI test failure
Split dependent SQL tool calls into separate CAPI turns in the
session_fs_sqlite snapshot. The CREATE TABLE and INSERT were previously
returned as separate choices in a single response, causing the CLI on
Windows to execute them concurrently. Since INSERT depends on CREATE
TABLE completing first, this produced a 'no such table: items' error.
The fix restructures the snapshot into 3 CAPI turns: first executing
report_intent + CREATE TABLE, then INSERT, then the final response.
This ensures CREATE TABLE always completes before INSERT is attempted.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0ef4ce9 commit 65ca8dd
1 file changed
Lines changed: 7 additions & 14 deletions
File tree
- test/snapshots/session_fs_sqlite
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
| |||
49 | 40 | | |
50 | 41 | | |
51 | 42 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 43 | | |
58 | 44 | | |
59 | 45 | | |
60 | 46 | | |
61 | 47 | | |
62 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
63 | 56 | | |
64 | 57 | | |
65 | 58 | | |
| |||
0 commit comments