Skip to content

Commit 4fa6d21

Browse files
committed
fix(cli): code-pack must open temporal store for embeddings staging
1 parent e20dbb2 commit 4fa6d21

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/cli/src/commands/code-pack.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ async function runPackEngine(repoPath: string, args: CodePackArgs): Promise<Code
140140
? await (async () => {
141141
const composed = await openStore({ path: dbPath, readOnly: true });
142142
await composed.graph.open();
143+
// Pack stages embeddings through `temporal.exportEmbeddingsToParquet`,
144+
// so the temporal DuckDB also needs an open connection — the graph
145+
// view alone is not enough.
146+
await composed.temporal.open();
143147
return composed;
144148
})()
145149
: undefined;

0 commit comments

Comments
 (0)