Skip to content

fix(control-plane): build local client before production build#2566

Merged
benfrank241 merged 1 commit into
vectorize-io:mainfrom
koriyoshi2041:fix/control-plane-build-client
Jul 7, 2026
Merged

fix(control-plane): build local client before production build#2566
benfrank241 merged 1 commit into
vectorize-io:mainfrom
koriyoshi2041:fix/control-plane-build-client

Conversation

@koriyoshi2041

Copy link
Copy Markdown
Contributor

Fixes #2561.

Problem:

  • The control plane depends on the local TypeScript client via file:../hindsight-clients/typescript.
  • A clean checkout can run npm run build in the control plane before the client dist files exist or match current source.

Fix:

  • Add a prebuild step for the control plane that builds @vectorize-io/hindsight-client first.

Validation:

  • npm run prebuild --workspace=hindsight-control-plane
  • npm run build --workspace=hindsight-control-plane

Risk:

  • Low. This uses the existing client build script and only changes the control-plane build order.

@koriyoshi2041

Copy link
Copy Markdown
Contributor Author

Re-ran the control-plane build path on this branch after syncing with current main:

  • npm run prebuild --workspace=hindsight-control-plane
  • npm run build --workspace=hindsight-control-plane

Both pass locally. The build also regenerated the local TypeScript client first, then completed the Next production build and standalone packaging.

@benfrank241 benfrank241 merged commit 10ed288 into vectorize-io:main Jul 7, 2026
84 checks passed
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.

v0.8.4: hindsight-control-plane 构建失败 — dist/ 未重建导致 RecallRequest 类型缺少 prefer_observations 字段

2 participants