Commit 35c19fc
committed
fix(build): delegate build-server and build-sdk to scripts/build.py
The `build-server` and `build-sdk` Make targets ran a raw `uv build`
in the package directory. Both packages declare `agent_control_models`,
`agent_control_engine`, and `agent_control_telemetry` as vendored
packages in their hatch wheel config. Without the pre-build copy that
`scripts/build.py` performs, hatch silently produces a wheel whose
declared package directories are empty on disk:
$ unzip -l dist/agent_control_server-*.whl | grep telemetry/
(no match)
The resulting wheel installs cleanly via pip but crashes at startup
because the bundled imports are missing:
agent-control-migrate: No module named 'agent_control_telemetry'
Delegate `build-models`, `build-server`, and `build-sdk` to the
canonical `scripts/build.py` entry points so that `make build-server`
and `make build-sdk` produce the same wheels as the publish pipeline
runs in CI. Verified: rebuilt wheels now contain
`agent_control_models`, `agent_control_engine`, and
`agent_control_telemetry` under their respective package directories.
`build-models` had no vendored packages, so the previous raw-`uv build`
worked, but routing it through the script keeps the build-target
shape uniform across the three publishable packages.1 parent b4a9a0a commit 35c19fc
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | | - | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
0 commit comments