Skip to content

fix(release): enforce crate dependency order#154

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/release-crate-dependency-order-20260723
Jul 23, 2026
Merged

fix(release): enforce crate dependency order#154
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/release-crate-dependency-order-20260723

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • raise internal A3S Box crate requirements from 3.0 to the actual minimum 3.1 API used by this release
  • wait for each newly published crate to appear in Cargo's sparse index, not only the crates.io HTTP API

Root cause

A publish dry-run for a3s-box-runtime selected a3s-box-core 3.0.10, which lacks APIs introduced in 3.1.0. The release already publishes in dependency order; these minimum requirements make Cargo enforce that order and prevent verification against an incompatible older crate.

Validation

  • cargo metadata --locked --no-deps
  • cargo fmt --all -- --check
  • cargo publish --locked -p a3s-box-core --dry-run --allow-dirty
  • dependent crate package contents were validated before tightening the minimum version
  • cargo info a3s-runtime@0.2.0 --registry crates-io verifies sparse-index visibility
  • release YAML parses and the changed Bash block passes bash -n

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 3bd5c5e into main Jul 23, 2026
13 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/release-crate-dependency-order-20260723 branch July 23, 2026 14:39
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