Skip to content

chore(antd): bump ant-core to 0.3.0 (ant-cli-v0.2.10), release v0.11.0 - #200

Merged
Nic-dorman merged 2 commits into
mainfrom
nic/antd-ant-core-0.3.0
Jul 6, 2026
Merged

chore(antd): bump ant-core to 0.3.0 (ant-cli-v0.2.10), release v0.11.0#200
Nic-dorman merged 2 commits into
mainfrom
nic/antd-ant-core-0.3.0

Conversation

@Nic-dorman

@Nic-dorman Nic-dorman commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Repin antd from ant-cli-v0.2.8 (ant-core 0.2.8) to ant-cli-v0.2.10 (ant-core 0.3.0, commit 7255f5b9) and cut antd v0.11.0.

Transitively pulls: ant-protocol 2.2.0 → 2.2.2, saorsa-core 0.26.0 → 0.26.2, saorsa-transport 0.35.0 → 0.35.1.

What's in ant-core 0.3.0

Node/daemon-internal:

  • Disk-based node eviction (evict when disk runs low; retry data-dir deletion on Windows)
  • Node health monitoring
  • --evm-network on node add; removal of unsupported --network-id/--metrics-port

Client / data-path (behavioral — passes cargo check but changes upload outcomes):

  • Chunk-PUT targeting widened past the full close group (put_target_peers, PUT_TARGET_WIDTH = 20) — changes which peers are written/paid and PUT success rates
  • PaymentRequired PUT response now treated as a price-floor decline → client retries at a higher price instead of failing
  • New recoverable error Error::CloseGroupShortfall classified as an application error so dial-churn shortfalls no longer drag the adaptive store limiter down (V2-554). SDK-observable: an upload hitting this now returns a different error string over REST/gRPC
  • Merkle store phase de-waved into one cap-bounded fan-out; store AIMD ramps off the cold-start floor
  • Breaking upstream: removal of the unused UploadEvent::WaveComplete — antd never referenced it

New client API (additive, not yet surfaced):

  • file_download_with_peer_report_from_closest_peers + FileDownloadWithPeerReport/FileChunkPeerReport/FileChunkPeerStatus — per-chunk download peer diagnostics. Candidate for a future daemon/SDK feature; unused by this release.

Impact on this repo

  • No antd source changes — dependency bump only (Cargo.toml tag + version, Cargo.lock).
  • Daemon wire surface unchanged (proto/, openapi.yaml untouched) → the REST/gRPC client SDKs need no regeneration.
  • Because the upload path behavior changed, dev2 verification must include a live upload/download E2E, not just compile + unit tests.
  • ffi/ant-ffi is tracked separately (pre-existing migration debt) and is not part of this daemon release.

Verification

  • cargo check — clean
  • cargo test --bins37 passed / 0 failed
  • Full 16-SDK verification on dev2 (with live E2E) still to run before tagging.

Known CI note

The Security audit job fails on RUSTSEC-2026-0185 (quinn-proto remote memory exhaustion), pulled transitively via saorsa-transport. This is not introduced by this PRquinn-proto 0.11.14 is identical on main; the advisory was newly published and the audit job re-fetches the DB each run, so main is red on it too. Fix tracked separately / folded in below.

Not included

No git tag is pushed by this PR — tagging happens after CI + dev2 verification per the release process.

Repin antd from ant-cli-v0.2.8 (ant-core 0.2.8) to ant-cli-v0.2.10
(ant-core 0.3.0, commit 7255f5b9). Pulls along ant-protocol 2.2.2,
saorsa-core 0.26.2, saorsa-transport 0.35.1.

ant-core 0.3.0 is node/daemon-internal: disk-based node eviction,
node health monitoring, merkle store de-wave, and extended chunk-PUT
fallback past the close group. It also removes the unused
UploadEvent::WaveComplete event (breaking upstream, but antd never
referenced it).

No antd source changes required. Daemon wire surface (proto/openapi)
is unchanged, so the REST/gRPC client SDKs need no regeneration.
cargo check clean; 37/37 unit tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Nic-dorman pushed a commit that referenced this pull request Jul 6, 2026
Bump ant-ffi's ant-core pin from the untagged rev 95a23bee (0.2.9) to the
released tag ant-cli-v0.2.10 (0.3.0), matching antd v0.11.0 (#200) so the
whole SDK ships on one ant-core. ant-protocol stays 2.2.2 (already aligned).

0.3.0 removed `UploadEvent::WaveComplete` — dropped its arm in
map_upload_event; per-chunk `ChunkStored` already carries the running total.

Verified against 0.3.0: build, clippy -D warnings, fmt --check, tests
(4 pass), and UniFFI Swift+Kotlin generation (incl. the merkle surface).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
quinn-proto <0.11.15 is vulnerable to remote memory exhaustion via
unbounded out-of-order stream reassembly (RUSTSEC-2026-0185). Reaches
antd/antd-rust transitively through saorsa-transport -> quinn ->
quinn-proto over a caret range, so the patched 0.11.15 resolves in our
lockfiles without any upstream saorsa-transport change.

Pre-existing on main (both carried 0.11.14); the advisory was newly
published, so the Security audit job started failing on every branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Nic-dorman
Nic-dorman merged commit 3b76641 into main Jul 6, 2026
3 checks 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.

1 participant