Skip to content

fix(studio): preserve locked wheel bytes in thin releases - #1122

Open
zyn080302 wants to merge 4 commits into
volcengine:mainfrom
zyn080302:fix/studio-release-locked-wheels-20260917
Open

zyn080302 wants to merge 4 commits into
volcengine:mainfrom
zyn080302:fix/studio-release-locked-wheels-20260917

Conversation

@zyn080302

@zyn080302 zyn080302 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Studio thin releases fail when cold-start precompilation rewrites third-party wheels: agentkit-sdk-python no longer matches the original bytes recorded in uv.lock. Preserve a separate wheel snapshot before optimization. Full bundles retain precompilation; thin bundles use the locked third-party wheels and precompile local VeADK. Each bundle validates its own dependency hashes, and public artifact provenance remains strict.

Release verification now calls the Release Server publisher to build full and thin bundles. Smoke tests explicitly reuse the selected full archive for both providers, so directory ordering cannot select a provider-specific thin archive. Regressions exercise actual precompilation/provenance checks, reject tampered wheels, and execute the workflow extraction logic with the thin archive ordered first. They run in the mandatory release gates.

The Sidecar gate installs its locked dev environment with cached uv and runs all four check groups from that environment. This removes pip resolution and installation overhead that exhausted the three-minute job budget. Lockfile changes trigger the gate and invalidate its dependency cache; the time limit, tests, coverage threshold, and failure propagation remain enforced.

Validation: RED/GREEN regressions cover wheel provenance, smoke archive selection, and the workflow's frozen environment and failure propagation. The full backend gate passed locally (271 tests, 96% Sidecar coverage). Pre-commit, changed-file Pyright, workflow shell syntax, and diff checks passed. CI covers full Python 3.10/3.12 tests, full/thin builds, and both provider smoke tests.

Rollout order: merge this PR, update the Release Server, then start a new release. Its builder executes the installed publisher, so merging this PR alone does not activate the fix.

@zyn080302
zyn080302 force-pushed the fix/studio-release-locked-wheels-20260917 branch from d5fb434 to 7cbcff8 Compare September 17, 2026 03:01
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.

1 participant