Skip to content

chore(release): 3.6.1 — fix SDK release build (pin toolchain + refresh locks)#70

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
chore/release-v3.6.1
Jun 14, 2026
Merged

chore(release): 3.6.1 — fix SDK release build (pin toolchain + refresh locks)#70
ZhiXiao-Lin merged 1 commit into
mainfrom
chore/release-v3.6.1

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Release-engineering fix for 3.6.0. No library code changes.

What happened with 3.6.0

Tagging v3.6.0 published a3s-code-core to crates.io ✅, but all native SDK build jobs failed → npm / PyPI / GitHub Release were skipped (still at 3.5.0).

Root cause: brotli 8.0.3 (transitive via tower-http → async-compression, required by the ahp/s3 features) no longer compiles on the newest stable Rust — error[E0277]: StandardAlloc: alloc::Allocator. It built fine for 3.5.0 a week ago; a new stable landed since. Not related to the 3.6.0 feature code. (crates.io's core publish uses default features, which don't pull brotli, so it succeeded.)

Fix

  • Pin the SDK build toolchainpublish-node.yml / publish-python.yml now use dtolnay/rust-toolchain@1.94.1 (and maturin-action rust-toolchain: 1.94.1) instead of @stable — the known-good toolchain that shipped earlier releases.
  • Refresh sdk/{node,python}/Cargo.lock to a3s-code-core 3.6.1 (they were stale at 3.5.0, which forced a dep re-resolution that pulled a duplicate alloc-no-stdlib 3.0.0). Locks now resolve cleanly: brotli 8.0.3, single alloc-no-stdlib.
  • Bump version surface 3.6.0 → 3.6.1.

Verification

  • Local cargo check on both SDK manifests compiles on rustc 1.94.1 (the pinned CI version, with ahp+s3 → brotli) — this is the build CI will now run.
  • cargo fmt --all -- --check ✅ · cargo clippy --workspace --lib --bins -- -D warnings ✅ · check-version.sh 3.6.1

Merging this then tagging v3.6.1 re-runs the release; the SDK builds should now pass and ship npm/PyPI/GH. crates.io will gain a3s-code-core 3.6.1 (3.6.0 stays as a core-only release).

3.6.0 published a3s-code-core to crates.io but the native SDK builds failed:
brotli 8.0.3 (transitive via tower-http under ahp/s3) no longer compiles on the
newest stable Rust, so npm/PyPI/GH Release were skipped. This ships them.

- Pin publish-{node,python}.yml to dtolnay/rust-toolchain@1.94.1 + maturin-action
  rust-toolchain: 1.94.1 (known-good; matches earlier releases)
- Refresh sdk/{node,python}/Cargo.lock to a3s-code-core 3.6.1 (were stale at
  3.5.0, forcing a dep re-resolution that pulled a duplicate alloc-no-stdlib)
- Bump version surface 3.6.0 -> 3.6.1
- Verified locally: cargo check on both SDK manifests compiles on rustc 1.94.1
@ZhiXiao-Lin ZhiXiao-Lin merged commit be53f84 into main Jun 14, 2026
1 check passed
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.

2 participants