Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix(build): pin LF for routeTree.gen.ts so Windows release builds stay clean (#5588)

Zayn Jarvis9d9bc85e1f6a
diff --git a/.gitattributes b/.gitattributes
index 41e30e234..945fd15fb 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -4,3 +4,7 @@
examples/claude-code-memory-plugin/scripts/shared/*.mjs linguist-generated=true
examples/codex-memory-plugin/scripts/shared/*.mjs linguist-generated=true
agent-plugins/servers/shared/*.mjs linguist-generated=true
+
+# Regenerated by the TanStack Router plugin during every Studio build, which
+# writes LF. Pin LF so Windows checkouts (core.autocrlf=true) stay clean.
+web-studio/src/routeTree.gen.ts text eol=lf
diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.yml
index bf5439cee..f673a3a0b 100644
--- a/.github/workflows/_build.yml
+++ b/.github/workflows/_build.yml
@@ -275,6 +275,16 @@ jobs:
- name: Build package (Wheel Only)
run: uv build --wheel
+ - name: Check bundled ov version matches wheel
+ shell: bash
+ run: |
+ WHEEL_VERSION=$(ls dist/*.whl | head -n 1 | xargs basename | cut -d- -f2)
+ if [[ "$WHEEL_VERSION" != "$OPENVIKING_VERSION" ]]; then
+ echo "::error::ov binary was built as $OPENVIKING_VERSION but the wheel is $WHEEL_VERSION"
+ exit 1
+ fi
+ echo "ov binary and wheel both use $WHEEL_VERSION"
+
- name: Install patchelf (Linux)
run: |
PATCHELF_VERSION=0.18.0
@@ -520,6 +530,16 @@ jobs:
- name: Build package (Wheel Only)
run: uv build --wheel
+ - name: Check bundled ov version matches wheel
+ shell: bash
+ run: |
+ WHEEL_VERSION=$(ls dist/*.whl | head -n 1 | xargs basename | cut -d- -f2)
+ if [[ "$WHEEL_VERSION" != "$OPENVIKING_VERSION" ]]; then
+ echo "::error::ov binary was built as $OPENVIKING_VERSION but the wheel is $WHEEL_VERSION"
+ exit 1
+ fi
+ echo "ov binary and wheel both use $WHEEL_VERSION"
+
- name: Smoke test built wheel (macOS)
if: runner.os == 'macOS'
shell: bash