Skip to content

refactor(transfer example): Remove SelectedPath::Mixed as an impossible state#3895

Merged
ramfox merged 1 commit intomainfrom
matheus23/ex-transfer-conn-type
Feb 18, 2026
Merged

refactor(transfer example): Remove SelectedPath::Mixed as an impossible state#3895
ramfox merged 1 commit intomainfrom
matheus23/ex-transfer-conn-type

Conversation

@matheus23
Copy link
Copy Markdown
Member

@matheus23 matheus23 commented Jan 28, 2026

Description

There should never be a situation where multiple paths are selected, that's impossible from the way RemoteStateActor works.

This updates the example so that SelectedPath::Mixed is removed.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 28, 2026

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3895/docs/iroh/

Last updated: 2026-02-18T09:35:56Z

@n0bot n0bot bot added this to iroh Jan 28, 2026
@github-project-automation github-project-automation bot moved this to 🚑 Needs Triage in iroh Jan 28, 2026
@dignifiedquire dignifiedquire moved this from 🚑 Needs Triage to 🏗 In progress in iroh Feb 3, 2026
@matheus23 matheus23 force-pushed the matheus23/ex-transfer-conn-type branch from d6a2ce3 to bc2450d Compare February 18, 2026 09:33
@matheus23 matheus23 changed the title refactor(transfer example): Always expect one path to be the selected path refactor(transfer example): Remove SelectedPath::Mixed as an impossible state Feb 18, 2026
Copy link
Copy Markdown
Member

@Frando Frando left a comment

Choose a reason for hiding this comment

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

LGTM.

@matheus23 matheus23 enabled auto-merge February 18, 2026 14:34
@ramfox ramfox disabled auto-merge February 18, 2026 15:34
@ramfox ramfox merged commit 9cc8602 into main Feb 18, 2026
30 of 32 checks passed
@ramfox ramfox deleted the matheus23/ex-transfer-conn-type branch February 18, 2026 15:34
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

5 participants