Skip to content

[codex] upgrade iroh to 1.0 - #894

Merged
i386 merged 1 commit into
mainfrom
codex/upgrade-iroh-1.0
Jun 22, 2026
Merged

[codex] upgrade iroh to 1.0#894
i386 merged 1 commit into
mainfrom
codex/upgrade-iroh-1.0

Conversation

@i386

@i386 i386 commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade direct iroh and iroh-relay pins from 1.0.0-rc.0 to 1.0.0.
  • Align exact ed25519-dalek pins with the version required by iroh 1.0.0.
  • Update the gated relay regression test for the stable iroh-relay AccessControl API and ca_tls_config naming.

Impact

This moves mesh networking dependencies from the iroh 1.0 release candidate to the stable 1.0 line while keeping the existing relay-auth behavior covered by the in-process relay test.

Validation

  • cargo check -p mesh-llm
  • cargo check -p mesh-llm-host-runtime --tests
  • cargo check -p mesh-llm-client --tests
  • cargo check -p mesh-llm-identity --tests
  • cargo check -p xtask
  • cargo fmt --all --check
  • cargo clippy -p mesh-llm --all-targets -- -D warnings
  • cargo clippy -p mesh-llm-host-runtime --all-targets -- -D warnings
  • cargo clippy -p mesh-llm-client --all-targets -- -D warnings
  • cargo clippy -p xtask -- -D warnings

Summary by CodeRabbit

  • Chores
    • Updated core messaging infrastructure dependencies from release candidates to the stable 1.0.0 release version
    • Upgraded cryptographic signature and verification dependencies to release candidate versions across multiple components and development tools
    • Refactored relay API integration to align with updated authentication control and certificate verification implementation patterns

@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c07bd40a-024a-49ee-8400-1f0d05e81e4b

📥 Commits

Reviewing files that changed from the base of the PR and between d872da1 and b540c52.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (8)
  • crates/mesh-client/Cargo.toml
  • crates/mesh-llm-commands/Cargo.toml
  • crates/mesh-llm-host-runtime/Cargo.toml
  • crates/mesh-llm-host-runtime/src/mesh/mod.rs
  • crates/mesh-llm-identity/Cargo.toml
  • crates/mesh-llm-protocol/Cargo.toml
  • crates/mesh-llm-routing/Cargo.toml
  • tools/xtask/Cargo.toml

📝 Walkthrough

Walkthrough

Upgrades iroh from 1.0.0-rc.0 to 1.0.0 and ed25519-dalek from =3.0.0-pre.7 to =3.0.0-rc.0 across six crates and the xtask tool. Adapts the relay end-to-end test helper in mesh-llm-host-runtime to breaking API changes in iroh-relay 1.0.0, replacing AccessConfig variants with the new AccessControl trait and updating TLS configuration.

Changes

iroh 1.0.0 and ed25519-dalek rc.0 upgrade

Layer / File(s) Summary
Dependency version bumps across all crates
crates/mesh-client/Cargo.toml, crates/mesh-llm-commands/Cargo.toml, crates/mesh-llm-host-runtime/Cargo.toml, crates/mesh-llm-identity/Cargo.toml, crates/mesh-llm-protocol/Cargo.toml, crates/mesh-llm-routing/Cargo.toml, tools/xtask/Cargo.toml
iroh bumped from 1.0.0-rc.0 to 1.0.0 in all consuming crates. ed25519-dalek pinned version advanced from =3.0.0-pre.7 to =3.0.0-rc.0 in mesh-client, mesh-llm-host-runtime, mesh-llm-identity, and xtask. Dev-dependency iroh-relay also updated to 1.0.0 in mesh-llm-host-runtime.
Adapt relay E2E tests to iroh-relay 1.0.0 API
crates/mesh-llm-host-runtime/src/mesh/mod.rs
TokenAccess struct implementing iroh_relay::server::AccessControl replaces the old AccessConfig::Restricted boxed-closure approach. TLS override changes from ca_roots_config to ca_tls_config with CaTlsConfig::insecure_skip_verify(). Public relay in the mixed test switches from AccessConfig::Everyone to Arc::new(AllowAll).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title '[codex] upgrade iroh to 1.0' clearly summarizes the main objective of the pull request, which is to upgrade the iroh dependency from 1.0.0-rc.0 to 1.0.0 stable release across multiple crates.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/upgrade-iroh-1.0

Comment @coderabbitai help to get the list of available commands and usage tips.

@i386
i386 marked this pull request as ready for review June 21, 2026 23:11
@i386
i386 requested a review from michaelneale June 21, 2026 23:11

@michaelneale michaelneale left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Great. Nice one. The public relays I may need to ungraded but they tell me I can soon. I expect compatible.

@i386
i386 merged commit f6bb981 into main Jun 22, 2026
41 of 54 checks passed
@i386
i386 deleted the codex/upgrade-iroh-1.0 branch June 22, 2026 00:37
michaelneale added a commit that referenced this pull request Jun 23, 2026
* origin/main:
  update guides for dev loop (#895)
  Add native MTP generation metadata to layer packages (#888)
  upgrade iroh to 1.0 (#894)
  fix(runtime): support relocating shared libs
  Improve LAN direct-path discovery and connection reliability (#853)
  Add GLM chat template fallback in llama (#890)

# Conflicts:
#	crates/mesh-llm-config/src/model/built_in_schema.rs
#	crates/mesh-llm-config/src/validate.rs
#	crates/mesh-llm-host-runtime/src/inference/skippy/deployment.rs
#	crates/mesh-llm-host-runtime/src/inference/skippy/materialization.rs
#	crates/mesh-llm-host-runtime/src/inference/skippy/resolver/speculative.rs
#	crates/mesh-llm-host-runtime/src/inference/skippy/resolver/translation.rs
#	crates/mesh-llm-host-runtime/src/inference/skippy/stage/mod.rs
#	crates/mesh-llm-host-runtime/src/inference/skippy/stage/tests.rs
#	crates/mesh-llm-host-runtime/src/inference/skippy/stage/types.rs
#	crates/mesh-llm-host-runtime/src/mesh/mod.rs
#	crates/mesh-llm-host-runtime/src/mesh/tests.rs
#	crates/mesh-llm-host-runtime/src/runtime/local.rs
#	crates/skippy-protocol/proto/stage.proto
#	crates/skippy-server/src/binary_transport.rs
#	crates/skippy-server/src/frontend.rs
#	crates/skippy-server/src/frontend/embedded_execution.rs
#	crates/skippy-server/src/frontend/embedded_generation.rs
#	crates/skippy-server/src/frontend/generation_flow.rs
#	crates/skippy-server/src/frontend/prefix_cache.rs
#	docs/skippy/CONFIGURATION.md
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