altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

fix: altimate-dbt commands fail with hardcoded CI path in published binary

Open suryaiyer95 opened this issue 8 months ago • 0 comments

Problem

altimate-dbt build (and other commands that use the Python bridge) fail in all published releases with:

can't open file '/home/runner/work/altimate-code/altimate-code/node_modules/.bun/[email protected]/node_modules/python-bridge/node_python_bridge.py': [Errno 2] No such file or directory

The build step bakes a compile-time constant path into the bundle that only exists on the CI runner. This affects every user.

Impact

All altimate-dbt commands that use the Python bridge are broken in published releases since PR #201.

Fix

Patch the bundled __dirname to resolve at runtime and ship node_python_bridge.py alongside the dist.

suryaiyer95 avatar Mar 26 '26 00:03 suryaiyer95