Skip to content

Subduction 0.10.0#27

Merged
expede merged 5 commits intomainfrom
updates
Mar 27, 2026
Merged

Subduction 0.10.0#27
expede merged 5 commits intomainfrom
updates

Conversation

@expede
Copy link
Copy Markdown
Member

@expede expede commented Mar 27, 2026

No description provided.

@expede expede changed the title subduction 0.10.0 Subduction 0.10.0 Mar 27, 2026
@expede expede marked this pull request as ready for review March 27, 2026 16:12
Copilot AI review requested due to automatic review settings March 27, 2026 16:12
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

Updates darn to newer Subduction/Sedimentree releases by migrating from the old Connection-based transport API to the new Transport + MessageTransport model, and adapting related type aliases, error types, and call sites.

Changes:

  • Upgrade subduction_* and sedimentree_* crate versions and update imports/types accordingly.
  • Replace DarnConnection’s direct Connection impl with a DarnTransport: Transport, wrapped as MessageTransport<DarnTransport> for Subduction.
  • Update WebSocket/Iroh connection setup and a few structs/tests to match upstream API/schema changes.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
darn_core/src/sync_progress.rs Updates test construction of SyncStats with new required fields.
darn_core/src/subduction.rs Refactors transport abstraction to Transport and introduces MessageTransport-wrapped DarnConnection; updates Subduction builder wiring (timer/handler generics).
darn_core/src/serde_base58.rs Adjusts import paths for handshake/audience types after upstream reorg.
darn_core/src/sedimentree.rs Updates WriteError generic parameters to include SyncMessage and aligns imports.
darn_core/src/peer.rs Updates import path for Audience.
darn_core/src/darn.rs Updates peer connection code to wrap transports with MessageTransport and aligns Iroh/WebSocket API changes.
darn_cli/src/commands.rs Updates global peer connection helper to new WebSocket API and wraps with MessageTransport.
Cargo.toml Bumps Subduction/Sedimentree dependency versions and adjusts feature flags.
Cargo.lock Locks updated transitive dependency graph for the new crate versions.

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

@expede expede merged commit f75dd2d into main Mar 27, 2026
15 checks passed
@expede expede deleted the updates branch March 27, 2026 16:28
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