mirror of
https://github.com/hanzoai/ci.git
synced 2026-11-23 09:20:09 +00:00
`hanzo-tools-fs-v0.3.5` publishes one wheel, built from pkg/hanzo-tools-fs. The publish job refused it because the client step's check found pkg/hanzoai/cloud drifted from production, so a release that does not contain the client sat off PyPI behind it (hanzo-inc/cloud#758). The client step now asks `onlypkg` first. It prints the pypi: directory a `name-v1.2.3` / `name-1.2.3` / `[email protected]` tag selects, read with the PyPI lane's own expression, when that project is not the client's. The client's project is the directory of the file `client.version:` names, or the root. A `v*` tag, the client's own tag, a branch push, a dispatch and a tag that selects nothing still make the check. The `test:` gates still run. Testing: bash bin/onlypkg_test.sh, 22 cases offline: 17 ask onlypkg about tags, 5 run the whole client step over a drifted projection (package tag passes with no generator and no network; v*, hanzoai-v* and a branch push refuse with DRIFTED; v* over a clean client passes). Two mutations of the skip each fail it. Risk: a one-package tag publishes over a drifted client. Its wheel does not contain the client, and the `alone` install-and-import still runs before upload. How to revert: git revert this commit; package tags are then refused on client drift again. Co-Authored-By: Claude Opus 5.5 <[email protected]>