Skip to content

fix(cli): code-pack must open temporal store for embeddings staging#121

Merged
theagenticguy merged 1 commit into
mainfrom
fix/code-pack-open-temporal
May 17, 2026
Merged

fix(cli): code-pack must open temporal store for embeddings staging#121
theagenticguy merged 1 commit into
mainfrom
fix/code-pack-open-temporal

Conversation

@theagenticguy
Copy link
Copy Markdown
Owner

Summary

The release.yml post-merge workflow's Generate code-pack step failed with DuckDbStore is not open — call open() first. After the embeddings sidecar moved to staging through temporal.exportEmbeddingsToParquet, code-pack now needs the temporal view open — but the call site only opened composed.graph.

Fix

One line: await composed.temporal.open() after the existing composed.graph.open() in runCodePack. Verified locally: codehub code-pack runs end-to-end on this repo.

Other CLI commands that use openStore directly (group, scan, augment, ingest-sarif) only touch store.graph — they don't need temporal. openStoreForCommand in open-store.ts already opens both views, so consumers routed through that path were unaffected.

Test plan

  • mise run check exit 0
  • codehub code-pack runs end-to-end on this repo (8 BOM items written)
  • CI on this PR
  • After merge, release-please will re-trigger and the post-merge release.yml should green-light

🤖 Generated with Claude Code

@theagenticguy theagenticguy merged commit f609542 into main May 17, 2026
41 of 45 checks passed
@theagenticguy theagenticguy deleted the fix/code-pack-open-temporal branch May 17, 2026 00:13
@github-actions github-actions Bot mentioned this pull request May 17, 2026
theagenticguy added a commit that referenced this pull request May 17, 2026
🤖 Automated release via release-please
---


<details><summary>cli: 0.5.1</summary>

##
[0.5.1](cli-v0.5.0...cli-v0.5.1)
(2026-05-17)


### Bug Fixes

* **cli:** code-pack must open temporal store for embeddings staging
([#121](#121))
([f609542](f609542))
</details>

<details><summary>root: 0.6.1</summary>

##
[0.6.1](root-v0.6.0...root-v0.6.1)
(2026-05-17)


### Bug Fixes

* **cli:** code-pack must open temporal store for embeddings staging
([#121](#121))
([f609542](f609542))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Laith Al-Saadoon <alsaadoonlaith@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant