Skip to content

feat!: depend on bootstrap-cache removal chain#119

Open
mickvandijke wants to merge 3 commits into
mainfrom
codex/remove-bootstrap-cache
Open

feat!: depend on bootstrap-cache removal chain#119
mickvandijke wants to merge 3 commits into
mainfrom
codex/remove-bootstrap-cache

Conversation

@mickvandijke
Copy link
Copy Markdown
Collaborator

Summary

  • point ant-node at the ant-protocol and saorsa-core bootstrap-cache removal branches via git dependencies
  • remove ant-node bootstrap-cache config, CLI flags, and BootstrapManager wiring
  • keep bootstrap peer discovery deterministic when an explicit env-var path is provided

Dependency PRs

Verification

  • cargo fmt --all -- --check
  • cargo check --all-targets --all-features
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --lib --all-features

Base automatically changed from rc-2026.5.4 to main May 28, 2026 14:03
@mickvandijke mickvandijke marked this pull request as ready for review May 28, 2026 21:02
Copilot AI review requested due to automatic review settings May 28, 2026 21:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This breaking PR removes ant-node’s local bootstrap-cache integration to align with upstream saorsa-core/ant-protocol bootstrap-cache removal work, while preserving deterministic bootstrap peer discovery when an explicit env-var path is supplied.

Changes:

  • Switches ant-protocol, saorsa-core, and transitive lockfile entries to bootstrap-cache-removal git branches.
  • Removes bootstrap-cache config, CLI flags, public re-export, BootstrapManager construction, and shutdown stats logging.
  • Refactors bootstrap peer auto-discovery so ANT_BOOTSTRAP_PEERS_PATH acts as an exclusive override.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Cargo.toml Points core protocol dependencies at bootstrap-cache-removal branches.
Cargo.lock Updates locked dependency sources/revisions for the git dependency chain.
src/node.rs Removes BootstrapManager wiring and shutdown cache telemetry.
src/config.rs Removes BootstrapCacheConfig and changes bootstrap peer discovery behavior.
src/lib.rs Removes public BootstrapCacheConfig re-export.
src/bin/ant-node/cli.rs Removes bootstrap-cache CLI options and config mapping.
docs/DESIGN.md Removes stale BootstrapManager references from design documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/lib.rs
XorName,
};
pub use config::{BootstrapCacheConfig, NodeConfig, StorageConfig};
pub use config::{NodeConfig, StorageConfig};
Comment thread src/config.rs
Comment on lines +522 to +523
if let Ok(env_path) = std::env::var(BOOTSTRAP_PEERS_ENV) {
return Self::load_non_empty_candidate(PathBuf::from(env_path));
BREAKING CHANGE: removes ant-node bootstrap-cache config, CLI flags, and manager integration while updating ant-node to the ant-protocol and saorsa-core bootstrap-cache removal branches.
@mickvandijke mickvandijke force-pushed the codex/remove-bootstrap-cache branch from 0387e46 to 265d6a8 Compare May 28, 2026 21:17
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